public class KeyFrames


The parses the KeyFrame structure in a MotionScene xml

Summary

Constants

static final int
UNSET = -1

Public constructors

KeyFrames(Context context, XmlPullParser parser)

Public methods

void
addAllFrames(MotionController motionController)

Do not filter the set by matches

void
addFrames(MotionController motionController)

add the key frames to the motion controller

void
addKey(Key key)

Add a key to this set of keyframes

ArrayList<Key>

Get the list of keyframes given and ID

Set<Integer>

Constants

UNSET

Added in 2.2.0-alpha13
public static final int UNSET = -1

Public constructors

KeyFrames

Added in 2.2.0-alpha13
public KeyFrames()

KeyFrames

Added in 2.2.0-alpha13
public KeyFrames(Context context, XmlPullParser parser)

Public methods

addAllFrames

Added in 2.2.0-alpha13
public void addAllFrames(MotionController motionController)

Do not filter the set by matches

Parameters
MotionController motionController

addFrames

Added in 2.2.0-alpha13
public void addFrames(MotionController motionController)

add the key frames to the motion controller

Parameters
MotionController motionController

addKey

Added in 2.2.0-alpha13
public void addKey(Key key)

Add a key to this set of keyframes

Parameters
Key key

getKeyFramesForView

Added in 2.2.0-alpha13
public ArrayList<KeygetKeyFramesForView(int id)

Get the list of keyframes given and ID

Parameters
int id
Returns
ArrayList<Key>

getKeys

Added in 2.2.0-alpha13
public Set<IntegergetKeys()