Searched refs:finalPosition (Results 1 – 3 of 3) sorted by relevance
105 float finalPosition) { in SpringAnimation() argument107 mSpring = new SpringForce(finalPosition); in SpringAnimation()151 public void animateToFinalPosition(float finalPosition) { in animateToFinalPosition() argument153 mPendingPosition = finalPosition; in animateToFinalPosition()156 mSpring = new SpringForce(finalPosition); in animateToFinalPosition()158 mSpring.setFinalPosition(finalPosition); in animateToFinalPosition()201 double finalPosition = mSpring.getFinalPosition(); in sanityCheck() local202 if (finalPosition > mMaxValue) { in sanityCheck()205 } else if (finalPosition < mMinValue) { in sanityCheck()
122 public SpringForce(float finalPosition) { in SpringForce() argument123 mFinalPosition = finalPosition; in SpringForce()195 public SpringForce setFinalPosition(float finalPosition) { in setFinalPosition() argument196 mFinalPosition = finalPosition; in setFinalPosition()
523 final float finalPosition = 10f; in testSkipToEnd() local525 finalPosition); in testSkipToEnd()545 verify(mockListener, timeout(100).times(1)).onAnimationEnd(anim, false, finalPosition, 0); in testSkipToEnd()554 anim.animateToFinalPosition(finalPosition + 1000f); in testSkipToEnd()563 finalPosition + 1000f, 0); in testSkipToEnd()