Java android.view.animation RotateAnimation fields, constructors, methods, implement or subclass

Example usage for Java android.view.animation RotateAnimation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.view.animation RotateAnimation.

The text is from its open source code.

Constructor

RotateAnimation(float fromDegrees, float toDegrees, float pivotX, float pivotY)
Constructor to use when building a RotateAnimation from code
RotateAnimation(float fromDegrees, float toDegrees, int pivotXType, float pivotXValue, int pivotYType, float pivotYValue)
Constructor to use when building a RotateAnimation from code
RotateAnimation(Context context, AttributeSet attrs)
Constructor used when a RotateAnimation is loaded from a resource.
RotateAnimation(float fromDegrees, float toDegrees)
Constructor to use when building a RotateAnimation from code.

Method

voidreset()
Reset the initialization state of this animation.
voidsetAnimationListener(AnimationListener listener)

Binds an animation listener to this animation.

voidsetDuration(long durationMillis)
How long this animation should last.
voidsetFillAfter(boolean fillAfter)
If fillAfter is true, the transformation that this animation performed will persist when it is finished.
voidsetFillBefore(boolean fillBefore)
If fillBefore is true, this animation will apply its transformation before the start time of the animation.
voidsetFillEnabled(boolean fillEnabled)
If fillEnabled is true, the animation will apply the value of fillBefore.
voidsetInterpolator(Interpolator i)
Sets the acceleration curve for this animation.
voidsetRepeatCount(int repeatCount)
Sets how many times the animation should be repeated.
voidsetRepeatMode(int repeatMode)
Defines what this animation should do when it reaches the end.
voidsetStartOffset(long startOffset)
When this animation should start relative to the start time.
voidsetStartTime(long startTimeMillis)
When this animation should start.