public class MotionKeyTimeCycle extends MotionKey
TypedValues.AttributesType, TypedValues.Custom, TypedValues.CycleType, TypedValues.MotionScene, TypedValues.MotionType, TypedValues.OnSwipe, TypedValues.PositionType, TypedValues.TransitionType, TypedValues.TriggerType| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_TYPE |
ALPHA, CUSTOM, ELEVATION, mCustom, mFramePosition, mType, ROTATION, ROTATION_X, SCALE_X, SCALE_Y, TRANSITION_PATH_ROTATE, TRANSLATION_X, TRANSLATION_Y, UNSET, VISIBILITYBOOLEAN_MASK, FLOAT_MASK, INT_MASK, S_CUSTOM, STRING_MASK, TYPE_FRAME_POSITION, TYPE_TARGET| Constructor and Description |
|---|
MotionKeyTimeCycle() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTimeValues(java.util.HashMap<java.lang.String,TimeCycleSplineSet> splines) |
void |
addValues(java.util.HashMap<java.lang.String,SplineSet> splines)
Defines method to add a a view to splines derived form this key frame.
|
MotionKey |
clone() |
MotionKeyTimeCycle |
copy(MotionKey src) |
void |
getAttributeNames(java.util.HashSet<java.lang.String> attributes) |
int |
getId(java.lang.String name) |
boolean |
setValue(int type,
boolean value)
Used to set boolean values
|
boolean |
setValue(int type,
float value)
Used to set float values
|
boolean |
setValue(int type,
int value)
Used to set integer values
|
boolean |
setValue(int type,
java.lang.String value)
Used to set String values
|
getFramePosition, setCustomAttribute, setCustomAttribute, setCustomAttribute, setCustomAttribute, setFramePosition, setInterpolation, setViewIdpublic static final int KEY_TYPE
public void addTimeValues(java.util.HashMap<java.lang.String,TimeCycleSplineSet> splines)
public void addValues(java.util.HashMap<java.lang.String,SplineSet> splines)
MotionKeypublic boolean setValue(int type,
int value)
TypedValuessetValue in interface TypedValuessetValue in class MotionKeypublic boolean setValue(int type,
float value)
TypedValuessetValue in interface TypedValuessetValue in class MotionKeypublic boolean setValue(int type,
java.lang.String value)
TypedValuessetValue in interface TypedValuessetValue in class MotionKeypublic boolean setValue(int type,
boolean value)
TypedValuessetValue in interface TypedValuessetValue in class MotionKeypublic MotionKeyTimeCycle copy(MotionKey src)
public void getAttributeNames(java.util.HashSet<java.lang.String> attributes)
getAttributeNames in class MotionKeypublic int getId(java.lang.String name)