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

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

Introduction

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

The text is from its open source code.

Subclass

android.animation.Animator has subclasses.
Click this link to see all its subclasses.

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()
Cancels the animation.
voidend()
Ends the animation.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
longgetDuration()
Gets the duration of the animation.
ArrayListgetListeners()
Gets the set of android.animation.Animator.AnimatorListener objects that are currently listening for events on this Animator object.
longgetStartDelay()
The amount of time, in milliseconds, to delay processing the animation after #start() is called.
booleanisPaused()
Returns whether this animator is currently in a paused state.
booleanisRunning()
Returns whether this Animator is currently running (having been started and gone past any initial startDelay period and not yet ended).
booleanisStarted()
Returns whether this Animator has been started and not yet ended.
voidpause()
Pauses a running animation.
voidremoveAllListeners()
Removes all #addListener(android.animation.Animator.AnimatorListener) listeners and #addPauseListener(android.animation.Animator.AnimatorPauseListener) pauseListeners from this object.
voidremoveListener(AnimatorListener listener)
Removes a listener from the set listening to this animation.
voidresume()
Resumes a paused animation, causing the animator to pick up where it left off when it was paused.
AnimatorsetDuration(long duration)
Sets the duration of the animation.
voidsetInterpolator(TimeInterpolator value)
The time interpolator used in calculating the elapsed fraction of the animation.
voidsetStartDelay(long startDelay)
The amount of time, in milliseconds, to delay processing the animation after #start() is called.
voidsetTarget(@Nullable Object target)
Sets the target object whose property will be animated by this animation.
voidsetupStartValues()
This method tells the object to use appropriate information to extract starting values for the animation.
voidstart()
Starts this animation.