Class TimeCycleSplineSet.CustomSet
- java.lang.Object
-
- androidx.constraintlayout.core.motion.utils.TimeCycleSplineSet
-
- androidx.constraintlayout.core.motion.utils.TimeCycleSplineSet.CustomSet
-
- Enclosing class:
- TimeCycleSplineSet
public static class TimeCycleSplineSet.CustomSet extends TimeCycleSplineSet
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class androidx.constraintlayout.core.motion.utils.TimeCycleSplineSet
TimeCycleSplineSet.CustomSet, TimeCycleSplineSet.CustomVarSet, TimeCycleSplineSet.Sort
-
-
Field Summary
-
Fields inherited from class androidx.constraintlayout.core.motion.utils.TimeCycleSplineSet
CURVE_OFFSET, CURVE_PERIOD, CURVE_VALUE, mContinue, mCount, mCurveFit, mLastCycle, mLastTime, mTimePoints, mType, mValues, mWaveShape, sVal2PI
-
-
Constructor Summary
Constructors Constructor Description CustomSet(java.lang.String attribute, KeyFrameArray.CustomArray attrList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetPoint(int position, float value, float period, int shape, float offset)voidsetPoint(int position, CustomAttribute value, float period, int shape, float offset)booleansetProperty(MotionWidget view, float t, long time, KeyCache cache)voidsetup(int curveType)-
Methods inherited from class androidx.constraintlayout.core.motion.utils.TimeCycleSplineSet
calcWave, getCurveFit, setStartTime, setType, toString
-
-
-
-
Constructor Detail
-
CustomSet
public CustomSet(java.lang.String attribute, KeyFrameArray.CustomArray attrList)
-
-
Method Detail
-
setup
public void setup(int curveType)
- Overrides:
setupin classTimeCycleSplineSet
-
setPoint
public void setPoint(int position, float value, float period, int shape, float offset)- Overrides:
setPointin classTimeCycleSplineSet
-
setPoint
public void setPoint(int position, CustomAttribute value, float period, int shape, float offset)
-
setProperty
public boolean setProperty(MotionWidget view, float t, long time, KeyCache cache)
-
-