Searched refs:anim1 (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimatorInflaterTest.java | 96 Animator anim1 = AnimatorInflater .loadAnimator(mActivity, R.anim.changing_test_animator); in testLoadAnimatorWithDifferentInterpolators() local 101 assertNotSame(anim1, anim2); in testLoadAnimatorWithDifferentInterpolators() 103 anim1.getInterpolator(), anim2.getInterpolator()); in testLoadAnimatorWithDifferentInterpolators() 112 Animator anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() local 114 assertNotSame("a different animation should be returned", anim1, anim2); in testLoadAnimator() 115 assertSame("interpolator should be shallow cloned", anim1.getInterpolator(), in testLoadAnimator() 123 for (Animator anim : new Animator[]{anim1, anim2}) { in testLoadAnimator() 151 anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testLoadAnimator() 272 final Animator anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); in testReloadedAnimatorIsNotModified() local 287 anim1.setTarget(mTestView); in testReloadedAnimatorIsNotModified() [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | PropertyValuesHolderTest.java | 540 final ValueAnimator anim1 = ValueAnimator.ofPropertyValuesHolder(pvh1); in testOfObject_Converter() local 541 anim1.setDuration(100); in testOfObject_Converter() 542 anim1.setInterpolator(null); in testOfObject_Converter() 543 anim1.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter() 591 float fraction = anim1.getAnimatedFraction(); in testOfObject_Converter() 594 float distance = (Float) anim1.getAnimatedValue(); in testOfObject_Converter() 619 anim1.start(); in testOfObject_Converter() 645 final ValueAnimator anim1 = ValueAnimator.ofPropertyValuesHolder(pvh); in testSetConverter() local 646 anim1.setInterpolator(null); in testSetConverter() 647 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() 797 final ObjectAnimator anim1 = ObjectAnimator.ofFloat(target, "testValue", 0); in testSetStartEndValues() local 799 anim1.setupStartValues(); in testSetStartEndValues() 801 anim1.setupEndValues(); in testSetStartEndValues() [all …]
|
D | AnimatorSetTest.java | 107 ValueAnimator anim1 = ValueAnimator.ofFloat(0f, 1f); in testPlaySequentially() local 109 anim1.setDuration(50); in testPlaySequentially() 112 set.playSequentially(anim1, anim2); in testPlaySequentially() 113 verifySequentialPlayOrder(set, new Animator[] {anim1, anim2}); in testPlaySequentially() 221 ValueAnimator anim1 = ValueAnimator.ofFloat(0f, 100f); in testPlayTogether() local 224 set.playTogether(anim1, anim2); in testPlayTogether() 227 assertFalse(anim1.isRunning()); in testPlayTogether() 232 assertTrue(anim1.isRunning()); in testPlayTogether()
|