Searched refs:anim1 (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimatorInflaterTest.java | 95 Animator anim1 = AnimatorInflater .loadAnimator(mActivity, R.anim.changing_test_animator); in testLoadAnimatorWithDifferentInterpolators() local 100 assertNotSame(anim1, anim2); in testLoadAnimatorWithDifferentInterpolators() 102 anim1.getInterpolator(), anim2.getInterpolator()); in testLoadAnimatorWithDifferentInterpolators() 111 Animator anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() local 113 assertNotSame("a different animation should be returned", anim1, anim2); in testLoadAnimator() 114 assertSame("interpolator should be shallow cloned", anim1.getInterpolator(), in testLoadAnimator() 122 for (Animator anim : new Animator[]{anim1, anim2}) { in testLoadAnimator() 150 anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() 271 final Animator anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testReloadedAnimatorIsNotModified() local 286 anim1.setTarget(mTestView); in testReloadedAnimatorIsNotModified() [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | PropertyValuesHolderTest.java | 539 final ValueAnimator anim1 = ValueAnimator.ofPropertyValuesHolder(pvh1); in testOfObject_Converter() local 540 anim1.setDuration(100); in testOfObject_Converter() 541 anim1.setInterpolator(null); in testOfObject_Converter() 542 anim1.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter() 590 float fraction = anim1.getAnimatedFraction(); in testOfObject_Converter() 593 float distance = (Float) anim1.getAnimatedValue(); in testOfObject_Converter() 618 anim1.start(); in testOfObject_Converter() 644 final ValueAnimator anim1 = ValueAnimator.ofPropertyValuesHolder(pvh); in testSetConverter() local 645 anim1.setInterpolator(null); in testSetConverter() 646 anim1.setDuration(100); in testSetConverter() [all …]
|
D | ObjectAnimatorTest.java | 718 final ObjectAnimator anim1 = ObjectAnimator.ofObject(target1, "distance", converter, path); in testOfObject_Converter() local 719 anim1.setDuration(100); in testOfObject_Converter() 720 anim1.setInterpolator(null); in testOfObject_Converter() 721 anim1.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter() 744 float fraction = anim1.getAnimatedFraction(); in testOfObject_Converter() 746 float distance = (Float) anim1.getAnimatedValue(); in testOfObject_Converter() 768 anim1.start(); in testOfObject_Converter() 798 final ObjectAnimator anim1 = ObjectAnimator.ofFloat(target, "testValue", 0); in testSetStartEndValues() local 800 anim1.setupStartValues(); in testSetStartEndValues() 802 anim1.setupEndValues(); in testSetStartEndValues() [all …]
|
D | AnimatorSetTest.java | 106 ValueAnimator anim1 = ValueAnimator.ofFloat(0f, 1f); in testPlaySequentially() local 108 anim1.setDuration(50); in testPlaySequentially() 111 set.playSequentially(anim1, anim2); in testPlaySequentially() 112 verifySequentialPlayOrder(set, new Animator[] {anim1, anim2}); in testPlaySequentially() 220 ValueAnimator anim1 = ValueAnimator.ofFloat(0f, 100f); in testPlayTogether() local 223 set.playTogether(anim1, anim2); in testPlayTogether() 226 assertFalse(anim1.isRunning()); in testPlayTogether() 231 assertTrue(anim1.isRunning()); in testPlayTogether()
|