TypedValues
public interface TypedValues
MotionKey |
Base class in an element in a KeyFrame |
MotionWidget |
|
Motion |
Contains the picture of a view through a transition and is used to interpolate it. |
Transition |
Provides an interface to values used in KeyFrames and in Starting and Ending Widgets
Summary
Nested types |
|---|
public interface TypedValues.AttributesType |
public interface TypedValues.Custom |
public interface TypedValues.CycleType |
public interface TypedValues.MotionScene |
public interface TypedValues.MotionType |
public interface TypedValues.OnSwipe |
public interface TypedValues.PositionType |
public interface TypedValues.TransitionType |
public interface TypedValues.TriggerType |
Constants |
|
|---|---|
default static final int |
BOOLEAN_MASK = 1 |
default static final int |
FLOAT_MASK = 4 |
default static final int |
INT_MASK = 2 |
default static final int |
STRING_MASK = 8 |
default static final String |
S_CUSTOM = "CUSTOM" |
default static final int |
TYPE_FRAME_POSITION = 100 |
default static final int |
TYPE_TARGET = 101 |
Public methods |
|
|---|---|
abstract int |
|
abstract boolean |
setValue(int id, boolean value)Used to set boolean values |
abstract boolean |
setValue(int id, float value)Used to set float values |
abstract boolean |
setValue(int id, int value)Used to set integer values |
abstract boolean |
Used to set String values |
Constants
Public methods
setValue
Added in 1.1.1
abstract boolean setValue(int id, boolean value)
Used to set boolean values
| Returns | |
|---|---|
boolean |
true if it accepted the value |
setValue
Added in 1.1.1
abstract boolean setValue(int id, float value)
Used to set float values
| Returns | |
|---|---|
boolean |
true if it accepted the value |