Dela via


Android.Animation Namespace

These classes provide functionality for the property animation system, which allows you to animate object properties of any type.

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.

Animator.AnimationCancelEventArgs
Animator.AnimationEndEventArgs
Animator.AnimationPauseEventArgs

Provides data for the AnimationPause event.

Animator.AnimationRepeatEventArgs
Animator.AnimationResumeEventArgs

Provides data for the AnimationResume event.

Animator.AnimationStartEventArgs
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.

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

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.

LayoutTransition.EndTransitionEventArgs

Provides data for the EndTransition event.

LayoutTransition.StartTransitionEventArgs

Provides data for the StartTransition event.

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.

TimeAnimator.TimeEventArgs

Provides data for the Time event.

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.

ValueAnimator.AnimatorUpdateEventArgs

Provides data for the Update event.

ValueAnimator.DurationScaleChangeEventArgs

Interfaces

Animator.IAnimatorListener

An animation listener receives notifications from an animation.

Animator.IAnimatorPauseListener

A pause listener receives notifications from an animation when the animation is #pause() paused or #resume() resumed.

ITimeInterpolator

A time interpolator defines the rate of change of an animation.

ITypeEvaluator

Interface for use with the ValueAnimator#setEvaluator(TypeEvaluator) function.

LayoutTransition.ITransitionListener

This interface is used for listening to starting and ending events for transitions.

TimeAnimator.ITimeListener

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.

ValueAnimator.IAnimatorUpdateListener

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.IDurationScaleChangeListener

Listener interface for the system-wide scaling factor for Animator-based animations.

Enums

LayoutTransitionType

Enumerates values returned by several types and taken as a parameter of several types.

ValueAnimatorRepeatMode

Enumerates values returned by several types.