Loading packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalContent.kt +1 −7 Original line number Diff line number Diff line Loading @@ -98,13 +98,7 @@ constructor( bottom = lockIconPlaceable[BlueprintAlignmentLines.LockIcon.Bottom], ) val bottomAreaPlaceable = bottomAreaMeasurable.measure( noMinConstraints.copy( maxHeight = (constraints.maxHeight - lockIconBounds.bottom).coerceAtLeast(0) ) ) val bottomAreaPlaceable = bottomAreaMeasurable.measure(noMinConstraints) val communalGridPlaceable = communalGridMeasurable.measure( Loading packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/BottomAreaSection.kt +6 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ constructor( ) { MovableElement( key = IndicationAreaElementKey, modifier = modifier.shortcutPadding(), modifier = modifier.indicationAreaPadding(), ) { content { IndicationArea( Loading Loading @@ -210,6 +210,11 @@ constructor( ) .padding(bottom = dimensionResource(R.dimen.keyguard_affordance_vertical_offset)) } @Composable private fun Modifier.indicationAreaPadding(): Modifier { return this.padding(bottom = dimensionResource(R.dimen.keyguard_indication_margin_bottom)) } } private val StartButtonElementKey = ElementKey("StartButton") Loading Loading
packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalContent.kt +1 −7 Original line number Diff line number Diff line Loading @@ -98,13 +98,7 @@ constructor( bottom = lockIconPlaceable[BlueprintAlignmentLines.LockIcon.Bottom], ) val bottomAreaPlaceable = bottomAreaMeasurable.measure( noMinConstraints.copy( maxHeight = (constraints.maxHeight - lockIconBounds.bottom).coerceAtLeast(0) ) ) val bottomAreaPlaceable = bottomAreaMeasurable.measure(noMinConstraints) val communalGridPlaceable = communalGridMeasurable.measure( Loading
packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/BottomAreaSection.kt +6 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ constructor( ) { MovableElement( key = IndicationAreaElementKey, modifier = modifier.shortcutPadding(), modifier = modifier.indicationAreaPadding(), ) { content { IndicationArea( Loading Loading @@ -210,6 +210,11 @@ constructor( ) .padding(bottom = dimensionResource(R.dimen.keyguard_affordance_vertical_offset)) } @Composable private fun Modifier.indicationAreaPadding(): Modifier { return this.padding(bottom = dimensionResource(R.dimen.keyguard_indication_margin_bottom)) } } private val StartButtonElementKey = ElementKey("StartButton") Loading