Android APIs
public class


extends BaseInterpolator
implements NativeInterpolatorFactory
   ↳ android.view.animation.BaseInterpolator
     ↳ android.view.animation.AnticipateInterpolator

Class Overview

An interpolator where the change starts backward then flings forward.


Public Constructors
AnticipateInterpolator(float tension)
AnticipateInterpolator(Context context, AttributeSet attrs)
Public Methods
float getInterpolation(float t)
Inherited Methods
From class java.lang.Object
From interface
From interface android.animation.TimeInterpolator

Public Constructors

public AnticipateInterpolator ()

Added in API level 4

public AnticipateInterpolator (float tension)

Added in API level 4

tension Amount of anticipation. When tension equals 0.0f, there is no anticipation and the interpolator becomes a simple acceleration interpolator.

public AnticipateInterpolator (Context context, AttributeSet attrs)

Added in API level 4

Public Methods

public float getInterpolation (float t)

Added in API level 4