public class AnimatorUtils
extends java.lang.Object
| Constructor and Description |
|---|
AnimatorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPauseListener(android.animation.Animator animator,
android.animation.Animator.AnimatorPauseListener listener) |
static boolean |
hasOverlappingRendering(android.view.View view) |
static boolean |
isAnimatorStarted(android.animation.Animator anim) |
static android.animation.ObjectAnimator |
ofFloat(android.view.View view,
android.util.Property<android.view.View,java.lang.Float> property,
float startFraction,
float endFraction) |
static android.animation.ObjectAnimator |
ofInt(android.view.View view,
android.util.Property<android.view.View,java.lang.Integer> property,
float startFraction,
float endFraction) |
static <T> android.animation.Animator |
ofPointF(T target,
PointFProperty<T> property,
float startLeft,
float startTop,
float endLeft,
float endTop) |
static <T> android.animation.Animator |
ofPointF(T target,
PointFProperty<T> property,
android.graphics.Path path) |
static <T> android.animation.Animator |
ofPointF(T target,
PointFProperty<T> property,
PathMotion pathMotion,
float startLeft,
float startTop,
float endLeft,
float endTop) |
static void |
pause(android.animation.Animator animator) |
static void |
resume(android.animation.Animator animator) |
public static void addPauseListener(android.animation.Animator animator,
android.animation.Animator.AnimatorPauseListener listener)
public static void pause(android.animation.Animator animator)
public static void resume(android.animation.Animator animator)
public static <T> android.animation.Animator ofPointF(T target,
PointFProperty<T> property,
float startLeft,
float startTop,
float endLeft,
float endTop)
public static <T> android.animation.Animator ofPointF(T target,
PointFProperty<T> property,
android.graphics.Path path)
public static <T> android.animation.Animator ofPointF(T target,
PointFProperty<T> property,
PathMotion pathMotion,
float startLeft,
float startTop,
float endLeft,
float endTop)
public static boolean isAnimatorStarted(android.animation.Animator anim)
public static boolean hasOverlappingRendering(android.view.View view)
public static android.animation.ObjectAnimator ofFloat(android.view.View view,
android.util.Property<android.view.View,java.lang.Float> property,
float startFraction,
float endFraction)
public static android.animation.ObjectAnimator ofInt(android.view.View view,
android.util.Property<android.view.View,java.lang.Integer> property,
float startFraction,
float endFraction)