Searched refs:anim2 (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimatorInflaterTest.java | 99 Animator anim2 = AnimatorInflater .loadAnimator(mActivity, R.anim.changing_test_animator); in testLoadAnimatorWithDifferentInterpolators() local 100 assertNotSame(anim1, anim2); in testLoadAnimatorWithDifferentInterpolators() 102 anim1.getInterpolator(), anim2.getInterpolator()); in testLoadAnimatorWithDifferentInterpolators() 112 Animator anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() local 113 assertNotSame("a different animation should be returned", anim1, anim2); in testLoadAnimator() 115 anim2.getInterpolator()); in testLoadAnimator() 122 for (Animator anim : new Animator[]{anim1, anim2}) { in testLoadAnimator() 151 anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() 290 Animator anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testReloadedAnimatorIsNotModified() local 292 assertFalse(anim2.isStarted()); in testReloadedAnimatorIsNotModified() [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | PropertyValuesHolderTest.java | 551 final ValueAnimator anim2 = ValueAnimator.ofPropertyValuesHolder(pvh2); in testOfObject_Converter() local 552 anim2.setDuration(100); in testOfObject_Converter() 553 anim2.setInterpolator(null); in testOfObject_Converter() 554 anim2.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter() 591 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f); in testOfObject_Converter() 594 PointF position = (PointF) anim2.getAnimatedValue(); in testOfObject_Converter() 619 anim2.start(); in testOfObject_Converter() 654 final ValueAnimator anim2 = ValueAnimator.ofFloat(0f, 1f); in testSetConverter() local 655 anim2.setInterpolator(null); in testSetConverter() 656 anim2.addUpdateListener((ValueAnimator animation) -> { in testSetConverter() [all …]
|
D | ObjectAnimatorTest.java | 728 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() 812 final ObjectAnimator anim2 = ObjectAnimator.ofFloat(target, AnimTarget.TEST_VALUE, 0); in testSetStartEndValues() local 815 anim2.setupStartValues(); in testSetStartEndValues() [all …]
|
D | AnimatorSetTest.java | 107 ValueAnimator anim2 = ValueAnimator.ofInt(0, 100); in testPlaySequentially() local 109 anim2.setDuration(50); in testPlaySequentially() 111 set.playSequentially(anim1, anim2); in testPlaySequentially() 112 verifySequentialPlayOrder(set, new Animator[] {anim1, anim2}); in testPlaySequentially() 221 ValueAnimator anim2 = ValueAnimator.ofFloat(10f, 100f); in testPlayTogether() local 223 set.playTogether(anim1, anim2); in testPlayTogether() 227 assertFalse(anim2.isRunning()); in testPlayTogether() 232 assertTrue(anim2.isRunning()); in testPlayTogether()
|