# Print output for @column tags ?> AnticipateOvershootInterpolator - Android SDK | Android Developers

Most visited

Recently visited

AnticipateOvershootInterpolator

public class AnticipateOvershootInterpolator
extends BaseInterpolator

java.lang.Object
   ↳ android.view.animation.BaseInterpolator
     ↳ android.view.animation.AnticipateOvershootInterpolator


An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value.

Summary

Public constructors

AnticipateOvershootInterpolator()
AnticipateOvershootInterpolator(float tension)
AnticipateOvershootInterpolator(float tension, float extraTension)
AnticipateOvershootInterpolator(Context context, AttributeSet attrs)

Public methods

float getInterpolation(float t)

Inherited methods

Public constructors

AnticipateOvershootInterpolator

public AnticipateOvershootInterpolator ()

AnticipateOvershootInterpolator

public AnticipateOvershootInterpolator (float tension)

Parameters
tension float: Amount of anticipation/overshoot. When tension equals 0.0f, there is no anticipation/overshoot and the interpolator becomes a simple acceleration/deceleration interpolator.

AnticipateOvershootInterpolator

public AnticipateOvershootInterpolator (float tension, 
                float extraTension)

Parameters
tension float: Amount of anticipation/overshoot. When tension equals 0.0f, there is no anticipation/overshoot and the interpolator becomes a simple acceleration/deceleration interpolator.

extraTension float: Amount by which to multiply the tension. For instance, to get the same overshoot as an OvershootInterpolator with a tension of 2.0f, you would use an extraTension of 1.5f.

AnticipateOvershootInterpolator

public AnticipateOvershootInterpolator (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

Public methods

getInterpolation

public float getInterpolation (float t)

Parameters
t float

Returns
float