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.java115 Animator anim2 = AnimatorInflater .loadAnimator(mActivity, R.anim.changing_test_animator); in testLoadAnimatorWithDifferentInterpolators() local
116 assertNotSame(anim1, anim2); in testLoadAnimatorWithDifferentInterpolators()
118 anim1.getInterpolator(), anim2.getInterpolator()); in testLoadAnimatorWithDifferentInterpolators()
128 Animator anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() local
129 assertNotSame("a different animation should be returned", anim1, anim2); in testLoadAnimator()
131 anim2.getInterpolator()); in testLoadAnimator()
138 for (Animator anim : new Animator[]{anim1, anim2}) { in testLoadAnimator()
167 anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator()
307 Animator anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testReloadedAnimatorIsNotModified() local
309 assertFalse(anim2.isStarted()); in testReloadedAnimatorIsNotModified()
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DPropertyValuesHolderTest.java566 final ValueAnimator anim2 = ValueAnimator.ofPropertyValuesHolder(pvh2); in testOfObject_Converter() local
567 anim2.setDuration(100); in testOfObject_Converter()
568 anim2.setInterpolator(null); in testOfObject_Converter()
569 anim2.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
606 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f); in testOfObject_Converter()
609 PointF position = (PointF) anim2.getAnimatedValue(); in testOfObject_Converter()
634 anim2.start(); in testOfObject_Converter()
669 final ValueAnimator anim2 = ValueAnimator.ofFloat(0f, 1f); in testSetConverter() local
670 anim2.setInterpolator(null); in testSetConverter()
671 anim2.addUpdateListener((ValueAnimator animation) -> { in testSetConverter()
[all …]
DObjectAnimatorTest.java782 final ObjectAnimator anim2 = ObjectAnimator.ofObject(target2, "position", null, path); in testOfObject_Converter() local
783 anim2.setDuration(100); in testOfObject_Converter()
784 anim2.setInterpolator(null); in testOfObject_Converter()
785 anim2.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
791 anim2.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in testOfObject_Converter()
799 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f); in testOfObject_Converter()
801 PointF position = (PointF) anim2.getAnimatedValue(); in testOfObject_Converter()
823 anim2.start(); in testOfObject_Converter()
865 final ObjectAnimator anim2 = ObjectAnimator.ofFloat(target, AnimTarget.TEST_VALUE, 0); in testSetStartEndValues() local
868 anim2.setupStartValues(); in testSetStartEndValues()
[all …]
DAnimatorSetTest.java118 ValueAnimator anim2 = ValueAnimator.ofInt(0, 100); in testPlaySequentially() local
120 anim2.setDuration(50); in testPlaySequentially()
122 set.playSequentially(anim1, anim2); in testPlaySequentially()
123 verifySequentialPlayOrder(set, new Animator[] {anim1, anim2}); in testPlaySequentially()
232 ValueAnimator anim2 = ValueAnimator.ofFloat(10f, 100f); in testPlayTogether() local
234 set.playTogether(anim1, anim2); in testPlayTogether()
238 assertFalse(anim2.isRunning()); in testPlayTogether()
243 assertTrue(anim2.isRunning()); in testPlayTogether()