Home
last modified time | relevance | path

Searched refs:placeable (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/media/controls/ui/composable/
DMediaCarousel.kt71 val placeable = measurable.measure(constraints) in SceneScope() constant
74 mediaHost.measurementInput = MeasurementInput(placeable.width, placeable.height) in SceneScope()
75 carouselController.setSceneContainerSize(placeable.width, placeable.height) in SceneScope()
77 layout(placeable.width, placeable.height) { placeable.placeRelative(0, 0) } in SceneScope()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/
DMeasureTracing.kt28 val placeable = measurable.measure(constraints) in <lambda>() constant
29 layout(placeable.width, placeable.height) { placeable.placeRelative(IntOffset.Zero) } in <lambda>()
DPadding.kt112 val placeable = measurable.measure(constraints.offset(-horizontal, -vertical)) in measure() constant
114 val width = constraints.constrainWidth(placeable.width + horizontal) in measure()
115 val height = constraints.constrainHeight(placeable.height + vertical) in measure()
118 placeable.placeRelative(start, top) in measure()
120 placeable.place(start, top) in measure()
DSize.kt183 val placeable = measurable.measure(wrappedConstraints) in measure() constant
184 return layout(placeable.width, placeable.height) { placeable.placeRelative(0, 0) } in measure()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/ribbon/ui/composable/
DRibbon.kt78 val placeable = measurable.measure(constraints) in <lambda>() constant
81 val leftPadding = (placeable.measuredHeight / tangent).roundToInt() in <lambda>()
82 val rightPadding = (placeable.measuredHeight * tangent).roundToInt() in <lambda>()
85 width = placeable.measuredWidth + leftPadding + rightPadding, in <lambda>()
86 height = placeable.measuredHeight, in <lambda>()
88 placeable.place(leftPadding, 0) in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/grid/
DGrids.kt160 val placeable = measurables[cellIndex].measure(childConstraints) in Grid() constant
161 sizeCache.rowHeights[row] = max(sizeCache.rowHeights[row], placeable.height) in Grid()
163 max(sizeCache.columnWidths[column], placeable.width) in Grid()
164 add(placeable) in Grid()
186 val placeable = placeables[cellIndex] in Grid() constant
187 placeable.placeRelative(x, y) in Grid()
188 x += placeable.width + horizontalSpacing.roundToPx() in Grid()
189 maxChildHeight = max(maxChildHeight, placeable.height) in Grid()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationHeadsUpHeight.kt71 val placeable = in measure() constant
75 return layout(placeable.width, placeable.height) { placeable.place(IntOffset.Zero) } in measure()
DNotificationStackContentHeight.kt76 val placeable = in measure() constant
81 return layout(placeable.width, placeable.height) { placeable.place(IntOffset.Zero) } in measure()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DVariableDayDate.kt53 val placeable = in <lambda>() constant
62 layout(placeable?.width ?: 0, placeable?.height ?: 0) { placeable?.placeRelative(0, 0) } in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/dialog/
DSettingsAlterDialogContent.kt206 fun canAddToCurrentSequence(placeable: Placeable) = in measurables()
208 placeable.width <= constraints.maxWidth in measurables()
231 val placeable = measurable.measure(constraints) in measurables() constant
234 if (!canAddToCurrentSequence(placeable)) startNewSequence() in measurables()
240 currentSequence.add(placeable) in measurables()
241 currentMainAxisSize += placeable.width in measurables()
242 currentCrossAxisSize = max(currentCrossAxisSize, placeable.height) in measurables()
269 placeables.fastForEachIndexed { j, placeable -> in measurables() method
270 placeable.place( in measurables()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/
DVolumeSliderContent.kt146 val placeable = measurable.measure(constraints) in Modifier() constant
150 Animatable(placeable.height, Int.VectorConverter).also { heightAnimation = it } in Modifier()
152 coroutineScope.launch { currentAnimation.animateTo(placeable.height) } in Modifier()
155 layout(placeable.width, anim.value) { placeable.place(0, 0) } in Modifier()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DScene.kt79 val placeable = measurable.measure(constraints) in <lambda>() constant
80 layout(placeable.width, placeable.height) { placeable.place(0, 0) } in <lambda>()
DElement.kt299 val placeable = measurable.measure(constraints) in approachMeasure() constant
300 return layout(placeable.width, placeable.height) { /* Do not place */ } in approachMeasure()
303 val placeable = in approachMeasure() constant
305 sceneState.lastSize = placeable.size() in approachMeasure()
306 return layout(placeable.width, placeable.height) { place(transition, placeable) } in approachMeasure()
312 placeable: Placeable, in Placeable()
377 placeable.place(offset) in Placeable()
379 placeable.placeWithLayer(offset) { in Placeable()
889 maybePlaceable?.let { placeable -> in measure() method
892 return placeable in measure()
DSceneTransitionLayoutImpl.kt276 val placeable = measurable.measure(constraints) in approachMeasure() constant
282 width = placeable.width in approachMeasure()
283 height = placeable.height in approachMeasure()
310 return layout(width, height) { placeable.place(0, 0) } in approachMeasure()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DLockSection.kt112 val placeable = in <lambda>() constant
120 width = placeable.width, in <lambda>()
121 height = placeable.height, in <lambda>()
130 placeable.place(0, 0) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQuickSettings.kt164 val placeable = measurable.measure(constraints) in measurable() constant
168 layout(placeable.width, height) { placeable.placeRelative(0, 0) } in measurable()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/
DFooterActions.kt206 val placeable = measurable.measure(newConstraints) in FooterActions() constant
208 val width = constraints.constrainWidth(placeable.width - additionalWidth) in FooterActions()
209 val height = constraints.constrainHeight(placeable.height) in FooterActions()
210 layout(width, height) { placeable.place(-inset, 0) } in FooterActions()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPinInputDisplay.kt496 val placeable = measurable.measure(Constraints.fixed(shapeSizePx, shapeSizePx)) in Content() constant
499 placeable.place( in Content()