Stay organized with collections
Save and categorize content based on your preferences.
android.animation
Interfaces
AnimatorListener |
An animation listener receives notifications from an animation.
|
AnimatorPauseListener |
A pause listener receives notifications from an animation when the animation is paused or resumed .
|
TransitionListener |
This interface is used for listening to starting and ending events for transitions.
|
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 |
Interface for use with the ValueAnimator.setEvaluator(TypeEvaluator) function.
|
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 .
|
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 android.animation.Animator.AnimatorListener .
|
AnimatorSet |
This class plays a set of Animator objects in the specified order.
|
ArgbEvaluator |
This evaluator can be used to perform type interpolation between integer values that represent ARGB colors.
|
BidirectionalTypeConverter |
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 |
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.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.animation\n=================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/animation/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AnimatorListener](/reference/kotlin/android/animation/Animator.AnimatorListener) | An animation listener receives notifications from an animation. |\n| [AnimatorPauseListener](/reference/kotlin/android/animation/Animator.AnimatorPauseListener) | A pause listener receives notifications from an animation when the animation is [paused](/reference/kotlin/android/animation/Animator#pause()) or [resumed](/reference/kotlin/android/animation/Animator#resume()). |\n| [TransitionListener](/reference/kotlin/android/animation/LayoutTransition.TransitionListener) | This interface is used for listening to starting and ending events for transitions. |\n| [TimeListener](/reference/kotlin/android/animation/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. |\n| [TimeInterpolator](/reference/kotlin/android/animation/TimeInterpolator) | A time interpolator defines the rate of change of an animation. |\n| [TypeEvaluator](/reference/kotlin/android/animation/TypeEvaluator) | Interface for use with the [ValueAnimator.setEvaluator(TypeEvaluator)](/reference/kotlin/android/animation/ValueAnimator#setEvaluator(android.animation.TypeEvaluator)) function. |\n| [AnimatorUpdateListener](/reference/kotlin/android/animation/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`. |\n| [DurationScaleChangeListener](/reference/kotlin/android/animation/ValueAnimator.DurationScaleChangeListener) | Listener interface for the system-wide scaling factor for Animator-based animations. |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Animator](/reference/kotlin/android/animation/Animator) | This is the superclass for classes which provide basic support for animations which can be started, ended, and have `AnimatorListeners` added to them. |\n| [AnimatorInflater](/reference/kotlin/android/animation/AnimatorInflater) | This class is used to instantiate animator XML files into Animator objects. |\n| [AnimatorListenerAdapter](/reference/kotlin/android/animation/AnimatorListenerAdapter) | This adapter class provides empty implementations of the methods from [android.animation.Animator.AnimatorListener](/reference/kotlin/android/animation/Animator.AnimatorListener). |\n| [AnimatorSet](/reference/kotlin/android/animation/AnimatorSet) | This class plays a set of [Animator](/reference/kotlin/android/animation/Animator) objects in the specified order. |\n| [ArgbEvaluator](/reference/kotlin/android/animation/ArgbEvaluator) | This evaluator can be used to perform type interpolation between integer values that represent ARGB colors. |\n| [BidirectionalTypeConverter](/reference/kotlin/android/animation/BidirectionalTypeConverter) | Abstract base class used convert type T to another type V and back again. |\n| [FloatArrayEvaluator](/reference/kotlin/android/animation/FloatArrayEvaluator) | This evaluator can be used to perform type interpolation between `float[]` values. |\n| [FloatEvaluator](/reference/kotlin/android/animation/FloatEvaluator) | This evaluator can be used to perform type interpolation between `float` values. |\n| [IntArrayEvaluator](/reference/kotlin/android/animation/IntArrayEvaluator) | This evaluator can be used to perform type interpolation between `int[]` values. |\n| [IntEvaluator](/reference/kotlin/android/animation/IntEvaluator) | This evaluator can be used to perform type interpolation between `int` values. |\n| [Keyframe](/reference/kotlin/android/animation/Keyframe) | This class holds a time/value pair for an animation. |\n| [LayoutTransition](/reference/kotlin/android/animation/LayoutTransition) | This class enables automatic animations on layout changes in ViewGroup objects. |\n| [ObjectAnimator](/reference/kotlin/android/animation/ObjectAnimator) | This subclass of [ValueAnimator](/reference/kotlin/android/animation/ValueAnimator) provides support for animating properties on target objects. |\n| [PointFEvaluator](/reference/kotlin/android/animation/PointFEvaluator) | This evaluator can be used to perform type interpolation between `PointF` values. |\n| [PropertyValuesHolder](/reference/kotlin/android/animation/PropertyValuesHolder) | This class holds information about a property and the values that that property should take on during an animation. |\n| [RectEvaluator](/reference/kotlin/android/animation/RectEvaluator) | This evaluator can be used to perform type interpolation between `Rect` values. |\n| [StateListAnimator](/reference/kotlin/android/animation/StateListAnimator) | Lets you define a number of Animators that will run on the attached View depending on the View's drawable state. |\n| [TimeAnimator](/reference/kotlin/android/animation/TimeAnimator) | This class provides a simple callback mechanism to listeners that is synchronized with all other animators in the system. |\n| [TypeConverter](/reference/kotlin/android/animation/TypeConverter) | Abstract base class used convert type T to another type V. |\n| [ValueAnimator](/reference/kotlin/android/animation/ValueAnimator) | This class provides a simple timing engine for running animations which calculate animated values and set them on target objects. |"]]