/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimatorInflaterTest.java | 100 Animator anim2 = AnimatorInflater .loadAnimator(mActivity, R.anim.changing_test_animator); local 101 assertNotSame(anim1, anim2); 103 anim1.getInterpolator(), anim2.getInterpolator()); 113 Animator anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); local 114 assertNotSame("a different animation should be returned", anim1, anim2); 116 anim2.getInterpolator()); 123 for (Animator anim : new Animator[]{anim1, anim2}) { 152 anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); 291 Animator anim2 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); local 293 assertFalse(anim2.isStarted()) [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
PropertyValuesHolderTest.java | 552 final ValueAnimator anim2 = ValueAnimator.ofPropertyValuesHolder(pvh2); local 553 anim2.setDuration(100); 554 anim2.setInterpolator(null); 555 anim2.addListener(new AnimatorListenerAdapter() { 592 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f); 595 PointF position = (PointF) anim2.getAnimatedValue(); 620 anim2.start(); 655 final ValueAnimator anim2 = ValueAnimator.ofFloat(0f, 1f); local 656 anim2.setInterpolator(null); 657 anim2.addUpdateListener((ValueAnimator animation) -> [all...] |
ObjectAnimatorTest.java | 728 final ObjectAnimator anim2 = ObjectAnimator.ofObject(target2, "position", null, path); local 729 anim2.setDuration(100); 730 anim2.setInterpolator(null); 731 anim2.addListener(new AnimatorListenerAdapter() { 737 anim2.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 745 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f); 747 PointF position = (PointF) anim2.getAnimatedValue(); 769 anim2.start(); 811 final ObjectAnimator anim2 = ObjectAnimator.ofFloat(target, AnimTarget.TEST_VALUE, 0); local [all...] |
AnimatorSetTest.java | 108 ValueAnimator anim2 = ValueAnimator.ofInt(0, 100); local 110 anim2.setDuration(50); 112 set.playSequentially(anim1, anim2); 113 verifySequentialPlayOrder(set, new Animator[] {anim1, anim2}); 222 ValueAnimator anim2 = ValueAnimator.ofFloat(10f, 100f); local 224 set.playTogether(anim1, anim2); 228 assertFalse(anim2.isRunning()); 233 assertTrue(anim2.isRunning()); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationCloning.java | 82 ObjectAnimator anim2 = anim1.clone(); local 83 anim2.setTarget(balls.get(1)); 101 animation.playTogether(anim1, anim2, s1);
|