Searched refs:downAnim (Results 1 – 4 of 4) sorted by relevance
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
D | AnticiButton.java | 50 ObjectAnimator downAnim = null; field in AnticiButton 96 downAnim = ObjectAnimator.ofFloat(this, "skewX", mOnLeft ? .5f : -.5f); in runPressAnim() 97 downAnim.setDuration(2500); in runPressAnim() 98 downAnim.setInterpolator(sDecelerator); in runPressAnim() 99 downAnim.start(); in runPressAnim() 110 if (downAnim != null && downAnim.isRunning()) { in runClickAnim() 112 downAnim.cancel(); in runClickAnim() 150 if (downAnim != null && downAnim.isRunning()) { in runCancelAnim() 151 downAnim.cancel(); in runCancelAnim() 156 downAnim = null; in runCancelAnim()
|
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/ |
D | SquashAndStretch.java | 86 ObjectAnimator downAnim = ObjectAnimator.ofPropertyValuesHolder( in onButtonClick() local 88 downAnim.setInterpolator(sAccelerator); in onButtonClick() 89 downAnim.setDuration((long) (animationDuration * 2)); in onButtonClick() 111 set.playSequentially(downAnim, stretchAnim, upAnim); in onButtonClick()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ShadowCardDrag.java | 235 ObjectAnimator downAnim = ObjectAnimator.ofFloat(mCard, "translationZ", 0); in onCreate() 236 downAnim.setDuration(100); in onCreate() 237 downAnim.setInterpolator(new AccelerateInterpolator()); in onCreate() 238 downAnim.start(); in onCreate()
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
D | ToonGame.java | 187 ObjectAnimator downAnim = ObjectAnimator.ofPropertyValuesHolder(view, pvhTY, pvhSX, pvhSY); in squishyBounce() local 188 downAnim.setInterpolator(sAccelerator); in squishyBounce() 204 set.playSequentially(downAnim, stretchAnim, upAnim); in squishyBounce()
|