Stay organized with collections
Save and categorize content based on your preferences.
public class MotionKeyPosition extends MotionKey
Summary
Constants |
static final float |
|
static final int |
|
static final int |
|
static final int |
|
Public fields |
float |
|
float |
|
int |
|
int |
|
int |
|
float |
|
float |
|
float |
|
float |
|
int |
|
String |
|
Public methods |
void |
|
MotionKey |
|
MotionKey |
|
void |
|
int |
|
boolean |
|
void |
|
boolean |
Used to set float values
|
boolean |
Used to set integer values
|
boolean |
Used to set String values
|
Inherited methods |
From androidx.constraintlayout.core.motion.key.MotionKey
int |
Gets the current frame position
|
void |
|
void |
|
void |
|
void |
|
void |
sets the frame position
|
void |
Key frame can specify the type of interpolation it wants on various attributes For each string it set it to -1, CurveFit.LINEAR or CurveFit.SPLINE
|
boolean |
Used to set boolean values
|
MotionKey |
|
|
From androidx.constraintlayout.core.motion.utils.TypedValues
abstract boolean |
Used to set boolean values
|
abstract boolean |
Used to set float values
|
abstract boolean |
Used to set integer values
|
abstract boolean |
Used to set String values
|
|
Public methods
public boolean setValue(int type, float value)
Used to set float values
| Returns |
boolean |
true if it accepted the value
|
public boolean setValue(int type, int value)
Used to set integer values
| Returns |
boolean |
true if it accepted the value
|
public boolean setValue(int type, String value)
Used to set String values
| Returns |
boolean |
true if it accepted the value
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[]]