Android APIs
public class

OvershootInterpolator

extends BaseInterpolator
implements NativeInterpolatorFactory
java.lang.Object
   ↳ 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.

Summary

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

Added in API level 4

public OvershootInterpolator (float tension)

Added in API level 4

Parameters
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