Most visited

Recently visited

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

From class java.lang.Object
From interface com.android.internal.view.animation.NativeInterpolatorFactory
From interface android.animation.TimeInterpolator

Public constructors

BounceInterpolator

Added in API level 4
BounceInterpolator ()

BounceInterpolator

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

Parameters
context Context
attrs AttributeSet

Public methods

getInterpolation

Added in API level 4
float getInterpolation (float t)

Parameters
t float
Returns
float

Hooray!