public class AnimationSet extends Animation
Animation.AnimationListener, Animation.RepeatMode
bdAnimation
Constructor and Description |
---|
AnimationSet() |
Modifier and Type | Method and Description |
---|---|
void |
addAnimation(Animation animation)
向 Marker 动画集合中添加动画
|
void |
cancel()
取消 Marker 动画
|
void |
setAnimationListener(Animation.AnimationListener animationListener)
设置 Marker 动画监听
|
void |
setAnimatorSetMode(int combinationMode)
设置 Marker 集合动画播放模式 0:组合播放 1:顺序播放
|
void |
setDuration(long duration)
设置 Marker 动画执行时间
|
void |
setInterpolator(Interpolator interpolator)
设置 Marker 动画插值器
|
public void setAnimationListener(Animation.AnimationListener animationListener)
setAnimationListener
in class Animation
animationListener
- Marker 动画监听public void setDuration(long duration)
setDuration
in class Animation
duration
- Marker 动画执行时间public void setInterpolator(Interpolator interpolator)
setInterpolator
in class Animation
interpolator
- Marker 动画插值器 (与系统动画插值器一致)public void addAnimation(Animation animation)
public void setAnimatorSetMode(int combinationMode)
combinationMode
- 默认为0:组合播放