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

  /development/samples/ApiDemos/src/com/example/android/apis/animation/
AnimationSeeking.java 99 ValueAnimator bounceAnim = null;
108 if (bounceAnim == null) {
109 bounceAnim = ObjectAnimator.ofFloat(ball, "y",
111 bounceAnim.setInterpolator(new BounceInterpolator());
112 bounceAnim.addUpdateListener(this);
118 bounceAnim.start();
123 bounceAnim.setCurrentPlayTime(seekTime);
155 long playtime = bounceAnim.getCurrentPlayTime();
ReversingAnimation.java 70 ValueAnimator bounceAnim = null;
79 if (bounceAnim == null) {
80 bounceAnim = ObjectAnimator.ofFloat(ball, "y", ball.getY(), getHeight() - 50f).
82 bounceAnim.setInterpolator(new AccelerateInterpolator(2f));
83 bounceAnim.addUpdateListener(this);
89 bounceAnim.start();
94 bounceAnim.reverse();
99 bounceAnim.setCurrentPlayTime(seekTime);
CustomEvaluator.java 115 ValueAnimator bounceAnim = null;
126 if (bounceAnim == null) {
129 bounceAnim = ObjectAnimator.ofObject(ballHolder, "xY",
131 bounceAnim.setDuration(1500);
132 bounceAnim.addUpdateListener(this);
138 bounceAnim.start();
MultiPropertyAnimation.java 74 Animator bounceAnim = null;
86 if (bounceAnim == null) {
132 bounceAnim = new AnimatorSet();
133 ((AnimatorSet)bounceAnim).playTogether(yBouncer, yAlphaBouncer, whxyBouncer,
140 bounceAnim.start();
BouncingBalls.java 92 ValueAnimator bounceAnim = ObjectAnimator.ofFloat(newBall, "y", startY, endY);
93 bounceAnim.setDuration(duration);
94 bounceAnim.setInterpolator(new AccelerateInterpolator());
125 bouncer.play(bounceAnim).before(squashAnim1);

Completed in 199 milliseconds