MotionWidget
class MotionWidget : TypedValues
Summary
Nested types |
|---|
class MotionWidget.Motion |
class MotionWidget.PropertySet |
Constants |
|
|---|---|
const Int |
FILL_PARENT = -1 |
const Int |
GONE_UNSET = -2147483648 |
const Int |
INVISIBLE = 0 |
const Int |
MATCH_CONSTRAINT = 0 |
const Int |
|
const Int |
MATCH_PARENT = -1 |
const Int |
PARENT_ID = 0 |
const Int |
|
const Int |
ROTATE_NONE = 0 |
const Int |
|
const Int |
|
const Int |
|
const Int |
UNSET = -1 |
const Int |
|
const Int |
|
const Int |
VISIBLE = 4 |
const Int |
WRAP_CONTENT = -2 |
Public constructors |
|---|
MotionWidget(f: WidgetFrame!) |
Inherited Constants |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Constants
Public constructors
Public functions
setCustomAttribute
Added in 1.1.1
fun setCustomAttribute(name: String!, type: Int, value: Boolean): Unit
setCustomAttribute
Added in 1.1.1
fun setCustomAttribute(name: String!, type: Int, value: Float): Unit
setCustomAttribute
Added in 1.1.1
fun setCustomAttribute(name: String!, type: Int, value: Int): Unit
setCustomAttribute
Added in 1.1.1
fun setCustomAttribute(name: String!, type: Int, value: String!): Unit
setInterpolatedValue
Added in 1.1.1
fun setInterpolatedValue(attribute: CustomAttribute!, mCache: FloatArray!): Unit
setValue
Added in 1.1.1
fun setValue(id: Int, value: Boolean): Boolean
Used to set boolean values
| Returns | |
|---|---|
Boolean |
true if it accepted the value |
setValue
Added in 1.1.1
fun setValue(id: Int, value: Float): Boolean
Used to set float values
| Returns | |
|---|---|
Boolean |
true if it accepted the value |
setValue
Added in 1.1.1
fun setValue(id: Int, value: Int): Boolean
Used to set integer values
| Returns | |
|---|---|
Boolean |
true if it accepted the value |
setValue
Added in 1.1.1
fun setValue(id: Int, value: String!): Boolean
Used to set String values
| Returns | |
|---|---|
Boolean |
true if it accepted the value |
setValueAttributes
Added in 1.1.1
fun setValueAttributes(id: Int, value: Float): Boolean
Sets the attributes
updateMotion
Added in 1.1.1
fun updateMotion(toUpdate: TypedValues!): Unit
This populates the motion attributes from widgetFrame to the MotionWidget