Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 4

BounceInterpolator

public class BounceInterpolator
extends BaseInterpolator implements NativeInterpolatorFactory

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


An interpolator where the change bounces at the end.

Summary

Public constructors

BounceInterpolator()
BounceInterpolator(Context context, AttributeSet attrs)

Public methods

float getInterpolation(float t)

Inherited methods

Public constructors

BounceInterpolator

added in API level 4
public BounceInterpolator ()

BounceInterpolator

added in API level 4
public BounceInterpolator (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

Public methods

getInterpolation

added in API level 4
public float getInterpolation (float t)

Parameters
t float

Returns
float