Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DBouncingBalls.java113 ValueAnimator stretchAnim2 = ObjectAnimator.ofFloat(newBall, "height", in onTouchEvent() local
115 stretchAnim2.setDuration(duration/4); in onTouchEvent()
116 stretchAnim2.setRepeatCount(1); in onTouchEvent()
117 stretchAnim2.setInterpolator(new DecelerateInterpolator()); in onTouchEvent()
118 stretchAnim2.setRepeatMode(ValueAnimator.REVERSE); in onTouchEvent()
128 bouncer.play(squashAnim1).with(stretchAnim2); in onTouchEvent()
129 bouncer.play(bounceBackAnim).after(stretchAnim2); in onTouchEvent()