android.animation
These classes provide functionality for the property animation system, which allows you
to animate object properties of any type. int
, float
, and hexadecimal
color values are supported by default. You can animate any other type by telling the system how
to calculate the values for that given type with a custom TypeEvaluator
.
For more information, see the Animation guide.
You can set many different types of interpolators (contained in android.view.animation
),
specify keyframes
, or group animations to play sequentially
or simultaneously (with AnimatorSet
) to further control your animation
behaviors.
Interfaces
Animator.AnimatorListener |
An animation listener receives notifications from an animation. |
Animator.AnimatorPauseListener |
A pause listener receives notifications from an animation when the
animation is paused or resumed .
|
LayoutTransition.TransitionListener | This interface is used for listening to starting and ending events for transitions. |
TimeAnimator.TimeListener |
Implementors of this interface can set themselves as update listeners
to a TimeAnimator instance to receive callbacks on every animation
frame to receive the total time since the animator started and the delta time
since the last frame.
|
TimeInterpolator | A time interpolator defines the rate of change of an animation. |
TypeEvaluator<T> |
Interface for use with the ValueAnimator#setEvaluator(TypeEvaluator) function.
|
ValueAnimator.AnimatorUpdateListener |
Implementors of this interface can add themselves as update listeners
to an ValueAnimator instance to receive callbacks on every animation
frame, after the current frame's values have been calculated for that
ValueAnimator .
|
ValueAnimator.DurationScaleChangeListener | Listener interface for the system-wide scaling factor for Animator-based animations. |
Classes
Animator |
This is the superclass for classes which provide basic support for animations which can be
started, ended, and have AnimatorListeners added to them.
|
AnimatorInflater | This class is used to instantiate animator XML files into Animator objects. |
AnimatorListenerAdapter |
This adapter class provides empty implementations of the methods from Animator.AnimatorListener .
|
AnimatorSet |
This class plays a set of Animator objects in the specified order.
|
AnimatorSet.Builder |
The Builder object is a utility class to facilitate adding animations to a
AnimatorSet along with the relationships between the various animations.
|
ArgbEvaluator | This evaluator can be used to perform type interpolation between integer values that represent ARGB colors. |
BidirectionalTypeConverter<T, V> | Abstract base class used convert type T to another type V and back again. |
FloatArrayEvaluator |
This evaluator can be used to perform type interpolation between float[] values.
|
FloatEvaluator |
This evaluator can be used to perform type interpolation between float values.
|
IntArrayEvaluator |
This evaluator can be used to perform type interpolation between int[] values.
|
IntEvaluator |
This evaluator can be used to perform type interpolation between int values.
|
Keyframe | This class holds a time/value pair for an animation. |
LayoutTransition | This class enables automatic animations on layout changes in ViewGroup objects. |
ObjectAnimator |
This subclass of ValueAnimator provides support for animating properties on target objects.
|
PointFEvaluator |
This evaluator can be used to perform type interpolation between PointF values.
|
PropertyValuesHolder | This class holds information about a property and the values that that property should take on during an animation. |
RectEvaluator |
This evaluator can be used to perform type interpolation between Rect values.
|
StateListAnimator | Lets you define a number of Animators that will run on the attached View depending on the View's drawable state. |
TimeAnimator | This class provides a simple callback mechanism to listeners that is synchronized with all other animators in the system. |
TypeConverter<T, V> | Abstract base class used convert type T to another type V. |
ValueAnimator | This class provides a simple timing engine for running animations which calculate animated values and set them on target objects. |
Interfaces
Classes
- Animator
- AnimatorInflater
- AnimatorListenerAdapter
- AnimatorSet
- AnimatorSet.Builder
- ArgbEvaluator
- BidirectionalTypeConverter
- FloatArrayEvaluator
- FloatEvaluator
- IntArrayEvaluator
- IntEvaluator
- Keyframe
- LayoutTransition
- ObjectAnimator
- PointFEvaluator
- PropertyValuesHolder
- RectEvaluator
- StateListAnimator
- TimeAnimator
- TypeConverter
- ValueAnimator