Home
last modified time | relevance | path

Searched refs:ConstraintLayout (Results 1 – 25 of 53) sorted by relevance

123

/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/widget/
DConstraintHelper.java272 if (params instanceof ConstraintLayout.LayoutParams) { in validateParams()
273 ConstraintLayout.LayoutParams layoutParams = (ConstraintLayout.LayoutParams) params; in validateParams()
314 ConstraintLayout parent = null; in addTag()
315 if (getParent() instanceof ConstraintLayout) { in addTag()
316 parent = (ConstraintLayout) getParent(); in addTag()
326 if (params instanceof ConstraintLayout.LayoutParams) { in addTag()
327 ConstraintLayout.LayoutParams lp = (ConstraintLayout.LayoutParams) params; in addTag()
347 ConstraintLayout parent = null; in findId()
348 if (getParent() instanceof ConstraintLayout) { in findId()
349 parent = (ConstraintLayout) getParent(); in findId()
[all …]
DPlaceholder.java160 public void updatePreLayout(ConstraintLayout container) { in updatePreLayout()
169 ConstraintLayout.LayoutParams layoutParamsContent = in updatePreLayout()
170 (ConstraintLayout.LayoutParams) mContent.getLayoutParams(); in updatePreLayout()
188 ConstraintLayout.LayoutParams layoutParamsContent = in setContentId()
189 (ConstraintLayout.LayoutParams) mContent.getLayoutParams(); in setContentId()
195 if (id != ConstraintLayout.LayoutParams.UNSET) { in setContentId()
207 public void updatePostMeasure(ConstraintLayout container) { in updatePostMeasure()
211 ConstraintLayout.LayoutParams layoutParams = in updatePostMeasure()
212 (ConstraintLayout.LayoutParams) getLayoutParams(); in updatePostMeasure()
213 ConstraintLayout.LayoutParams layoutParamsContent = (ConstraintLayout.LayoutParams) mContent in updatePostMeasure()
DReactiveGuide.java86 SharedValues sharedValues = ConstraintLayout.getSharedValues(); in init()
102 SharedValues sharedValues = ConstraintLayout.getSharedValues(); in setAttributeId()
157 ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) getLayoutParams(); in setGuidelineBegin()
168 ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) getLayoutParams(); in setGuidelineEnd()
178 ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) getLayoutParams(); in setGuidelinePercent()
DGuideline.java146 ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) getLayoutParams(); in setGuidelineBegin()
160 ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) getLayoutParams(); in setGuidelineEnd()
173 ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) getLayoutParams(); in setGuidelinePercent()
DConstraintProperties.java31 ConstraintLayout.LayoutParams mParams;
36 public static final int LEFT = ConstraintLayout.LayoutParams.LEFT;
41 public static final int RIGHT = ConstraintLayout.LayoutParams.RIGHT;
46 public static final int TOP = ConstraintLayout.LayoutParams.TOP;
51 public static final int BOTTOM = ConstraintLayout.LayoutParams.BOTTOM;
56 public static final int BASELINE = ConstraintLayout.LayoutParams.BASELINE;
62 public static final int START = ConstraintLayout.LayoutParams.START;
68 public static final int END = ConstraintLayout.LayoutParams.END;
72 public static final int UNSET = ConstraintLayout.LayoutParams.UNSET;
76 public static final int PARENT_ID = ConstraintLayout.LayoutParams.PARENT_ID;
[all …]
DGroup.java99 protected void applyLayoutFeaturesInConstraintSet(ConstraintLayout container) { in applyLayoutFeaturesInConstraintSet()
108 public void updatePostLayout(ConstraintLayout container) { in updatePostLayout()
109 ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) getLayoutParams(); in updatePostLayout()
DVirtualLayout.java85 if (parent instanceof ConstraintLayout) { in onAttachedToWindow()
86 ConstraintLayout container = (ConstraintLayout) parent; in onAttachedToWindow()
135 protected void applyLayoutFeaturesInConstraintSet(ConstraintLayout container) { in applyLayoutFeaturesInConstraintSet()
DConstraintSet.java43 import androidx.constraintlayout.widget.ConstraintLayout.LayoutParams;
144 public static final int MATCH_CONSTRAINT = ConstraintLayout.LayoutParams.MATCH_CONSTRAINT;
149 public static final int WRAP_CONTENT = ConstraintLayout.LayoutParams.WRAP_CONTENT;
155 ConstraintLayout.LayoutParams.MATCH_CONSTRAINT_WRAP;
161 ConstraintLayout.LayoutParams.MATCH_CONSTRAINT_SPREAD;
164 ConstraintLayout.LayoutParams.MATCH_CONSTRAINT_PERCENT;
174 public static final int PARENT_ID = ConstraintLayout.LayoutParams.PARENT_ID;
179 public static final int HORIZONTAL = ConstraintLayout.LayoutParams.HORIZONTAL;
184 public static final int VERTICAL = ConstraintLayout.LayoutParams.VERTICAL;
221 public static final int LEFT = ConstraintLayout.LayoutParams.LEFT;
[all …]
DConstraintLayoutStatistics.java46 ConstraintLayout mConstraintLayout;
55 public ConstraintLayoutStatistics(ConstraintLayout constraintLayout) { in ConstraintLayoutStatistics()
72 public void attach(ConstraintLayout constraintLayout) { in attach()
/constraintlayout/constraintlayout/src/main/
Dbaseline-prof.txt299 HSPLandroidx/constraintlayout/widget/ConstraintLayout$1;-><clinit>()V
300 HSPLandroidx/constraintlayout/widget/ConstraintLayout$LayoutParams$Table;-><clinit>()V
301 HSPLandroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(Landroid/content/Contex…
302 HSPLandroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->resolveLayoutDirection(I)V
303 HSPLandroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->validate()V
304 …/widget/ConstraintLayout$Measurer;-><init>(Landroidx/constraintlayout/widget/ConstraintLayout;Land…
305 HSPLandroidx/constraintlayout/widget/ConstraintLayout$Measurer;->captureLayoutInfo(IIIIII)V
306 HSPLandroidx/constraintlayout/widget/ConstraintLayout$Measurer;->didMeasures()V
307 HSPLandroidx/constraintlayout/widget/ConstraintLayout$Measurer;->isSimilarSpec(III)Z
308 HSPLandroidx/constraintlayout/widget/ConstraintLayout$Measurer;->measure(Landroidx/constraintlayout…
[all …]
/constraintlayout/constraintlayout/
DREADME.md1 # ConstraintLayout ��️��
8 ConstraintLayout is a layout manager for Android which allows you to position and size widgets in a…
12 …ce Docs](https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout)
14 Have a question that isn't answered here? Try StackOverflow for [ConstraintLayout](https://stackove…
16 ## Using ConstraintLayout
32 If using ConstraintLayout with the Android View system, add:
54 <androidx.constraintlayout.widget.ConstraintLayout
71 </androidx.constraintlayout.widget.ConstraintLayout>
74 …://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout#ratio) define…
89 …://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout#Chains) provi…
[all …]
/constraintlayout/constraintlayout-compose/src/androidInstrumentedTest/kotlin/androidx/constraintlayout/compose/
DConstraintLayoutTest.kt121 ConstraintLayout( in <lambda>()
182 ConstraintLayout( in <lambda>()
243 ConstraintLayout( in <lambda>()
310 ConstraintLayout { in <lambda>()
380 ConstraintLayout( in <lambda>()
447 ConstraintLayout( in <lambda>()
504 ConstraintLayout( in <lambda>()
564 ConstraintLayout(Modifier.fillMaxSize()) { in <lambda>()
625 ConstraintLayout(Modifier.size(size)) { in <lambda>()
660 ConstraintLayout( in <lambda>()
[all …]
DChainsTest.kt72 ConstraintLayout( in testHorizontalPacked_withConstraintSet()
112 ConstraintLayout(Modifier.background(Color.LightGray).size(rootSizePx.toDp())) { in testHorizontalPacked_withModifier()
227 ConstraintLayout( in testHorizontalPacked_withMargins()
309 ConstraintLayout( in testVerticalPacked_withMargins()
343 ConstraintLayout( in testHorizontalWeight_withConstraintSet()
380 ConstraintLayout( in testVerticalWeight_withConstraintSet()
/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/helper/widget/
DLayer.java26 import androidx.constraintlayout.widget.ConstraintLayout;
42 ConstraintLayout mContainer;
99 mContainer = (ConstraintLayout) getParent(); in onAttachedToWindow()
131 public void updatePreDraw(ConstraintLayout container) { in updatePreDraw()
240 public void updatePostLayout(ConstraintLayout container) { in updatePostLayout()
245 ConstraintLayout.LayoutParams params = (ConstraintLayout.LayoutParams) getLayoutParams(); in updatePostLayout()
365 protected void applyLayoutFeaturesInConstraintSet(ConstraintLayout container) { in applyLayoutFeaturesInConstraintSet()
DGrid.java27 import androidx.constraintlayout.widget.ConstraintLayout;
94 ConstraintLayout mContainer;
269 mContainer = (ConstraintLayout) getParent(); in onAttachedToWindow()
350 private ConstraintLayout.LayoutParams params(View v) { in params()
351 return (ConstraintLayout.LayoutParams) v.getLayoutParams(); in params()
363 ConstraintLayout.LayoutParams params = params(view); in connectView()
615 ConstraintLayout.LayoutParams params = params(mBoxViews[0]); in setBoxViewHorizontalChains()
668 ConstraintLayout.LayoutParams params; in setBoxViewVerticalChains()
724 ConstraintLayout.LayoutParams params = in makeNewView()
725 new ConstraintLayout.LayoutParams(0, 0); in makeNewView()
[all …]
DCircularFlow.java24 import androidx.constraintlayout.widget.ConstraintLayout;
71 ConstraintLayout mContainer;
189 mContainer = (ConstraintLayout) getParent(); in anchorReferences()
224 ConstraintLayout.LayoutParams params = in anchorReferences()
225 (ConstraintLayout.LayoutParams) view.getLayoutParams(); in anchorReferences()
/constraintlayout/constraintlayout-compose/samples/src/main/java/androidx/constraintlayout/compose/samples/
DConstraintLayoutSamples.kt34 import androidx.constraintlayout.compose.ConstraintLayout in <lambda>()
44 ConstraintLayout( in <lambda>()
76 ConstraintLayout( in Column_sample()
134 ConstraintLayout( in Grid_calculator_sample()
197 ConstraintLayout( in Grid_navigationPad_sample()
/constraintlayout/constraintlayout/resources/examples/
DExampleConstraintSet.java6 import android.support.constraint.ConstraintLayout;
15 ConstraintLayout mConstraintLayout; // cache the ConstraintLayout
24 mConstraintLayout = (ConstraintLayout) findViewById(R.id.activity_main); in onCreate()
/constraintlayout/constraintlayout/api/
Dapi_lint.ignore24 …nstraintlayout.widget.ConstraintHelper#getViews(androidx.constraintlayout.widget.ConstraintLayout):
140 InternalField: androidx.constraintlayout.widget.ConstraintLayout#mConstraintLayoutSpec:
142 InternalField: androidx.constraintlayout.widget.ConstraintLayout#mDirtyHierarchy:
144 InternalField: androidx.constraintlayout.widget.ConstraintLayout#mLayoutWidget:
302 …tlayout.core.widgets.HelperWidget, androidx.constraintlayout.widget.ConstraintLayout.LayoutParams,…
304 …tlayout.core.widgets.HelperWidget, androidx.constraintlayout.widget.ConstraintLayout.LayoutParams,…
306 …tlayout.core.widgets.HelperWidget, androidx.constraintlayout.widget.ConstraintLayout.LayoutParams,…
308 …tlayout.core.widgets.HelperWidget, androidx.constraintlayout.widget.ConstraintLayout.LayoutParams,…
352 …applyLayoutFeaturesInConstraintSet(androidx.constraintlayout.widget.ConstraintLayout) parameter #0:
356 …lper.widget.Layer#updatePostLayout(androidx.constraintlayout.widget.ConstraintLayout) parameter #0:
[all …]
Dcurrent.txt523 …public class MotionLayout extends androidx.constraintlayout.widget.ConstraintLayout implements and…
1042 method protected void applyLayoutFeatures(androidx.constraintlayout.widget.ConstraintLayout!);
1043 …tected void applyLayoutFeaturesInConstraintSet(androidx.constraintlayout.widget.ConstraintLayout!);
1046 …ethod protected android.view.View![]! getViews(androidx.constraintlayout.widget.ConstraintLayout!);
1050 …layout.core.widgets.HelperWidget!, androidx.constraintlayout.widget.ConstraintLayout.LayoutParams!…
1057 method public void updatePostConstraints(androidx.constraintlayout.widget.ConstraintLayout!);
1058 method public void updatePostLayout(androidx.constraintlayout.widget.ConstraintLayout!);
1059 method public void updatePostMeasure(androidx.constraintlayout.widget.ConstraintLayout!);
1060 method public void updatePreDraw(androidx.constraintlayout.widget.ConstraintLayout!);
1062 method public void updatePreLayout(androidx.constraintlayout.widget.ConstraintLayout!);
[all …]
Drestricted_2.2.0-beta01.txt523 …public class MotionLayout extends androidx.constraintlayout.widget.ConstraintLayout implements and…
1042 method protected void applyLayoutFeatures(androidx.constraintlayout.widget.ConstraintLayout!);
1043 …tected void applyLayoutFeaturesInConstraintSet(androidx.constraintlayout.widget.ConstraintLayout!);
1046 …ethod protected android.view.View![]! getViews(androidx.constraintlayout.widget.ConstraintLayout!);
1050 …layout.core.widgets.HelperWidget!, androidx.constraintlayout.widget.ConstraintLayout.LayoutParams!…
1057 method public void updatePostConstraints(androidx.constraintlayout.widget.ConstraintLayout!);
1058 method public void updatePostLayout(androidx.constraintlayout.widget.ConstraintLayout!);
1059 method public void updatePostMeasure(androidx.constraintlayout.widget.ConstraintLayout!);
1060 method public void updatePreDraw(androidx.constraintlayout.widget.ConstraintLayout!);
1062 method public void updatePreLayout(androidx.constraintlayout.widget.ConstraintLayout!);
[all …]
D2.2.0-beta01.txt523 …public class MotionLayout extends androidx.constraintlayout.widget.ConstraintLayout implements and…
1042 method protected void applyLayoutFeatures(androidx.constraintlayout.widget.ConstraintLayout!);
1043 …tected void applyLayoutFeaturesInConstraintSet(androidx.constraintlayout.widget.ConstraintLayout!);
1046 …ethod protected android.view.View![]! getViews(androidx.constraintlayout.widget.ConstraintLayout!);
1050 …layout.core.widgets.HelperWidget!, androidx.constraintlayout.widget.ConstraintLayout.LayoutParams!…
1057 method public void updatePostConstraints(androidx.constraintlayout.widget.ConstraintLayout!);
1058 method public void updatePostLayout(androidx.constraintlayout.widget.ConstraintLayout!);
1059 method public void updatePostMeasure(androidx.constraintlayout.widget.ConstraintLayout!);
1060 method public void updatePreDraw(androidx.constraintlayout.widget.ConstraintLayout!);
1062 method public void updatePreLayout(androidx.constraintlayout.widget.ConstraintLayout!);
[all …]
Drestricted_current.txt523 …public class MotionLayout extends androidx.constraintlayout.widget.ConstraintLayout implements and…
1042 method protected void applyLayoutFeatures(androidx.constraintlayout.widget.ConstraintLayout!);
1043 …tected void applyLayoutFeaturesInConstraintSet(androidx.constraintlayout.widget.ConstraintLayout!);
1046 …ethod protected android.view.View![]! getViews(androidx.constraintlayout.widget.ConstraintLayout!);
1050 …layout.core.widgets.HelperWidget!, androidx.constraintlayout.widget.ConstraintLayout.LayoutParams!…
1057 method public void updatePostConstraints(androidx.constraintlayout.widget.ConstraintLayout!);
1058 method public void updatePostLayout(androidx.constraintlayout.widget.ConstraintLayout!);
1059 method public void updatePostMeasure(androidx.constraintlayout.widget.ConstraintLayout!);
1060 method public void updatePreDraw(androidx.constraintlayout.widget.ConstraintLayout!);
1062 method public void updatePreLayout(androidx.constraintlayout.widget.ConstraintLayout!);
[all …]
/constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/motion/widget/
DKeyFrames.java25 import androidx.constraintlayout.widget.ConstraintLayout;
42 public static final int UNSET = ConstraintLayout.LayoutParams.UNSET;
169 ((ConstraintLayout.LayoutParams) in addFrames()
/constraintlayout/constraintlayout-compose/integration-tests/demos/src/main/java/androidx/constraintlayout/compose/demos/
DChainsDemo.kt37 import androidx.constraintlayout.compose.ConstraintLayout in <lambda>()
56 ConstraintLayout( in <lambda>()
112 ConstraintLayout( in ChainsAnimatedOrientationDemo1()

123