HomeSort by relevance Sort by last modified time
    Searched refs:getAnimatedFraction (Results 1 - 8 of 8) sorted by null

  /cts/tests/tests/animation/src/android/animation/cts/
ValueAnimatorTest.java 178 float currentFraction = anim.getAnimatedFraction();
186 currentFraction = delayedAnim.getAnimatedFraction();
196 float currentFraction = anim.getAnimatedFraction();
203 currentFraction = delayedAnim.getAnimatedFraction();
214 assertEquals(.5f, delayedAnim.getAnimatedFraction(), EPSILON);
220 currentFraction = delayedAnim.getAnimatedFraction();
273 fractionOnFirstFrame = animation.getAnimatedFraction();
277 assertTrue(animation.getAnimatedFraction() >= fractionOnFirstFrame);
297 float currentFraction = anim.getAnimatedFraction();
307 float currentFraction = anim.getAnimatedFraction();
    [all...]
PropertyValuesHolderTest.java 341 float fraction = animation.getAnimatedFraction();
394 float fraction = animation.getAnimatedFraction();
435 float fraction = animation.getAnimatedFraction();
488 float fraction = animation.getAnimatedFraction();
591 float fraction = anim1.getAnimatedFraction();
592 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f);
593 assertEquals(fraction, anim3.getAnimatedFraction(), 0.0f);
658 assertEquals(anim1.getAnimatedFraction(), anim2.getAnimatedFraction(), 0.0f);
    [all...]
ObjectAnimatorTest.java 394 float fraction = animation.getAnimatedFraction();
449 float fraction = animation.getAnimatedFraction();
514 float fraction = animation.getAnimatedFraction();
570 float fraction = animation.getAnimatedFraction();
615 float fraction = animation.getAnimatedFraction();
671 float fraction = animation.getAnimatedFraction();
744 float fraction = anim1.getAnimatedFraction();
745 assertEquals(fraction, anim2.getAnimatedFraction(), 0.0f);
    [all...]
  /development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/
MultiPropertyAnimations.java 57 float fraction = animator.getAnimatedFraction();
  /development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
Bouncer.java 136 setShapeY((int) (animation.getAnimatedFraction() *
Bouncer1.java 121 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH)));
Bouncer2.java 124 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH)));
  /development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
CardView.java 147 if (valueAnimator.getAnimatedFraction() >= 0.5) {

Completed in 61 milliseconds