belongs to Maven artifact com.android.support:support-dynamic-animation:28.0.0-alpha1
DynamicAnimation
public
abstract
class
DynamicAnimation
extends Object
java.lang.Object | |
↳ | android.support.animation.DynamicAnimation<T extends android.support.animation.DynamicAnimation<T>> |
![]() |
This class is the base class of physics-based animations. It manages the animation's
lifecycle such as start()
and cancel()
. This base class also handles the common
setup for all the subclass animations. For example, DynamicAnimation supports adding
DynamicAnimation.OnAnimationEndListener
and DynamicAnimation.OnAnimationUpdateListener
so that the important
animation events can be observed through the callbacks. The start conditions for any subclass of
DynamicAnimation can be set using setStartValue(float)
and
setStartVelocity(float)
.
Summary
Nested classes | |
---|---|
interface |
DynamicAnimation.OnAnimationEndListener
An animation listener that receives end notifications from an animation. |
interface |
DynamicAnimation.OnAnimationUpdateListener
Implementors of this interface can add themselves as update listeners
to an |
class |
DynamicAnimation.ViewProperty
ViewProperty holds the access of a property of a |
Constants | |
---|---|
float |
MIN_VISIBLE_CHANGE_ALPHA
The minimum visible change in alpha that can be visible to users. |
float |
MIN_VISIBLE_CHANGE_PIXELS
The minimum visible change in pixels that can be visible to users. |
float |
MIN_VISIBLE_CHANGE_ROTATION_DEGREES
The minimum visible change in degrees that can be visible to users. |
float |
MIN_VISIBLE_CHANGE_SCALE
The minimum visible change in scale that can be visible to users. |
Fields | |
---|---|
public
static
final
DynamicAnimation.ViewProperty |
ALPHA
View's alpha property. |
public
static
final
DynamicAnimation.ViewProperty |
ROTATION
View's rotation property. |
public
static
final
DynamicAnimation.ViewProperty |
ROTATION_X
View's rotationX property. |
public
static
final
DynamicAnimation.ViewProperty |
ROTATION_Y
View's rotationY property. |
public
static
final
DynamicAnimation.ViewProperty |
SCALE_X
View's scaleX property. |
public
static
final
DynamicAnimation.ViewProperty |
SCALE_Y
View's scaleY property. |
public
static
final
DynamicAnimation.ViewProperty |
SCROLL_X
View's scrollX property. |
public
static
final
DynamicAnimation.ViewProperty |
SCROLL_Y
View's scrollY property. |
public
static
final
DynamicAnimation.ViewProperty |
TRANSLATION_X
View's translationX property. |
public
static
final
DynamicAnimation.ViewProperty |
TRANSLATION_Y
View's translationY property. |
public
static
final
DynamicAnimation.ViewProperty |
TRANSLATION_Z
View's translationZ property. |
public
static
final
DynamicAnimation.ViewProperty |
X
View's x property. |
public
static
final
|