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 |
|
|---|---|
java.lang.Object
|
|
com.android.internal.view.animation.NativeInterpolatorFactory
|
|
android.animation.TimeInterpolator
|
|
BounceInterpolator (Context context, AttributeSet attrs)
| Parameters | |
|---|---|
context |
Context
|
attrs |
AttributeSet
|
float getInterpolation (float t)
| Parameters | |
|---|---|
t |
float
|
| Returns | |
|---|---|
float |
|