Persistent Search
Classes | Public Member Functions | List of all members
io.codetail.animation.SupportAnimator Class Referenceabstract

Classes

interface  AnimatorListener
 

Public Member Functions

abstract boolean isNativeAnimator ()
 
abstract Object get ()
 
abstract void start ()
 
abstract void setDuration (int duration)
 
abstract void setInterpolator (Interpolator value)
 
abstract void addListener (AnimatorListener listener)
 
abstract boolean isRunning ()
 

Inherited by io.codetail.animation.SupportAnimatorLollipop, and io.codetail.animation.SupportAnimatorPreL.

Member Function Documentation

abstract void io.codetail.animation.SupportAnimator.addListener ( AnimatorListener  listener)
abstract

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

Parameters
listenerthe listener to be added to the current set of listeners for this animation.
abstract Object io.codetail.animation.SupportAnimator.get ( )
abstract
abstract boolean io.codetail.animation.SupportAnimator.isNativeAnimator ( )
abstract
Returns
true if using native android animation framework, otherwise is nineoldandroids
abstract boolean io.codetail.animation.SupportAnimator.isRunning ( )
abstract

Returns whether this Animator is currently running (having been started and gone past any initial startDelay period and not yet ended).

Returns
Whether the Animator is running.
abstract void io.codetail.animation.SupportAnimator.setDuration ( int  duration)
abstract

Sets the duration of the animation.

Parameters
durationThe length of the animation, in milliseconds.
abstract void io.codetail.animation.SupportAnimator.setInterpolator ( Interpolator  value)
abstract

The time interpolator used in calculating the elapsed fraction of the animation. The interpolator determines whether the animation runs with linear or non-linear motion, such as acceleration and deceleration. The default value is android.view.animation.AccelerateDecelerateInterpolator.

Parameters
valuethe interpolator to be used by this animation
abstract void io.codetail.animation.SupportAnimator.start ( )
abstract

Starts this animation. If the animation has a nonzero startDelay, the animation will start running after that delay elapses. A non-delayed animation will have its initial value(s) set immediately, followed by calls to android.animation.Animator.AnimatorListener#onAnimationStart(android.animation.Animator) for any listeners of this animator.

The animation started by calling this method will be run on the thread that called this method. This thread should have a Looper on it (a runtime exception will be thrown if this is not the case). Also, if the animation will animate properties of objects in the view hierarchy, then the calling thread should be the UI thread for that view hierarchy.


The documentation for this class was generated from the following file: