Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
DViewAnimations.java83 setupAnimation(alphaButton, alphaAnimation, R.anim.alpha_anim); in onCreate()
84 setupAnimation(translateButton, translateAnimation, R.anim.translate_anim); in onCreate()
85 setupAnimation(rotateButton, rotateAnimation, R.anim.rotate_anim); in onCreate()
86 setupAnimation(scaleButton, scaleAnimation, R.anim.scale_anim); in onCreate()
87 setupAnimation(setButton, setAnimation, R.anim.set_anim); in onCreate()
91 private void setupAnimation(View view, final Animation animation, in setupAnimation() method in ViewAnimations
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
DPropertyAnimations.java87 setupAnimation(alphaButton, alphaAnimation, R.animator.fade); in onCreate()
88 setupAnimation(translateButton, translateAnimation, R.animator.move); in onCreate()
89 setupAnimation(rotateButton, rotateAnimation, R.animator.spin); in onCreate()
90 setupAnimation(scaleButton, scaleAnimation, R.animator.scale); in onCreate()
91 setupAnimation(setButton, setAnimation, R.animator.combo); in onCreate()
95 private void setupAnimation(View view, final Animator animation, final int animationID) { in setupAnimation() method in PropertyAnimations