/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimatorInflaterTest.java | 96 Animator anim1 = AnimatorInflater .loadAnimator(mActivity, R.anim.changing_test_animator); local 101 assertNotSame(anim1, anim2); 103 anim1.getInterpolator(), anim2.getInterpolator()); 112 Animator anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); local 114 assertNotSame("a different animation should be returned", anim1, anim2); 115 assertSame("interpolator should be shallow cloned", anim1.getInterpolator(), 123 for (Animator anim : new Animator[]{anim1, anim2}) { 151 anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); 272 final Animator anim1 = AnimatorInflater.loadAnimator(mActivity, R.anim.test_animator); local 287 anim1.setTarget(mTestView) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationCloning.java | 80 ObjectAnimator anim1 = ObjectAnimator.ofFloat(balls.get(0), "y", local 82 ObjectAnimator anim2 = anim1.clone(); 84 anim1.addUpdateListener(this); 101 animation.playTogether(anim1, anim2, s1);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
PropertyValuesHolderTest.java | 540 final ValueAnimator anim1 = ValueAnimator.ofPropertyValuesHolder(pvh1); local 541 anim1.setDuration(100); 542 anim1.setInterpolator(null); 543 anim1.addListener(new AnimatorListenerAdapter() { 591 float fraction = anim1.getAnimatedFraction(); 594 float distance = (Float) anim1.getAnimatedValue(); 619 anim1.start(); 645 final ValueAnimator anim1 = ValueAnimator.ofPropertyValuesHolder(pvh); local 646 anim1.setInterpolator(null); 647 anim1.setDuration(100) [all...] |
ObjectAnimatorTest.java | 718 final ObjectAnimator anim1 = ObjectAnimator.ofObject(target1, "distance", converter, path); local 719 anim1.setDuration(100); 720 anim1.setInterpolator(null); 721 anim1.addListener(new AnimatorListenerAdapter() { 744 float fraction = anim1.getAnimatedFraction(); 746 float distance = (Float) anim1.getAnimatedValue(); 768 anim1.start(); 797 final ObjectAnimator anim1 = ObjectAnimator.ofFloat(target, "testValue", 0); local [all...] |
AnimatorSetTest.java | 107 ValueAnimator anim1 = ValueAnimator.ofFloat(0f, 1f); local 109 anim1.setDuration(50); 112 set.playSequentially(anim1, anim2); 113 verifySequentialPlayOrder(set, new Animator[] {anim1, anim2}); 221 ValueAnimator anim1 = ValueAnimator.ofFloat(0f, 100f); local 224 set.playTogether(anim1, anim2); 227 assertFalse(anim1.isRunning()); 232 assertTrue(anim1.isRunning()); [all...] |