Example usage for Java android.view.animation AlphaAnimation fields, constructors, methods, implement or subclass
The text is from its open source code.
AlphaAnimation(Context context, AttributeSet attrs) Constructor used when an AlphaAnimation is loaded from a resource. | |
AlphaAnimation(float fromAlpha, float toAlpha) Constructor to use when building an AlphaAnimation from code |
void | setAnimationListener(AnimationListener listener) Binds an animation listener to this animation. |
void | setDuration(long durationMillis) How long this animation should last. |
void | setFillAfter(boolean fillAfter) If fillAfter is true, the transformation that this animation performed will persist when it is finished. |
void | setFillEnabled(boolean fillEnabled) If fillEnabled is true, the animation will apply the value of fillBefore. |
void | setInterpolator(Interpolator i) Sets the acceleration curve for this animation. |
void | setRepeatCount(int repeatCount) Sets how many times the animation should be repeated. |
void | setRepeatMode(int repeatMode) Defines what this animation should do when it reaches the end. |
void | setStartOffset(long startOffset) When this animation should start relative to the start time. |
void | start() Convenience method to start the animation the first time #getTransformation(long,Transformation) is invoked. |