Home
last modified time | relevance | path

Searched refs:anim2 (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java100 Animator anim2 = AnimatorInflater .loadAnimator(mActivity, R.anim.changing_test_animator); in testLoadAnimatorWithDifferentInterpolators() local
101 assertNotSame(anim1, anim2); in testLoadAnimatorWithDifferentInterpolators()
103 anim1.getInterpolator(), anim2.getInterpolator()); in testLoadAnimatorWithDifferentInterpolators()
113 Animator anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() local
114 assertNotSame("a different animation should be returned", anim1, anim2); in testLoadAnimator()
116 anim2.getInterpolator()); in testLoadAnimator()
123 for (Animator anim : new Animator[]{anim1, anim2}) { in testLoadAnimator()
152 anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator()
291 Animator anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testReloadedAnimatorIsNotModified() local
293 assertFalse(anim2.isStarted()); in testReloadedAnimatorIsNotModified()
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DPropertyValuesHolderTest.java552 final ValueAnimator anim2 = ValueAnimator.ofPropertyValuesHolder(pvh2); in testOfObject_Converter() local
553 anim2.setDuration(100); in testOfObject_Converter()
554 anim2.setInterpolator(null); in testOfObject_Converter()
555 anim2.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
592 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f); in testOfObject_Converter()
595 PointF position = (PointF) anim2.getAnimatedValue(); in testOfObject_Converter()
620 anim2.start(); in testOfObject_Converter()
655 final ValueAnimator anim2 = ValueAnimator.ofFloat(0f, 1f); in testSetConverter() local
656 anim2.setInterpolator(null); in testSetConverter()
657 anim2.addUpdateListener((ValueAnimator animation) -> { in testSetConverter()
[all …]
DObjectAnimatorTest.java728 final ObjectAnimator anim2 = ObjectAnimator.ofObject(target2, "position", null, path); in testOfObject_Converter() local
729 anim2.setDuration(100); in testOfObject_Converter()
730 anim2.setInterpolator(null); in testOfObject_Converter()
731 anim2.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
737 anim2.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in testOfObject_Converter()
745 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f); in testOfObject_Converter()
747 PointF position = (PointF) anim2.getAnimatedValue(); in testOfObject_Converter()
769 anim2.start(); in testOfObject_Converter()
811 final ObjectAnimator anim2 = ObjectAnimator.ofFloat(target, AnimTarget.TEST_VALUE, 0); in testSetStartEndValues() local
814 anim2.setupStartValues(); in testSetStartEndValues()
[all …]
DAnimatorSetTest.java108 ValueAnimator anim2 = ValueAnimator.ofInt(0, 100); in testPlaySequentially() local
110 anim2.setDuration(50); in testPlaySequentially()
112 set.playSequentially(anim1, anim2); in testPlaySequentially()
113 verifySequentialPlayOrder(set, new Animator[] {anim1, anim2}); in testPlaySequentially()
222 ValueAnimator anim2 = ValueAnimator.ofFloat(10f, 100f); in testPlayTogether() local
224 set.playTogether(anim1, anim2); in testPlayTogether()
228 assertFalse(anim2.isRunning()); in testPlayTogether()
233 assertTrue(anim2.isRunning()); in testPlayTogether()