Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
DPropertyAnimations.java68 ObjectAnimator rotateAnimation = in onCreate() local
70 rotateAnimation.setRepeatCount(1); in onCreate()
71 rotateAnimation.setRepeatMode(ValueAnimator.REVERSE); in onCreate()
84 setAnimation.play(translateAnimation).after(alphaAnimation).before(rotateAnimation); in onCreate()
85 setAnimation.play(rotateAnimation).before(scaleAnimation); in onCreate()
89 setupAnimation(rotateButton, rotateAnimation, R.animator.spin); in onCreate()
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
DViewAnimations.java68 final RotateAnimation rotateAnimation = new RotateAnimation(0, 360, in onCreate() local
70 rotateAnimation.setDuration(1000); in onCreate()
80 setAnimation.addAnimation(rotateAnimation); in onCreate()
85 setupAnimation(rotateButton, rotateAnimation, R.anim.rotate_anim); in onCreate()