Home
last modified time | relevance | path

Searched refs:widthMode (Results 1 – 14 of 14) sorted by relevance

/constraintlayout/constraintlayout-core/src/main/java/androidx/constraintlayout/core/widgets/
DPlaceholder.java32 public void measure(int widthMode, int widthSize, int heightMode, int heightSize) { in measure() argument
54 if (widthMode == EXACTLY) { in measure()
56 } else if (widthMode == AT_MOST) { in measure()
58 } else if (widthMode == UNSPECIFIED) { in measure()
DFlow.java256 public void measure(int widthMode, int widthSize, int heightMode, int heightSize) { in measure() argument
342 if (widthMode == EXACTLY) { in measure()
344 } else if (widthMode == AT_MOST) { in measure()
346 } else if (widthMode == UNSPECIFIED) { in measure()
DVirtualLayout.java134 public void measure(int widthMode, int widthSize, int heightMode, int heightSize) { in measure() argument
DConstraintWidgetContainer.java114 public long measure(int optimizationLevel, int widthMode, int widthSize, in measure() argument
120 widthMode, widthSize, heightMode, heightSize, in measure()
/constraintlayout/constraintlayout-core/src/main/java/androidx/constraintlayout/core/widgets/analyzer/
DBasicMeasure.java184 int widthMode, int widthSize, in solverMeasure() argument
234 optimize &= (widthMode == EXACTLY && heightMode == EXACTLY) || optimizeWrap; in solverMeasure()
246 if (widthMode == EXACTLY && layout.getWidth() != widthSize) { in solverMeasure()
254 if (widthMode == EXACTLY && heightMode == EXACTLY) { in solverMeasure()
259 if (widthMode == EXACTLY) { in solverMeasure()
269 layout.updateFromRuns(widthMode == EXACTLY, heightMode == EXACTLY); in solverMeasure()
/constraintlayout/constraintlayout-core/src/test/java/androidx/constraintlayout/core/
DFlowTest.java46 int widthMode = UNSPECIFIED;
53 widthMode = EXACTLY;
57 widthMode = EXACTLY;
67 layout.measure(widthMode, widthSize, heightMode, heightSize);
/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/helper/widget/
DMotionPlaceholder.java62 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
67 layout.measure(widthMode, widthSize, heightMode, heightSize); in onMeasure()
DFlow.java182 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
187 layout.measure(widthMode, widthSize, heightMode, heightSize); in onMeasure()
/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/
DMeasurer.kt493 val widthMode = in <lambda>() constant
506 widthMode, in <lambda>()
DConstraintLayout.kt2042 val widthMode = in setLayoutInformation() constant
2055 widthMode, in setLayoutInformation()
/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/utils/widget/
DMotionLabel.java653 int widthMode = View.MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
666 if (widthMode != View.MeasureSpec.EXACTLY || heightMode != View.MeasureSpec.EXACTLY) { in onMeasure()
669 if (widthMode != View.MeasureSpec.EXACTLY) { in onMeasure()
/constraintlayout/constraintlayout-core/src/main/java/androidx/constraintlayout/core/utils/
DGridCore.java1001 public void measure(int widthMode, int widthSize, int heightMode, int heightSize) { in measure() argument
1002 super.measure(widthMode, widthSize, heightMode, heightSize); in measure()
/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/widget/
DConstraintLayout.java1605 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in resolveSystem() local
1633 setSelfDimensionBehaviour(layout, widthMode, widthSize, heightMode, heightSize); in resolveSystem()
1635 layout.measure(optimizationLevel, widthMode, widthSize, heightMode, heightSize, in resolveSystem()
1817 int widthMode, in setSelfDimensionBehaviour() argument
1834 switch (widthMode) { in setSelfDimensionBehaviour()
/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/motion/widget/
DMotionLayout.java2829 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
2832 mWidthMeasureMode = widthMode;
2846 && widthMode == MeasureSpec.EXACTLY