Java android.animation AnimatorSet fields, constructors, methods, implement or subclass

Example usage for Java android.animation AnimatorSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.animation AnimatorSet.

The text is from its open source code.

Constructor

Method

voidaddListener(AnimatorListener listener)
Adds a listener to the set of listeners that are sent events through the life of an animation, such as start, repeat, and end.
voidcancel()

Note that canceling a AnimatorSet also cancels all of the animations that it is responsible for.

voidend()

Note that ending a AnimatorSet also ends all of the animations that it is responsible for.

booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
ArrayListgetChildAnimations()
Returns the current list of child Animator objects controlled by this AnimatorSet.
booleanisStarted()
Builderplay(Animator anim)
This method creates a Builder object, which is used to set up playing constraints.
voidplaySequentially(Animator... items)
Sets up this AnimatorSet to play each of the supplied animations when the previous animation ends.
voidplaySequentially(List items)
Sets up this AnimatorSet to play each of the supplied animations when the previous animation ends.
voidplayTogether(Animator... items)
Sets up this AnimatorSet to play all of the supplied animations at the same time.
voidplayTogether(Collection items)
Sets up this AnimatorSet to play all of the supplied animations at the same time.
voidremoveAllListeners()
Removes all #addListener(android.animation.Animator.AnimatorListener) listeners and #addPauseListener(android.animation.Animator.AnimatorPauseListener) pauseListeners from this object.
AnimatorSetsetDuration(long duration)
Sets the length of each of the current child animations of this AnimatorSet.
voidsetInterpolator(TimeInterpolator interpolator)
Sets the TimeInterpolator for all current #getChildAnimations() child animations of this AnimatorSet.
voidsetStartDelay(long startDelay)
The amount of time, in milliseconds, to delay starting the animation after #start() is called.
voidsetTarget(Object target)
Sets the target object for all current #getChildAnimations() child animations of this AnimatorSet that take targets ( ObjectAnimator and AnimatorSet).
voidstart()

Starting this AnimatorSet will, in turn, start the animations for which it is responsible.