|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnimationState
Time source for animations.
| Nested Class Summary | |
|---|---|
static class |
AnimationState.StateKey
An animation state key which maps each animation state name to an unique ID. |
| Method Summary | |
|---|---|
boolean |
getAnimationState(AnimationState.StateKey state)
Checks if the given state is active. |
int |
getAnimationTime(AnimationState.StateKey state)
Returns the time since the specified state has changed in ms. |
boolean |
getShouldAnimateState(AnimationState.StateKey state)
Checks if this state was changed based on user interaction or not. |
| Method Detail |
|---|
int getAnimationTime(AnimationState.StateKey state)
state - the state key.
boolean getAnimationState(AnimationState.StateKey state)
state - the state key.
boolean getShouldAnimateState(AnimationState.StateKey state)
state - the state key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||