Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/
DSquashAndStretch.java94 ObjectAnimator stretchAnim = in onButtonClick() local
96 stretchAnim.setRepeatCount(1); in onButtonClick()
97 stretchAnim.setRepeatMode(ValueAnimator.REVERSE); in onButtonClick()
98 stretchAnim.setInterpolator(sDecelerator); in onButtonClick()
99 stretchAnim.setDuration(animationDuration); in onButtonClick()
111 set.playSequentially(downAnim, stretchAnim, upAnim); in onButtonClick()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DToonGame.java198 ObjectAnimator stretchAnim = ObjectAnimator.ofPropertyValuesHolder(view, pvhSX, pvhSY); in squishyBounce() local
199 stretchAnim.setRepeatCount(1); in squishyBounce()
200 stretchAnim.setRepeatMode(ValueAnimator.REVERSE); in squishyBounce()
201 stretchAnim.setInterpolator(sDecelerator); in squishyBounce()
204 set.playSequentially(downAnim, stretchAnim, upAnim); in squishyBounce()