Lines Matching refs:constraint
11 onPlaceChildren?(selfLayoutInfo: GeometryInfo, children: Array<Layoutable>, constraint: Const…
25 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | Size constraint of …
29 onMeasureSize?(selfLayoutInfo: GeometryInfo, children: Array<Measurable>, constraint: Constra…
31 …the component receives its child component layout information and size constraint from the ArkUI f…
43 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | Size constraint of …
143 measure(constraint: ConstraintSizeOptions) : MeasureResult
145 Applies the size constraint to the child component.
155 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | Yes | …
301 …onPlaceChildren(selfLayoutInfo: GeometryInfo, children: Array<Layoutable>, constraint: ConstraintS…
309 …onMeasureSize(selfLayoutInfo: GeometryInfo, children: Array<Measurable>, constraint: ConstraintSiz…
373 …onPlaceChildren(selfLayoutInfo: GeometryInfo, children: Array<Layoutable>, constraint: ConstraintS…
392 …onMeasureSize(selfLayoutInfo: GeometryInfo, children: Array<Measurable>, constraint: ConstraintSiz…
396 // Assume that the component width cannot exceed 200 vp or the maximum constraint.
397 let maxWidth = Math.min(200, constraint.maxWidth as number);
401 minHeight: constraint.minHeight,
402 minWidth: constraint.minWidth,
403 maxWidth: constraint.maxWidth,
404 maxHeight: constraint.maxHeight
432 onLayout?(children: Array<LayoutChild>, constraint: ConstraintSizeOptions): void
434 …the component receives its child component layout information and size constraint from the ArkUI f…
443 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | Size constraint of the …
447 onMeasure?(children: Array<LayoutChild>, constraint: ConstraintSizeOptions): void
449 …the component receives its child component layout information and size constraint from the ArkUI f…
458 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | Size constraint of the …
471 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | Constraint size of th…
474 …ntsizeoptions)) => void | Method called to apply the size constraint to the child com…
498 | constraint | [ConstraintSizeOptions](ts-types.md#constraintsizeoptions) | Constraint size of the …
528 onLayout(children: Array<LayoutChild>, constraint: ConstraintSizeOptions) {
531 child.layout({ position: { x: pos, y: pos }, constraint: constraint })
536 onMeasure(children: Array<LayoutChild>, constraint: ConstraintSizeOptions) {