Public Methods | ||
void | () 取消动画 Cancel the animation. | |
long | () Compute a hint at how long the entire animation may last, in milliseconds. | |
int | () Returns the background color behind the animation. | |
boolean | () Return value of . | |
long | () 得到时间 How long this animation should last | |
boolean | () 是否为后加载 If fillAfter is true, this animation will apply its transformation after the end time of the animation. | |
boolean | () 是否为前加载 If fillBefore is true, this animation will apply its transformation before the start time of the animation. | |
() 得到加速器 Gets the acceleration curve type for this animation. | ||
int | () 得到重复次数 Defines how many times the animation should repeat. | |
int | () Defines what this animation should do when it reaches the end. | |
long | () 得到隔多长时间开始 When this animation should start, relative to StartTime | |
long | () 得到开始时间 When this animation should start. | |
boolean | (long currentTime, outTransformation, float scale) Gets the transformation to apply at a specified point in time. | |
boolean | (long currentTime, outTransformation) Gets the transformation to apply at a specified point in time. | |
int | () Returns the Z ordering mode to use while running the animation as previously set by . | |
boolean | () 判断动画是否结束 Indicates whether this animation has ended or not. | |
boolean | () 判断动画是否开始 Indicates whether this animation has started or not. | |
void | (int width, int height, int parentWidth, int parentHeight) Initialize this animation with the dimensions of the object being animated as well as the objects parents. | |
boolean | () If fillEnabled is true, this animation will apply the value of fillBefore. | |
boolean | () Whether or not the animation has been initialized. | |
void | () Reset the initialization state of this animation. | |
void | (long durationMillis) Ensure that the duration that this animation will run is not longer than durationMillis. | |
void | (float scale) How much to scale the duration by. | |
void | ( listener)设置监听动画开始结束... Binds an animation listener to this animation. | |
void | (int bg) 设置背景色 Set background behind animation. | |
void | (boolean detachWallpaper) If detachWallpaper is true, and this is a window animation of a window that has a wallpaper background, then the window will be detached from the wallpaper while it runs. | |
void | (long durationMillis) 设置时长 How long this animation should last. | |
void | (boolean fillAfter) 设置后加载 If fillAfter is true, the transformation that this animation performed will persist when it is finished. | |
void | (boolean fillBefore) 设置前加载 If fillBefore is true, this animation will apply its transformation before the start time of the animation. | |
void | (boolean fillEnabled) If fillEnabled is true, the animation will apply the value of fillBefore. | |
void | ( context, int resID) 设置加速器 Sets the acceleration curve for this animation. | |
void | ( i) 设置加速器 Sets the acceleration curve for this animation. | |
void | (int repeatCount) 设置重复次数 Sets how many times the animation should be repeated. | |
void | (int repeatMode) Defines what this animation should do when it reaches the end. | |
void | (long startOffset) 设置开始后间隔 When this animation should start relative to the start time. | |
void | (long startTimeMillis) 设置开始时间 When this animation should start. | |
void | (int zAdjustment) 设置叠放次序 Set the Z ordering mode to use while running the animation. | |
void | () 开始动画 Convenience method to start the animation the first time is invoked. | |
void | () 立即开始 Convenience method to start the animation at the current time in milliseconds. | |
boolean | () Indicates whether or not this animation will affect the bounds of the animated view.
| |
boolean | () Indicates whether or not this animation will affect the transformation matrix.
|