Home
last modified time | relevance | path

Searched refs:squashAnim1 (Results 1 – 1 of 1) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DBouncingBalls.java95 ValueAnimator squashAnim1 = ObjectAnimator.ofFloat(newBall, "x", newBall.getX(), in onTouchEvent() local
97 squashAnim1.setDuration(duration/4); in onTouchEvent()
98 squashAnim1.setRepeatCount(1); in onTouchEvent()
99 squashAnim1.setRepeatMode(ValueAnimator.REVERSE); in onTouchEvent()
100 squashAnim1.setInterpolator(new DecelerateInterpolator()); in onTouchEvent()
125 bouncer.play(bounceAnim).before(squashAnim1); in onTouchEvent()
126 bouncer.play(squashAnim1).with(squashAnim2); in onTouchEvent()
127 bouncer.play(squashAnim1).with(stretchAnim1); in onTouchEvent()
128 bouncer.play(squashAnim1).with(stretchAnim2); in onTouchEvent()