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.java588 final ValueAnimator anim3 = ValueAnimator.ofPropertyValuesHolder(pvh3); in testOfObject_Converter() local
589 anim3.setDuration(100); in testOfObject_Converter()
590 anim3.setInterpolator(null); in testOfObject_Converter()
591 anim3.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
598 anim3.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in testOfObject_Converter()
607 assertEquals(fraction, anim3.getAnimatedFraction(), 0.0f); in testOfObject_Converter()
610 PointF positionReverseSign = (PointF) anim3.getAnimatedValue(); in testOfObject_Converter()
635 anim3.start(); in testOfObject_Converter()
DObjectAnimatorTest.java883 final ObjectAnimator anim3 = ObjectAnimator.ofFloat(target, in testSetStartEndValues() local
887 anim3.setupStartValues(); in testSetStartEndValues()
890 anim3.setupEndValues(); in testSetStartEndValues()
892 anim3.start(); in testSetStartEndValues()
893 assertEquals(startValueExpected3, (float) anim3.getAnimatedValue(), 0.0f); in testSetStartEndValues()
894 anim3.setCurrentFraction(1); in testSetStartEndValues()
895 assertEquals(endValueExpected3, (float) anim3.getAnimatedValue(), 0.0f); in testSetStartEndValues()
896 anim3.cancel(); in testSetStartEndValues()