Home
last modified time | relevance | path

Searched refs:anim3 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/animation/src/android/animation/cts/
DPropertyValuesHolderTest.java574 final ValueAnimator anim3 = ValueAnimator.ofPropertyValuesHolder(pvh3); in testOfObject_Converter() local
575 anim3.setDuration(100); in testOfObject_Converter()
576 anim3.setInterpolator(null); in testOfObject_Converter()
577 anim3.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
584 anim3.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in testOfObject_Converter()
593 assertEquals(fraction, anim3.getAnimatedFraction(), 0.0f); in testOfObject_Converter()
596 PointF positionReverseSign = (PointF) anim3.getAnimatedValue(); in testOfObject_Converter()
621 anim3.start(); in testOfObject_Converter()
DObjectAnimatorTest.java829 final ObjectAnimator anim3 = ObjectAnimator.ofFloat(target, in testSetStartEndValues() local
833 anim3.setupStartValues(); in testSetStartEndValues()
836 anim3.setupEndValues(); in testSetStartEndValues()
838 anim3.start(); in testSetStartEndValues()
839 assertEquals(startValueExpected3, (float) anim3.getAnimatedValue(), 0.0f); in testSetStartEndValues()
840 anim3.setCurrentFraction(1); in testSetStartEndValues()
841 assertEquals(endValueExpected3, (float) anim3.getAnimatedValue(), 0.0f); in testSetStartEndValues()
842 anim3.cancel(); in testSetStartEndValues()