Android APIs
public class


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

Class Overview

An interpolator where the change flings forward and overshoots the last value then comes back.


Public Constructors
OvershootInterpolator(float tension)
OvershootInterpolator(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 OvershootInterpolator ()

Added in API level 4

public OvershootInterpolator (float tension)

Added in API level 4

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

public OvershootInterpolator (Context context, AttributeSet attrs)

Added in API level 4

Public Methods

public float getInterpolation (float t)

Added in API level 4