Android APIs
public class

AnticipateInterpolator

extends BaseInterpolator
implements NativeInterpolatorFactory
java.lang.Object
   ↳ android.view.animation.BaseInterpolator
     ↳ android.view.animation.AnticipateInterpolator

Class Overview

An interpolator where the change starts backward then flings forward.

Summary

Public Constructors
AnticipateInterpolator()
AnticipateInterpolator(float tension)
AnticipateInterpolator(Context context, AttributeSet attrs)
Public Methods
float getInterpolation(float t)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.internal.view.animation.NativeInterpolatorFactory
From interface android.animation.TimeInterpolator

Public Constructors

public AnticipateInterpolator ()

Added in API level 4

public AnticipateInterpolator (float tension)

Added in API level 4

Parameters
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