Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 21 of 21) sorted by relevance

/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/motion/utils/
DViewTimeCycle.java49 public abstract boolean setProperty(View view, float t, long time, KeyCache cache); in setProperty() argument
59 public float get(float pos, long time, View view, KeyCache cache) { in get() argument
67 mLastCycle = cache.getFloatValue(view, mType, 0); // check the cache in get()
74 cache.setFloatValue(view, mType, 0, mLastCycle); in get()
149 public boolean setProperty(View view, float t, long time, KeyCache cache) { in setProperty() argument
151 view.setElevation(get(t, time, view, cache)); in setProperty()
159 public boolean setProperty(View view, float t, long time, KeyCache cache) { in setProperty() argument
160 view.setAlpha(get(t, time, view, cache)); in setProperty()
167 public boolean setProperty(View view, float t, long time, KeyCache cache) { in setProperty() argument
168 view.setRotation(get(t, time, view, cache)); in setProperty()
[all …]
/constraintlayout/constraintlayout-core/src/test/java/androidx/constraintlayout/core/motion/
DMotionKeyPositionTest.java43 KeyCache cache = new KeyCache(); in keyPosition1() local
55 motion.interpolate(res, p, 1000000 + (int) (p * 100), cache); in keyPosition1()
59 motion.interpolate(res, 0.5f, 1000000 + 1000, cache); in keyPosition1()
74 KeyCache cache = new KeyCache(); in keyPosition2() local
83 motion.interpolate(res, 0.5f, 1000000 + (int) (0.5 * 100), cache); in keyPosition2()
87 motion.interpolate(res, p, 1000000 + (int) (p * 100), cache); in keyPosition2()
91 motion.interpolate(res, 0.5f, 1000000 + 1000, cache); in keyPosition2()
104 KeyCache cache = new KeyCache(); in keyPosition3() local
125 motion.interpolate(res, 0.5f, 1000000 + (int) (0.5 * 100), cache); in keyPosition3()
131 motion.interpolate(res, p, 1000000 + (int) (p * 100), cache); in keyPosition3()
[all …]
DMotionControlTest.java41 KeyCache cache = new KeyCache(); in simpleLinear() local
52 motion.interpolate(res, p, 1000000 + (int) (p * 100), cache); in simpleLinear()
56 motion.interpolate(res, 0.5f, 1000000 + 1000, cache); in simpleLinear()
69 KeyCache cache = new KeyCache(); in archMode1() local
81 motion.interpolate(res, p, 1000000 + (int) (p * 100), cache); in archMode1()
85 motion.interpolate(res, 0.5f, 1000000 + 1000, cache); in archMode1()
99 KeyCache cache = new KeyCache(); in archMode2() local
108 motion.interpolate(res, 0.5f, 1000000 + (int) (0.5 * 100), cache); in archMode2()
112 motion.interpolate(res, p, 1000000 + (int) (p * 100), cache); in archMode2()
116 motion.interpolate(res, 0.5f, 1000000 + 1000, cache); in archMode2()
[all …]
DMotionBenchmarkTest.java35 KeyCache cache = new KeyCache(); in setUpMotionController() local
54 motion.interpolate(res, 0.1f, 1000000 + (int) (0.5 * 100), cache); in setUpMotionController()
62 KeyCache cache = new KeyCache(); in setUpMotionArcController() local
82 motion.interpolate(res, 0.1f, 1000000 + (int) (0.5 * 100), cache); in setUpMotionArcController()
DMotionKeyAttributesTest.java40 KeyCache cache = new KeyCache(); in attributes() local
54 motion.interpolate(res, p * 0.1f, 1000000 + (int) (p * 100), cache); in attributes()
58 motion.interpolate(res, 0.5f, 1000000 + 1000, cache); in attributes()
/constraintlayout/constraintlayout-core/src/test/java/androidx/constraintlayout/core/
DArrayLinkedVariablesTest.java30 Cache cache = new Cache(); in testNestedLayout() local
31 ArrayRow row = new ArrayRow(cache); in testNestedLayout()
32 ArrayLinkedVariables variables = new ArrayLinkedVariables(row, cache); in testNestedLayout()
38 cache.mIndexedVariables[i] = v[i]; in testNestedLayout()
DArrayBackedVariables.java36 ArrayBackedVariables(ArrayRow arrayRow, Cache cache) { in ArrayBackedVariables() argument
/constraintlayout/constraintlayout-core/src/main/java/androidx/constraintlayout/core/widgets/
DWidgetContainer.java172 public void resetSolverVariables(Cache cache) { in resetSolverVariables() argument
173 super.resetSolverVariables(cache); in resetSolverVariables()
177 widget.resetSolverVariables(cache); in resetSolverVariables()
DConstraintWidget.java858 public void resetSolverVariables(Cache cache) { in resetSolverVariables() argument
859 mLeft.resetSolverVariable(cache); in resetSolverVariables()
860 mTop.resetSolverVariable(cache); in resetSolverVariables()
861 mRight.resetSolverVariable(cache); in resetSolverVariables()
862 mBottom.resetSolverVariable(cache); in resetSolverVariables()
863 mBaseline.resetSolverVariable(cache); in resetSolverVariables()
864 mCenter.resetSolverVariable(cache); in resetSolverVariables()
865 mCenterX.resetSolverVariable(cache); in resetSolverVariables()
866 mCenterY.resetSolverVariable(cache); in resetSolverVariables()
DConstraintAnchor.java160 public void resetSolverVariable(Cache cache) { in resetSolverVariable() argument
/constraintlayout/constraintlayout-core/src/main/java/androidx/constraintlayout/core/
DGoalRow.java21 public GoalRow(Cache cache) { in GoalRow() argument
22 super(cache); in GoalRow()
DPriorityGoalRow.java150 public PriorityGoalRow(Cache cache) { in PriorityGoalRow() argument
151 super(cache); in PriorityGoalRow()
152 mCache = cache; in PriorityGoalRow()
DArrayLinkedVariables.java110 ArrayLinkedVariables(ArrayRow arrayRow, Cache cache) { in ArrayLinkedVariables() argument
112 mCache = cache; in ArrayLinkedVariables()
DSolverVariableValues.java47 SolverVariableValues(ArrayRow row, Cache cache) { in SolverVariableValues() argument
49 mCache = cache; in SolverVariableValues()
DArrayRow.java92 public ArrayRow(Cache cache) { in ArrayRow() argument
93 variables = new ArrayLinkedVariables(this, cache); in ArrayRow()
DLinearSystem.java89 ValuesRow(Cache cache) { in ValuesRow() argument
90 variables = new SolverVariableValues(this, cache); in ValuesRow()
/constraintlayout/constraintlayout-core/src/main/java/androidx/constraintlayout/core/motion/utils/
DTimeCycleSplineSet.java158 public boolean setProperty(MotionWidget view, float t, long time, KeyCache cache) { in setProperty() argument
165 mLastCycle = cache.getFloatValue(view, mAttributeName, 0); // check the cache in setProperty()
318 public boolean setProperty(MotionWidget view, float t, long time, KeyCache cache) { in setProperty() argument
325 mLastCycle = cache.getFloatValue(view, mAttributeName, 0); // check the cache in setProperty()
/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/motion/widget/
DMotionScene.java322 RectF cache = new RectF(); in bestTransitionFor() local
329 RectF region = transition.mTouchResponse.getTouchRegion(mMotionLayout, cache); in bestTransitionFor()
334 region = transition.mTouchResponse.getLimitBoundsTo(mMotionLayout, cache); in bestTransitionFor()
1669 RectF cache = new RectF(); in processTouchEvent() local
1694 .getLimitBoundsTo(mMotionLayout, cache); in processTouchEvent()
1702 .getTouchRegion(mMotionLayout, cache); in processTouchEvent()
1741 .mTouchResponse.getTouchRegion(mMotionLayout, cache); in processTouchEvent()
/constraintlayout/constraintlayout-core/src/test/java/androidx/constraintlayout/core/widgets/
DBasicSolverVariableValues.java47 BasicSolverVariableValues(ArrayRow row, Cache cache) { in BasicSolverVariableValues() argument
/constraintlayout/constraintlayout/api/
Dapi_lint.ignore447 Missing nullability on parameter `cache` in method `get`
461 Missing nullability on parameter `cache` in method `setProperty`
471 Missing nullability on parameter `cache` in method `setProperty`
475 Missing nullability on parameter `cache` in method `setPathRotate`
479 Missing nullability on parameter `cache` in method `setProperty`
/constraintlayout/constraintlayout-core/api/
Dapi_lint.ignore727 Missing nullability on parameter `cache` in method `ArrayRow`
853 Missing nullability on parameter `cache` in method `GoalRow`
945 Missing nullability on parameter `cache` in method `PriorityGoalRow`
2097 Missing nullability on parameter `cache` in method `setProperty`
2107 Missing nullability on parameter `cache` in method `setProperty`
3291 Missing nullability on parameter `cache` in method `resetSolverVariable`
3409 Missing nullability on parameter `cache` in method `resetSolverVariables`
3553 Missing nullability on parameter `cache` in method `resetSolverVariables`