public class ViewAnimationUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
SCALE_UP_DURATION |
| 构造器和说明 |
|---|
ViewAnimationUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SupportAnimator |
createCircularReveal(android.view.View view,
int centerX,
int centerY,
float startRadius,
float endRadius)
Returns an Animator which can animate a clipping circle.
|
static void |
liftingFromBottom(android.view.View view,
float baseRotation,
float fromY,
int duration,
int startDelay)
已过时。
|
static void |
liftingFromBottom(android.view.View view,
float baseRotation,
int duration)
已过时。
|
static void |
liftingFromBottom(android.view.View view,
float baseRotation,
int duration,
int startDelay)
已过时。
|
public static final int SCALE_UP_DURATION
public static SupportAnimator createCircularReveal(android.view.View view, int centerX, int centerY, float startRadius, float endRadius)
View Outline clipping.
Note that the animation returned here is a one-shot animation. It cannot
be re-used, and once started it cannot be paused or resumed.view - The View will be clipped to the animating circle.centerX - The x coordinate of the center of the animating circle.centerY - The y coordinate of the center of the animating circle.startRadius - The starting radius of the animating circle.endRadius - The ending radius of the animating circle.@Deprecated public static void liftingFromBottom(android.view.View view, float baseRotation, float fromY, int duration, int startDelay)
view - The animation targetbaseRotation - initial Rotation X in 3D spacefromY - initial Y position of viewduration - aniamtion durationstartDelay - start delay before animation begin@Deprecated public static void liftingFromBottom(android.view.View view, float baseRotation, int duration, int startDelay)
view - The animation targetbaseRotation - initial Rotation X in 3D spaceduration - aniamtion durationstartDelay - start delay before animation begin@Deprecated public static void liftingFromBottom(android.view.View view, float baseRotation, int duration)
view - The animation targetbaseRotation - initial Rotation X in 3D spaceduration - aniamtion duration