Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
DPropertyAnimations.java62 ObjectAnimator translateAnimation = in onCreate() local
64 translateAnimation.setRepeatCount(1); in onCreate()
65 translateAnimation.setRepeatMode(ValueAnimator.REVERSE); in onCreate()
84 setAnimation.play(translateAnimation).after(alphaAnimation).before(rotateAnimation); in onCreate()
88 setupAnimation(translateButton, translateAnimation, R.animator.move); in onCreate()
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
DViewAnimations.java61 final TranslateAnimation translateAnimation = in onCreate() local
65 translateAnimation.setDuration(1000); in onCreate()
79 setAnimation.addAnimation(translateAnimation); in onCreate()
84 setupAnimation(translateButton, translateAnimation, R.anim.translate_anim); in onCreate()