public class ViewAnimationUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ViewAnimationUtils.SimpleAnimationListener |
| Modifier and Type | Field and Description |
|---|---|
static int |
SCALE_UP_DURATION |
| Constructor and Description |
|---|
ViewAnimationUtils() |
| Modifier and Type | Method and Description |
|---|---|
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)
Lifting view
|
static void |
liftingFromBottom(android.view.View view,
float baseRotation,
int duration)
Lifting view
|
static void |
liftingFromBottom(android.view.View view,
float baseRotation,
int duration,
int startDelay)
Lifting view
|
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.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 - animation durationstartDelay - start delay before animation beginpublic 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 beginpublic static void liftingFromBottom(android.view.View view,
float baseRotation,
int duration)
view - The animation targetbaseRotation - initial Rotation X in 3D spaceduration - animation duration