OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rotateAnimation
(Results
1 - 3
of
3
) sorted by null
/cts/tests/tests/view/src/android/view/animation/cts/
RotateAnimationTest.java
28
import android.view.animation.
RotateAnimation
;
57
new
RotateAnimation
(mActivity, null);
64
new
RotateAnimation
(mActivity, attr);
66
// Test {@link
RotateAnimation
#
RotateAnimation
(float, float)}
67
new
RotateAnimation
(0.6f, 0.6f);
69
new
RotateAnimation
(-0.6f, -0.6f);
71
// Test {@link
RotateAnimation
#
RotateAnimation
(float, float, float, float)}
72
new
RotateAnimation
(0.6f, 0.6f, 0.6f, 0.6f)
[
all
...]
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/
PropertyAnimations.java
68
ObjectAnimator
rotateAnimation
=
70
rotateAnimation
.setRepeatCount(1);
71
rotateAnimation
.setRepeatMode(ValueAnimator.REVERSE);
84
setAnimation.play(translateAnimation).after(alphaAnimation).before(
rotateAnimation
);
85
setAnimation.play(
rotateAnimation
).before(scaleAnimation);
89
setupAnimation(rotateButton,
rotateAnimation
, R.animator.spin);
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
ViewAnimations.java
26
import android.view.animation.
RotateAnimation
;
68
final
RotateAnimation
rotateAnimation
= new
RotateAnimation
(0, 360,
70
rotateAnimation
.setDuration(1000);
80
setAnimation.addAnimation(
rotateAnimation
);
85
setupAnimation(rotateButton,
rotateAnimation
, R.anim.rotate_anim);
Completed in 185 milliseconds