public class ActionQueue extends BaseAnimator
Modifier and Type | Class and Description |
---|---|
static class |
ActionQueue.Action |
Animator.AnimatorListener
mAccumulating, mData, mElapsedTime, mLastDeltaTime, mLifeEnded, mLifespan, mListener, mRunning, mStartDelay, mTarget
Constructor and Description |
---|
ActionQueue() |
Modifier and Type | Method and Description |
---|---|
void |
add(ActionQueue.Action action) |
void |
clear() |
boolean |
isAutoRemove() |
boolean |
isAutoStart() |
protected ActionQueue.Action |
next() |
void |
remove(ActionQueue.Action action) |
void |
setAutoRemove(boolean autoRemove) |
void |
setAutoStart(boolean autoStart) |
void |
startElapse(int elapsedTime)
Start with a specific elapsed time
|
boolean |
update(int deltaTime) |
elapse, end, getData, getElapsedTime, getLifespan, getListener, getStartDelay, getTarget, isAccumulating, isRunning, reset, setAccumulating, setData, setElapsedTime, setLifespan, setListener, setStartDelay, setTarget, start, stop
public boolean update(int deltaTime)
update
in interface Manipulator
update
in class BaseAnimator
public void startElapse(int elapsedTime)
BaseAnimator
startElapse
in class BaseAnimator
protected ActionQueue.Action next()
public void add(ActionQueue.Action action)
public void remove(ActionQueue.Action action)
public void clear()
public boolean isAutoStart()
public void setAutoStart(boolean autoStart)
autoStart
- the autoStart to setpublic boolean isAutoRemove()
public void setAutoRemove(boolean autoRemove)