public class BounceInterpolator
extends BaseInterpolator
implements NativeInterpolatorFactory
java.lang.Object | ||
↳ | android.view.animation.BaseInterpolator | |
↳ | android.view.animation.BounceInterpolator |
插值器,其中变化在最后反弹。
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
|
BounceInterpolator (Context context, AttributeSet attrs)
Parameters | |
---|---|
context |
Context
|
attrs |
AttributeSet
|
float getInterpolation (float t)
Parameters | |
---|---|
t |
float
|
Returns | |
---|---|
float |