Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 19 of 19) sorted by relevance

/constraintlayout/constraintlayout-core/src/main/java/androidx/constraintlayout/core/state/
DState.java312 Reference reference(Object key) { in reference() method in State
318 Reference reference = mReferences.get(key); in constraints() local
320 if (reference == null) { in constraints()
321 reference = createConstraintReference(key); in constraints()
322 mReferences.put(key, reference); in constraints()
323 reference.setKey(key); in constraints()
325 if (reference instanceof ConstraintReference) { in constraints()
326 return (ConstraintReference) reference; in constraints()
342 HelperReference reference = mHelperReferences.get(key); in helper() local
343 if (reference == null) { in helper()
[all …]
DConstraintSetParser.java1057 ConstraintReference reference = state.constraints(name); in parseGridType() local
1058 applyAttribute(state, layoutVariables, reference, element, param); in parseGridType()
1334 ConstraintReference reference = state.constraints(flowName); in parseFlowType() local
1335 applyAttribute(state, layoutVariables, reference, element, param); in parseFlowType()
1359 ConstraintReference reference = state.constraints(guidelineId); in parseGuidelineParams()
1371 GuidelineReference guidelineReference = (GuidelineReference) reference.getFacade(); in parseGuidelineParams()
1451 BarrierReference reference = state.barrier(elementName, State.Direction.END); in parseBarrier() local
1462 reference.setBarrierDirection(State.Direction.LEFT); in parseBarrier()
1464 reference.setBarrierDirection(State.Direction.RIGHT); in parseBarrier()
1469 reference.setBarrierDirection(State.Direction.RIGHT); in parseBarrier()
[all …]
DConstraintReference.java245 private Object get(Object reference) { in get() argument
246 if (reference == null) { in get()
249 if (!(reference instanceof ConstraintReference)) { in get()
250 return mState.reference(reference); in get()
252 return reference; in get()
523 public ConstraintReference leftToLeft(Object reference) { in leftToLeft() argument
525 mLeftToLeft = reference; in leftToLeft()
530 public ConstraintReference leftToRight(Object reference) { in leftToRight() argument
532 mLeftToRight = reference; in leftToRight()
537 public ConstraintReference rightToLeft(Object reference) { in rightToLeft() argument
[all …]
/constraintlayout/constraintlayout-core/src/main/java/androidx/constraintlayout/core/state/helpers/
DAlignHorizontallyReference.java35 ConstraintReference reference = mHelperState.constraints(key); in apply() local
36 reference.clearHorizontal(); in apply()
38 reference.startToStart(mStartToStart); in apply()
40 reference.startToEnd(mStartToEnd); in apply()
42 reference.startToStart(State.PARENT); in apply()
45 reference.endToStart(mEndToStart); in apply()
47 reference.endToEnd(mEndToEnd); in apply()
49 reference.endToEnd(State.PARENT); in apply()
52 reference.horizontalBias(mBias); in apply()
DAlignVerticallyReference.java35 ConstraintReference reference = mHelperState.constraints(key); in apply() local
36 reference.clearVertical(); in apply()
38 reference.topToTop(mTopToTop); in apply()
40 reference.topToBottom(mTopToBottom); in apply()
42 reference.topToTop(State.PARENT); in apply()
45 reference.bottomToTop(mBottomToTop); in apply()
47 reference.bottomToBottom(mBottomToBottom); in apply()
49 reference.bottomToBottom(State.PARENT); in apply()
52 reference.verticalBias(mBias); in apply()
DVerticalChainReference.java37 ConstraintReference reference = mHelperState.constraints(key); in apply() local
38 reference.clearVertical(); in apply()
42 ConstraintReference reference = mHelperState.constraints(key); in apply() local
44 first = reference; in apply()
51 String refKey = reference.getKey().toString(); in apply()
58 String refKey = reference.getKey().toString(); in apply()
59 previous.bottomToTop(reference.getKey()).margin(getPostMargin(preKey)).marginGone( in apply()
61 reference.topToBottom(previous.getKey()).margin(getPreMargin(refKey)).marginGone( in apply()
66 reference.setVerticalChainWeight(weight); in apply()
68 previous = reference; in apply()
DHorizontalChainReference.java37 ConstraintReference reference = mHelperState.constraints(key); in apply() local
38 reference.clearHorizontal(); in apply()
42 ConstraintReference reference = mHelperState.constraints(key); in apply() local
45 first = reference; in apply()
60 String refKey = reference.getKey().toString(); in apply()
67 String refKey = reference.getKey().toString(); in apply()
68 previous.endToStart(reference.getKey()).margin(getPostMargin(preKey)).marginGone( in apply()
70 reference.startToEnd(previous.getKey()).margin(getPreMargin(refKey)).marginGone( in apply()
75 reference.setHorizontalChainWeight(weight); in apply()
77 previous = reference; in apply()
/constraintlayout/constraintlayout/
DREADME.md12 [Android Reference Docs](https://developer.android.com/reference/androidx/constraintlayout/widget/C…
74 �� [Aspect Ratio](https://developer.android.com/reference/androidx/constraintlayout/widget/Constrai…
89 ⛓️ [Chains](https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayo…
91 �� [Guidelines](https://developer.android.com/reference/androidx/constraintlayout/widget/Guideline)…
102 �� [Barrier](https://developer.android.com/reference/androidx/constraintlayout/widget/Barrier) refe…
113 ☂️ [Group](https://developer.android.com/reference/androidx/constraintlayout/widget/Group) controls…
124 �� [MotionLayout](https://developer.android.com/reference/androidx/constraintlayout/motion/widget/M…
126 �� [Flow](https://developer.android.com/reference/androidx/constraintlayout/helper/widget/Flow) is …
128 �� [CircularFlow](https://developer.android.com/reference/androidx/constraintlayout/helper/widget/C…
/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/
DConstraintLayoutBaseScope.kt86 val reference: LayoutReference in <lambda>() constant in androidx.constraintlayout.compose.VerticalAnchor
101 val reference: LayoutReference in <lambda>() constant in androidx.constraintlayout.compose.HorizontalAnchor
114 internal constructor(internal val id: Any, val reference: LayoutReference) in <lambda>() constant in androidx.constraintlayout.compose.BaselineAnchor
/constraintlayout/constraintlayout-compose/api/
D1.1.0-beta01.txt206 …eScope.BaselineAnchor copy(Object id, androidx.constraintlayout.compose.LayoutReference reference);
208 property public final androidx.constraintlayout.compose.LayoutReference reference;
213 …ntalAnchor copy(Object id, int index, androidx.constraintlayout.compose.LayoutReference reference);
215 property public final androidx.constraintlayout.compose.LayoutReference reference;
220 …icalAnchor copy(Object id, int index, androidx.constraintlayout.compose.LayoutReference reference);
222 property public final androidx.constraintlayout.compose.LayoutReference reference;
Dcurrent.txt206 …eScope.BaselineAnchor copy(Object id, androidx.constraintlayout.compose.LayoutReference reference);
208 property public androidx.constraintlayout.compose.LayoutReference reference;
213 …ntalAnchor copy(Object id, int index, androidx.constraintlayout.compose.LayoutReference reference);
215 property public androidx.constraintlayout.compose.LayoutReference reference;
220 …icalAnchor copy(Object id, int index, androidx.constraintlayout.compose.LayoutReference reference);
222 property public androidx.constraintlayout.compose.LayoutReference reference;
Drestricted_1.1.0-beta01.txt215 …eScope.BaselineAnchor copy(Object id, androidx.constraintlayout.compose.LayoutReference reference);
217 property public final androidx.constraintlayout.compose.LayoutReference reference;
222 …ntalAnchor copy(Object id, int index, androidx.constraintlayout.compose.LayoutReference reference);
224 property public final androidx.constraintlayout.compose.LayoutReference reference;
229 …icalAnchor copy(Object id, int index, androidx.constraintlayout.compose.LayoutReference reference);
231 property public final androidx.constraintlayout.compose.LayoutReference reference;
Drestricted_current.txt215 …eScope.BaselineAnchor copy(Object id, androidx.constraintlayout.compose.LayoutReference reference);
217 property public androidx.constraintlayout.compose.LayoutReference reference;
222 …ntalAnchor copy(Object id, int index, androidx.constraintlayout.compose.LayoutReference reference);
224 property public androidx.constraintlayout.compose.LayoutReference reference;
229 …icalAnchor copy(Object id, int index, androidx.constraintlayout.compose.LayoutReference reference);
231 property public androidx.constraintlayout.compose.LayoutReference reference;
/constraintlayout/constraintlayout-core/api/
Dapi_lint.ignore2409 Missing nullability on parameter `reference` in method `baselineToBaseline`
2413 Missing nullability on parameter `reference` in method `baselineToBottom`
2417 Missing nullability on parameter `reference` in method `baselineToTop`
2425 Missing nullability on parameter `reference` in method `bottomToBottom`
2429 Missing nullability on parameter `reference` in method `bottomToTop`
2433 Missing nullability on parameter `reference` in method `centerHorizontally`
2437 Missing nullability on parameter `reference` in method `centerVertically`
2441 Missing nullability on parameter `reference` in method `circularConstraint`
2457 Missing nullability on parameter `reference` in method `endToEnd`
2461 Missing nullability on parameter `reference` in method `endToStart`
[all …]
D1.1.0-beta01.txt1615 field public static final String S_REFERENCE = "reference";
Drestricted_1.1.0-beta01.txt1615 field public static final String S_REFERENCE = "reference";
Drestricted_current.txt1615 field public static final String S_REFERENCE = "reference";
Dcurrent.txt1615 field public static final String S_REFERENCE = "reference";
/constraintlayout/constraintlayout-compose/src/androidInstrumentedTest/kotlin/androidx/constraintlayout/compose/
DConstraintLayoutTest.kt1605 val b1 = createEndBarrier(g1.reference, box1) in <lambda>()
1665 val b1 = createEndBarrier(g1.reference, box1) in <lambda>()