This interface provides a convenient way to query from an VectorizedAnimationSpec or FloatDecayAnimationSpec: It spares the need to pass the starting conditions and in some cases ending condition for each value or velocity query, and instead only requires the play time to be passed for such queries.
This interface allows AnimationClock to be subscribed and unsubscribed.
Observer for animation clock changes.
AnimationSpec stores the specification of an animation, including 1) the data type to be animated, and 2) the animation configuration (i.
DecayAnimationSpec stores the specification of an animation, including 1) the data type to be animated, and 2) the animation configuration (i.
This animation interface is intended to be stateless, just like Animation.
Property key of T type.
TransitionState holds a number of property values.
VectorizedAnimationSpecs are stateless vector based animation specifications.
VectorizedDecayAnimationSpecs are stateless vector based decay animation specifications.
This class inherits most of the functionality from BaseAnimatedValue.
AnimatedValue is an animatable value holder.
AnimationResult contains information about an animation at the end of the animation.
AnimationScope provides all the animation related info specific to an animation run.
AnimationState contains the necessary information to indicate the state of an animation.
This class defines a 1D vector.
This class defines a 2D vector that contains two Float values for the two dimensions.
This class defines a 3D vector that contains three Float value fields for the three dimensions.
This class defines a 4D vector that contains four Float fields for its four dimensions.
This is the base class for AnimatedValue.
Base implementation for the AnimationClockObservable that handles the subscribing and unsubscribing logic that would be common for all custom animation clocks.
A cubic polynomial easing.
Default Choreographer based clock that pushes a new frame to all subscribers on each Choreographer tick, until all subscribers have unsubscribed.
This is a decay animation where the friction/deceleration is always proportional to the velocity.
Built-in property key for Float properties.
Built-in property key for Int properties.
A custom clock whose frame time can be manually updated via mutating clockTimeMillis.
SnapSpec describes a jump-cut type of animation.
Creates a SpringSpec that uses the given spring constants (i.
TargetAnimation class defines how to animate to a given target value.
This is a convenient animation wrapper class that works for all target based animations, i.
Transition manages all the child animations on a state level.
TransitionDefinition contains all the animation related configurations that will be used in a state-based transition.
Static specification for the transition from one state to another.
Creates a TweenSpec configured with the given duration, delay, and easing curve.
A convenient implementation of VectorizedFloatAnimationSpec that turns a FloatAnimationSpec into a multi-dimensional VectorizedFloatAnimationSpec, by using the same FloatAnimationSpec on each dimension of the AnimationVector that is being animated.
This animation takes another VectorizedDurationBasedAnimationSpec and plays it infinite times.
VectorizedKeyframesSpec class manages the animation based on the values defined at different timestamps in the duration of the animation (i.
VectorizedSnapSpec immediately snaps the animating value to the end value.
Easing is a way to adjust an animation’s fraction.
Typealias for lambda that will be invoked when fling animation ends.
Possible reasons with which DynamicTargetAnimation can finish
Top-level functions summary