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