public class CycleInterpolator
extends BaseInterpolator implements NativeInterpolatorFactory
| java.lang.Object | ||
| android.view.animation.BaseInterpolator | ||
| android.view.animation.CycleInterpolator | ||
将动画重复指定的循环次数。 变化率遵循正弦模式。
Public constructors |
|
|---|---|
CycleInterpolator(float cycles) |
|
CycleInterpolator(Context context, AttributeSet attrs) |
|
公共方法(Public methods) |
|
|---|---|
float |
getInterpolation(float input) |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
com.android.internal.view.animation.NativeInterpolatorFactory
|
|
android.animation.TimeInterpolator
|
|
CycleInterpolator (Context context, AttributeSet attrs)
| 参数(Parameters) | |
|---|---|
context |
Context
|
attrs |
AttributeSet
|
float getInterpolation (float input)
| 参数(Parameters) | |
|---|---|
input |
float
|
| 返回(Returns) | |
|---|---|
float |
|