public static class Animator.CurveType extends Object
curve types include ACCELERATE, ACCELERATE_DECELERATE, ANTICIPATE,
ANTICIPATE_OVERSHOOT, BOUNCE, CUBIC_HERMITE, CYCLE, DECELERATE,
LINEAR, OVERSHOOT, SMOOTH_STEP, and SPRING.
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
ACCELERATE |
Indicates a curve in which the animation starts slowly and accelerates gradually.
|
static int |
ACCELERATE_DECELERATE |
Indicates a curve in which the animation starts slowly,
then accelerates through the middle, and finally decelerates.
|
static int |
ANTICIPATE |
Indicates a curve in which the animation starts moving backwards and then swings forwards quickly.
|
static int |
ANTICIPATE_OVERSHOOT |
Indicates a curve in which the animation starts moving backwards,
then swings forwards quickly and overshoots the target, and finally returns to the target.
|
static int |
BOUNCE |
Indicates a curve in which an animation accelerates towards the target
and then bounces several times at the target.
|
static int |
CUBIC_BEZIER_ACCELERATION |
Indicates the preset curve for animation acceleration.
|
static int |
CUBIC_BEZIER_DECELERATION |
Indicates the preset curve for animation deceleration.
|
static int |
CUBIC_BEZIER_EXTREME_DECELERATION |
Indicates the preset curve for extreme animation deceleration.
|
static int |
CUBIC_BEZIER_FRICTION |
Indicates the preset curve for a friction-based animation.
|
static int |
CUBIC_BEZIER_RHYTHM |
Indicates the preset rhythm curve.
|
static int |
CUBIC_BEZIER_SHARP |
Indicates the preset sharp curve.
|
static int |
CUBIC_BEZIER_SMOOTH |
Indicates the preset smooth curve.
|
static int |
CUBIC_BEZIER_STANDARD |
Indicates the preset standard curve.
|
static int |
CUBIC_HERMITE |
Indicates a curve in which the animation accelerates to pass the mid-point,
then moves backwards, and finally accelerates to reach the target.
|
static int |
CUSTOMIZED |
Indicates a curve defined in java instead of in native
|
static int |
CYCLE |
Indicates a curve in which the animation repeats to move in the sinusoidal pattern at the start.
|
static int |
DECELERATE |
Indicates a curve in which an animation starts quickly and then decelerates gradually.
|
static int |
INVALID |
Indicates an invalid curve type.
|
static int |
LINEAR |
Indicates a curve in which the animation moves at a constant speed in the linear pattern.
|
static int |
OVERSHOOT |
Indicates a curve in which the animation moves forwards and overshoots the target,
and then returns to the target.
|
static int |
PHYSICAL_FLING |
Indicates the preset curve for a fling-based animation.
|
static int |
PHYSICAL_SPRING |
Indicates the preset curve for a spring-based animation.
|
static int |
SMOOTH_STEP |
Indicates a curve in which the animation starts slowly, then accelerates through the middle,
and finally decelerates, with a speed variation smaller than that in
ACCELERATE_DECELERATE
throughout the process. |
static int |
SPRING |
Indicates a curve in which the animation reaches the target quickly and
then oscillates at the target several times.
|
| 构造器 | 说明 |
|---|---|
CurveType() |
public static final int ACCELERATE
public static final int ACCELERATE_DECELERATE
public static final int ANTICIPATE
public static final int ANTICIPATE_OVERSHOOT
public static final int BOUNCE
public static final int CUBIC_BEZIER_ACCELERATION
public static final int CUBIC_BEZIER_DECELERATION
public static final int CUBIC_BEZIER_EXTREME_DECELERATION
public static final int CUBIC_BEZIER_FRICTION
public static final int CUBIC_BEZIER_RHYTHM
public static final int CUBIC_BEZIER_SHARP
public static final int CUBIC_BEZIER_SMOOTH
public static final int CUBIC_BEZIER_STANDARD
public static final int CUBIC_HERMITE
public static final int CUSTOMIZED
public static final int CYCLE
public static final int DECELERATE
public static final int INVALID
public static final int LINEAR
public static final int OVERSHOOT
public static final int PHYSICAL_FLING
public static final int PHYSICAL_SPRING
public static final int SMOOTH_STEP
ACCELERATE_DECELERATE
throughout the process.public static final int SPRING