Searched refs:anim1 (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimatorInflaterTest.java | 111 Animator anim1 = AnimatorInflater .loadAnimator(mActivity, R.anim.changing_test_animator); in testLoadAnimatorWithDifferentInterpolators() local 116 assertNotSame(anim1, anim2); in testLoadAnimatorWithDifferentInterpolators() 118 anim1.getInterpolator(), anim2.getInterpolator()); in testLoadAnimatorWithDifferentInterpolators() 127 Animator anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() local 129 assertNotSame("a different animation should be returned", anim1, anim2); in testLoadAnimator() 130 assertSame("interpolator should be shallow cloned", anim1.getInterpolator(), in testLoadAnimator() 138 for (Animator anim : new Animator[]{anim1, anim2}) { in testLoadAnimator() 166 anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() 288 final Animator anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testReloadedAnimatorIsNotModified() local 303 anim1.setTarget(mTestView); in testReloadedAnimatorIsNotModified() [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | PropertyValuesHolderTest.java | 554 final ValueAnimator anim1 = ValueAnimator.ofPropertyValuesHolder(pvh1); in testOfObject_Converter() local 555 anim1.setDuration(100); in testOfObject_Converter() 556 anim1.setInterpolator(null); in testOfObject_Converter() 557 anim1.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter() 605 float fraction = anim1.getAnimatedFraction(); in testOfObject_Converter() 608 float distance = (Float) anim1.getAnimatedValue(); in testOfObject_Converter() 633 anim1.start(); in testOfObject_Converter() 659 final ValueAnimator anim1 = ValueAnimator.ofPropertyValuesHolder(pvh); in testSetConverter() local 660 anim1.setInterpolator(null); in testSetConverter() 661 anim1.setDuration(100); in testSetConverter() [all …]
|
D | ObjectAnimatorTest.java | 772 final ObjectAnimator anim1 = ObjectAnimator.ofObject(target1, "distance", converter, path); in testOfObject_Converter() local 773 anim1.setDuration(100); in testOfObject_Converter() 774 anim1.setInterpolator(null); in testOfObject_Converter() 775 anim1.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter() 798 float fraction = anim1.getAnimatedFraction(); in testOfObject_Converter() 800 float distance = (Float) anim1.getAnimatedValue(); in testOfObject_Converter() 822 anim1.start(); in testOfObject_Converter() 851 final ObjectAnimator anim1 = ObjectAnimator.ofFloat(target, "testValue", 0); in testSetStartEndValues() local 853 anim1.setupStartValues(); in testSetStartEndValues() 855 anim1.setupEndValues(); in testSetStartEndValues() [all …]
|
D | AnimatorSetTest.java | 117 ValueAnimator anim1 = ValueAnimator.ofFloat(0f, 1f); in testPlaySequentially() local 119 anim1.setDuration(50); in testPlaySequentially() 122 set.playSequentially(anim1, anim2); in testPlaySequentially() 123 verifySequentialPlayOrder(set, new Animator[] {anim1, anim2}); in testPlaySequentially() 231 ValueAnimator anim1 = ValueAnimator.ofFloat(0f, 100f); in testPlayTogether() local 234 set.playTogether(anim1, anim2); in testPlayTogether() 237 assertFalse(anim1.isRunning()); in testPlayTogether() 242 assertTrue(anim1.isRunning()); in testPlayTogether()
|