androidx.core.animation
Interfaces
AnimatorListener |
An animation listener receives notifications from an animation. |
AnimatorPauseListener |
A pause listener receives notifications from an animation when the animation is |
AnimatorUpdateListener |
Implementors of this interface can add themselves as update listeners to an |
Interpolator |
An interpolator defines the rate of change of an animation. |
TimeListener |
Implementors of this interface can set themselves as update listeners to a |
TypeEvaluator |
Interface for use with the |
Classes
AccelerateDecelerateInterpolator |
An interpolator where the rate of change starts and ends slowly but accelerates through the middle. |
AccelerateInterpolator |
An interpolator where the rate of change starts out slowly and and then accelerates. |
Animator |
This is the superclass for classes which provide basic support for animations which can be started, ended, and have |
AnimatorInflater |
This class is used to instantiate animator XML files into Animator objects. |
AnimatorListenerAdapter |
This adapter class provides empty implementations of the methods from |
AnimatorSet |
This class plays a set of |
AnimatorTestRule |
JUnit |
AnticipateInterpolator |
An interpolator where the change starts backward then flings forward. |
AnticipateOvershootInterpolator |
An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value. |
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. |
BounceInterpolator |
An interpolator where the change bounces at the end. |
CycleInterpolator |
Repeats the animation for a specified number of cycles. |
DecelerateInterpolator |
An interpolator where the rate of change starts out quickly and and then decelerates. |
FloatArrayEvaluator |
This evaluator can be used to perform type interpolation between |
FloatEvaluator |
This evaluator can be used to perform type interpolation between |
FloatProperty |
An implementation of |
IntArrayEvaluator |
This evaluator can be used to perform type interpolation between |
IntEvaluator |
This evaluator can be used to perform type interpolation between |
IntProperty |
An implementation of |
Keyframe |
This class holds a time/value pair for an animation. |
LinearInterpolator |
An interpolator where the rate of change is constant |
ObjectAnimator |
This subclass of |
OvershootInterpolator |
An interpolator where the change flings forward and overshoots the last value then comes back. |
PathInterpolator |
An interpolator that can traverse a Path that extends from |
PointFEvaluator |
This evaluator can be used to perform type interpolation between |
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 |
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. |
Extension functions summary
For android.animation.Animator | |
AnimatorListener |
Animator.addListener(crossinline onEnd: (animator: Animator) -> Unit = {}, crossinline onStart: (animator: Animator) -> Unit = {}, crossinline onCancel: (animator: Animator) -> Unit = {}, crossinline onRepeat: (animator: Animator) -> Unit = {}) Add a listener to this Animator using the provided actions. |
AnimatorPauseListener |
Animator.addPauseListener(crossinline onResume: (animator: Animator) -> Unit = {}, crossinline onPause: (animator: Animator) -> Unit = {}) Add a pause and resume listener to this Animator using the provided actions. |
AnimatorListener |
Animator.doOnCancel(crossinline action: (animator: Animator) -> Unit) Add an action which will be invoked when the animation has been cancelled. |
AnimatorListener |
Add an action which will be invoked when the animation has ended. |
AnimatorPauseListener |