Home
last modified time | relevance | path

Searched refs:thenIf (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/ribbon/ui/composable/
DRibbon.kt26 import com.android.compose.modifiers.thenIf in <lambda>()
76 .thenIf(backgroundColor != null) { Modifier.background(backgroundColor!!) } in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/modifiers/
DConditionalModifiers.kt51 inline fun Modifier.thenIf(condition: Boolean, crossinline factory: () -> Modifier): Modifier = method
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DNotificationSection.kt31 import com.android.compose.modifiers.thenIf
114 .thenIf(shouldUseSplitNotificationShade) { in SceneScope()
DTopAreaSection.kt38 import com.android.compose.modifiers.thenIf
154 Modifier.fillMaxSize().thenIf(shouldOffSetClockToOneHalf) { in LargeClockWithSmartSpace()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeScene.kt70 import com.android.compose.modifiers.thenIf
252 modifier.thenIf(shouldPunchHoleBehindScrim) { in SingleShade()
273 .thenIf(isClickable) { in SingleShade()
278 .thenIf(cutoutLocation != CutoutLocation.CENTER) { in SingleShade()
483 .thenIf(!isCustomizerShowing) { in SplitShade()
DShadeHeader.kt67 import com.android.compose.modifiers.thenIf in <lambda>()
563 .thenIf(isClickable) { in SystemIconContainer()
570 .thenIf(isHovered) { hoverModifier }, in SystemIconContainer()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQuickSettings.kt40 import com.android.compose.modifiers.thenIf in <lambda>()
196 .thenIf(isCustomizing) { Modifier.fillMaxHeight() } in QuickSettingsContent()
DQuickSettingsScene.kt71 import com.android.compose.modifiers.thenIf
194 .thenIf(shouldPunchHoleBehindScrim) { in QuickSettingsScene()
200 .thenIf(cutoutLocation != CutoutLocation.CENTER) { in QuickSettingsScene()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotifications.kt70 import com.android.compose.modifiers.thenIf in <lambda>()
339 .thenIf(shouldFillMaxSize) { Modifier.fillMaxSize() } in NotificationScrollingStack()
350 .thenIf(shadeMode == ShadeMode.Single) { in NotificationScrollingStack()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPinBouncer.kt57 import com.android.compose.modifiers.thenIf in <lambda>()
300 .thenIf(isEnabled) { in PinPadButton()
DPatternBouncer.kt52 import com.android.compose.modifiers.thenIf in <lambda>()
238 .thenIf(isInputEnabled) { in <lambda>()
DBouncerContent.kt90 import com.android.compose.modifiers.thenIf in <lambda>()
744 Modifier.height(56.dp).thenIf(actionButtonViewModel.onLongClick != null) { in ActionArea()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt134 import com.android.compose.modifiers.thenIf in <lambda>()
209 .thenIf(!viewModel.isEditMode && !isEmptyState) { in <lambda>()
1003 .thenIf(!viewModel.isEditMode && model.inQuietMode) { in WidgetContent()
1012 .thenIf(viewModel.isEditMode) { in WidgetContent()
1249 Modifier.fillMaxWidth().wrapContentHeight().thenIf( in AccessibilityContainer()