/cts/tests/tests/animation/src/android/animation/cts/ |
D | CreationTest.java | 55 ValueAnimator animator = ValueAnimator.ofFloat(0, 1); in testValueAnimatorCreation() local 56 verifyValues(animator, 0, 1); in testValueAnimatorCreation() 62 ValueAnimator animator = (ValueAnimator) in testValueAnimatorResourceCreation() local 63 AnimatorInflater.loadAnimator(mActivity, R.animator.value_animator); in testValueAnimatorResourceCreation() 64 verifyValues(animator, 0, 1); in testValueAnimatorResourceCreation() 70 ValueAnimator animator = (ValueAnimator) in testValueAnimatorPvh1() local 71 AnimatorInflater.loadAnimator(mActivity, R.animator.value_animator_pvh1); in testValueAnimatorPvh1() 72 verifyValues(animator, 0, 1); in testValueAnimatorPvh1() 78 ValueAnimator animator = (ValueAnimator) in testValueAnimatorPvh2() local 79 AnimatorInflater.loadAnimator(mActivity, R.animator.value_animator_pvh2); in testValueAnimatorPvh2() [all …]
|
D | AnimatorTest.java | 137 Animator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd() local 138 animator.setDuration(mDuration); in testEnd() 139 ((ObjectAnimator)animator).setRepeatCount(ValueAnimator.INFINITE); in testEnd() 140 animator.setInterpolator(new AccelerateInterpolator()); in testEnd() 141 ((ObjectAnimator)animator).setRepeatMode(ValueAnimator.REVERSE); in testEnd() 142 startAnimation(animator); in testEnd() 144 endAnimation(animator); in testEnd() 209 final ObjectAnimator animator = ObjectAnimator.ofFloat(object, "y", 0, 100); in testNullObjectAnimator() local 211 animator.addListener(listener); in testNullObjectAnimator() 213 startAnimation(animator); in testNullObjectAnimator() [all …]
|
D | ValueAnimatorTest.java | 604 ValueAnimator animator = ValueAnimator.ofFloat(0, 1); 605 animator.setInterpolator(new LinearInterpolator()); 606 animator.setStartDelay(1000); 607 animator.setDuration(300); 608 animator.setCurrentPlayTime(150); 610 animator.addListener(watcher); 611 mActivityRule.runOnUiThread(animator::start); 612 verify(watcher, times(1)).onAnimationStart(animator, false); 613 assertTrue(((Float)animator.getAnimatedValue()) >= 0.5f); 614 assertTrue(animator.getAnimatedFraction() >= 0.5f); [all …]
|
D | AnimationActivity.java | 147 public void startSingleAnimation(Animator animator) { in startSingleAnimation() argument 148 animator.setTarget(view.newBall); in startSingleAnimation() 149 animator.start(); in startSingleAnimation() 158 public void startAnimation(Animator animator){ in startAnimation() argument 159 view.bounceYAnimator = (ValueAnimator)animator; in startAnimation() 209 public void startColorAnimator(ValueAnimator animator) { in startColorAnimator() argument 210 this.colorAnimator = animator; in startColorAnimator()
|
D | ObjectAnimatorTest.java | 109 ValueAnimator.AnimatorUpdateListener updateListener = ((animator) -> { in testOfFloat() 110 float y = (Float) animator.getAnimatedValue(); in testOfFloat() 135 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase() local 139 assertEquals(animator.getTarget(), objAnimator.getTarget()); in testOfFloatBase() 140 assertEquals(animator.getPropertyName(), objAnimator.getPropertyName()); in testOfFloatBase() 149 ValueAnimator.AnimatorUpdateListener updateListener = ((animator) -> { in testOfInt() 178 ValueAnimator.AnimatorUpdateListener updateListener = ((animator) -> { in testOfObject() 212 ValueAnimator.AnimatorUpdateListener updateListener = ((animator) -> { in testOfPropertyValuesHolder() 256 final ObjectAnimator animator = ObjectAnimator.ofArgb(object, property, start, end); in testOfArgb() local 257 animator.setDuration(200); in testOfArgb() [all …]
|
D | AnimatorSetTest.java | 675 for (Animator animator : set2.getChildAnimations()) { in testClone() 676 assertUnique(animator); in testClone() 838 final ValueAnimator animator = ValueAnimator.ofFloat(0, 1); in testNotifiesAfterEnd() local 853 animator.addListener(listener); in testNotifiesAfterEnd() 855 animatorSet.playTogether(animator); in testNotifiesAfterEnd() 859 animator.end(); in testNotifiesAfterEnd() 860 assertFalse(animator.isStarted()); in testNotifiesAfterEnd()
|
D | LayoutAnimationTest.java | 275 public void setAnimator(int transitionType, Animator animator) { in setAnimator() argument 276 super.setAnimator(transitionType, animator); in setAnimator()
|
D | PropertyValuesHolderTest.java | 151 private void setTarget(final Animator animator, final Object target) throws Throwable { in setTarget() argument 152 mActivityRule.runOnUiThread(() -> animator.setTarget(target)); in setTarget() 155 private void startSingleAnimation(final Animator animator) throws Throwable { in startSingleAnimation() argument 156 mActivityRule.runOnUiThread(() -> mActivity.startSingleAnimation(animator)); in startSingleAnimation() 813 private void startAnimation(final Animator animator) throws Throwable { in startAnimation() argument 814 mActivityRule.runOnUiThread(() -> mActivity.startAnimation(animator)); in startAnimation()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | FragmentTest.java | 74 .setCustomAnimations(R.animator.long_fade_in, R.animator.long_fade_out, in testChildFragmentManagerGone() 75 R.animator.long_fade_in, R.animator.long_fade_out) in testChildFragmentManagerGone() 87 .setCustomAnimations(R.animator.long_fade_in, R.animator.long_fade_out, in testChildFragmentManagerGone() 88 R.animator.long_fade_in, R.animator.long_fade_out) in testChildFragmentManagerGone()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimatorInflaterTest.java | 135 for (ObjectAnimator animator : new ObjectAnimator[]{child1, child2}) { in testLoadAnimator() 136 animator.setTarget(dummyObject); in testLoadAnimator() 137 animator.setupStartValues(); in testLoadAnimator() 138 animator.start(); in testLoadAnimator() 139 animator.end(); in testLoadAnimator()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentAnimatorTest.java | 386 assertNull(fragment1.animator); in popPostponed() 387 assertNull(fragment2.animator); in popPostponed() 409 .setCustomAnimations(0, 0, 0, R.animator.slow_fade_out) in saveWhileAnimatingAway() 543 assertNotNull(fragment.animator); in assertFragmentAnimation() 558 Animator animator; field in FragmentAnimatorTest.AnimatorFragment 571 this.animator = ValueAnimator.ofFloat(0, 1).setDuration(1); in onCreateAnimator() 573 this.animator.addListener(new AnimatorListenerAdapter() { in onCreateAnimator() 586 return this.animator; in onCreateAnimator()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeBoundsTest.java | 292 Animator animator = super.createAnimator(sceneRoot, startValues, endValues); in createAnimator() local 293 if (animator != null && mBoundsChangeListener != null) { in createAnimator() 294 animator.addListener(mBoundsChangeListener); in createAnimator() 298 return animator; in createAnimator()
|
D | TransitionTest.java | 452 Animator animator = transition.animators.get(redSquare); in testInterpolator() local 455 assertSame(interpolator, animator.getInterpolator()); in testInterpolator() 540 Animator animator = transition.animators.get(redSquare); in testStartDelay() local 541 assertFalse(animator.isRunning()); in testStartDelay() 658 private Animator setupAnimator(Animator animator, View view) { in setupAnimator() argument 659 animators.put(view, animator); in setupAnimator() 661 animator.addListener(listener); in setupAnimator() 663 return animator; in setupAnimator()
|
D | ChangeImageTransformTest.java | 268 Animator animator = super.createAnimator(sceneRoot, startValues, endValues); in createAnimator() local 269 animator.addListener(new CaptureMatrixListener((ImageView) endValues.view)); in createAnimator() 270 return animator; in createAnimator()
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | WindowManagerState.java | 510 WindowStateAnimatorProto animatorProto = proto.animator; in WindowState()
|
/cts/tests/framework/base/activitymanager/util/src/android/server/am/ |
D | WindowManagerState.java | 793 WindowStateAnimatorProto animatorProto = proto.animator; in WindowState()
|