private int getTrackOffset(int offset) {
    if (!isTrackExpandable()) return offset;
    float value = myAnimationBehavior == null ? 0 :myAnimationBehavior.getTrackFrame();
    if (value <= 0) return offset;
    if (value >= 1) return 0;
    return (int)(.5f + offset * (1 - value));
  }
private int getTrackOffset(int offset)