Home
last modified time | relevance | path

Searched refs:shadeMode (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenSceneViewModel.kt68 shadeInteractor.shadeMode, in <lambda>()
69 ) { isDeviceUnlocked, isCommunalAvailable, shadeMode -> in <lambda>() method
73 shadeMode = shadeMode, in <lambda>()
85 shadeMode = shadeInteractor.shadeMode.value, in <lambda>()
92 shadeMode: ShadeMode, in <lambda>()
97 transitionKey = ToSplitShade.takeIf { shadeMode is ShadeMode.Split }, in <lambda>()
106 if (shadeMode is ShadeMode.Single) { in <lambda>()
116 transitionKey = ToSplitShade.takeIf { shadeMode is ShadeMode.Split } in <lambda>()
DKeyguardClockViewModel.kt126 shadeInteractor.shadeMode, in <lambda>()
128 ) { isLargeClockVisible, clockShouldBeCentered, shadeMode, currentClock -> in <lambda>() method
129 val shouldUseSplitShade = shadeMode == ShadeMode.Split in <lambda>()
171 return if (shadeInteractor.shadeMode.value == ShadeMode.Split) { in <lambda>()
183 shadeInteractor.shadeMode, in <lambda>()
DLockscreenContentViewModel.kt58 shadeInteractor.shadeMode in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/
DGoneSceneViewModel.kt45 shadeInteractor.shadeMode
52 shadeMode = shadeInteractor.shadeMode.value,
57 shadeMode: ShadeMode, in destinationScenes()
61 shadeMode is ShadeMode.Single || in destinationScenes()
63 shadeMode is ShadeMode.Dual in destinationScenes()
79 ToSplitShade.takeIf { shadeMode is ShadeMode.Split } in destinationScenes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModel.kt74 shadeInteractor.shadeMode, in <lambda>()
76 ) { shadeMode, isCustomizerShowing -> in <lambda>() method
78 shadeMode = shadeMode, in <lambda>()
87 shadeMode = shadeInteractor.shadeMode.value, in <lambda>()
108 val shadeMode: StateFlow<ShadeMode> = shadeInteractor.shadeMode in <lambda>() constant
139 shadeMode: ShadeMode, in <lambda>()
148 ToSplitShade.takeIf { shadeMode is ShadeMode.Split } in <lambda>()
152 if (shadeMode is ShadeMode.Single) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/startable/
DShadeStartableTest.kt91 val shadeMode by collectLastValue(shadeInteractor.shadeMode) in <lambda>() constant
94 assertThat(shadeMode).isEqualTo(ShadeMode.Single) in <lambda>()
98 assertThat(shadeMode).isEqualTo(ShadeMode.Split) in <lambda>()
102 assertThat(shadeMode).isEqualTo(ShadeMode.Single) in <lambda>()
110 val shadeMode by collectLastValue(shadeInteractor.shadeMode) in <lambda>() constant
113 assertThat(shadeMode).isEqualTo(ShadeMode.Dual) in <lambda>()
117 assertThat(shadeMode).isEqualTo(ShadeMode.Dual) in <lambda>()
121 assertThat(shadeMode).isEqualTo(ShadeMode.Dual) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractor.kt80 shadeInteractor.shadeMode, in <lambda>()
85 ) { shadeMode, hasNotifs, hasMedia, isDozing, isOnAod -> in <lambda>() method
88 shadeMode == ShadeMode.Single && (hasNotifs || hasMedia) -> ClockSize.SMALL in <lambda>()
89 shadeMode == ShadeMode.Single -> ClockSize.LARGE in <lambda>()
106 shadeInteractor.shadeMode, in <lambda>()
113 shadeMode, in <lambda>() method
120 shadeMode != ShadeMode.Split -> true in <lambda>()
DKeyguardBlueprintInteractor.kt73 shadeInteractor.shadeMode.map { shadeMode -> in <lambda>() method
74 val useSplitShade = shadeMode == ShadeMode.Split && !ComposeLockscreen.isEnabled in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/resolver/
DNotifShadeSceneFamilyResolver.kt46 shadeInteractor.shadeMode
51 initialValue = notifShadeScene(shadeInteractor.shadeMode.value),
56 private fun notifShadeScene(shadeMode: ShadeMode) = in includesScene()
57 when (shadeMode) { in includesScene()
DQuickSettingsSceneFamilyResolver.kt46 shadeInteractor.shadeMode
51 initialValue = quickSettingsScene(shadeInteractor.shadeMode.value),
56 private fun quickSettingsScene(shadeMode: ShadeMode) = in includesScene()
57 when (shadeMode) { in includesScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DNotificationStackAppearanceInteractor.kt58 shadeInteractor.shadeMode, in <lambda>()
60 ) { shadeMode, isExpandingFromHeadsUp -> in <lambda>() method
62 isTopRounded = !(shadeMode == ShadeMode.Split && isExpandingFromHeadsUp), in <lambda>()
63 isBottomRounded = shadeMode != ShadeMode.Single, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/data/repository/
DFakeShadeRepository.kt65 override val shadeMode: StateFlow<ShadeMode> = _shadeMode.asStateFlow() constant in com.android.systemui.shade.data.repository.FakeShadeRepository
140 override fun setShadeMode(shadeMode: ShadeMode) { in setShadeMode()
141 _shadeMode.value = shadeMode in setShadeMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/data/repository/
DShadeRepository.kt105 val shadeMode: StateFlow<ShadeMode> constant
224 override val shadeMode: StateFlow<ShadeMode> = _shadeMode.asStateFlow() in setShadeMode() constant in com.android.systemui.shade.data.repository.ShadeRepositoryImpl
226 override fun setShadeMode(shadeMode: ShadeMode) { in setShadeMode()
227 _shadeMode.value = shadeMode in setShadeMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationScrollViewModel.kt66 shadeInteractor.shadeMode, in <lambda>()
70 ) { shadeExpansion, shadeMode, qsExpansion, transitionState, quickSettingsScene -> in <lambda>() method
92 shadeMode != ShadeMode.Split && in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModelTest.kt285 fun shadeMode() = in <lambda>() method in com.android.systemui.shade.ui.viewmodel.ShadeSceneViewModelTest
287 val shadeMode by collectLastValue(underTest.shadeMode) in <lambda>() constant
290 assertThat(shadeMode).isEqualTo(ShadeMode.Split) in <lambda>()
293 assertThat(shadeMode).isEqualTo(ShadeMode.Single) in <lambda>()
296 assertThat(shadeMode).isEqualTo(ShadeMode.Split) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSectionTest.kt146 val collectedShadeMode by collectLastValue(shadeRepository.shadeMode) in <lambda>()
171 val collectedShadeMode by collectLastValue(shadeRepository.shadeMode) in <lambda>()
196 val collectedShadeMode by collectLastValue(shadeRepository.shadeMode) in <lambda>()
220 val collectedShadeMode by collectLastValue(shadeRepository.shadeMode) in <lambda>()
244 val collectedShadeMode by collectLastValue(shadeRepository.shadeMode) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorSceneContainerImplTest.kt575 fun shadeMode() = in shadeMode() method
577 val shadeMode by collectLastValue(underTest.shadeMode) in shadeMode() constant
580 assertThat(shadeMode).isEqualTo(ShadeMode.Split) in shadeMode()
583 assertThat(shadeMode).isEqualTo(ShadeMode.Single) in shadeMode()
586 assertThat(shadeMode).isEqualTo(ShadeMode.Split) in shadeMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorLegacyImpl.kt108 override val shadeMode: StateFlow<ShadeMode> = repository.shadeMode in <lambda>() constant
DShadeInteractorSceneContainerImpl.kt50 override val shadeMode: StateFlow<ShadeMode> = shadeRepository.shadeMode in <lambda>() constant
DShadeBackActionInteractorImpl.kt39 if (fullyCollapse || shadeInteractor.shadeMode.value is ShadeMode.Dual) { in animateCollapseQs()
DShadeInteractor.kt113 val shadeMode: StateFlow<ShadeMode> constant
DShadeInteractorEmptyImpl.kt48 override val shadeMode: StateFlow<ShadeMode> = MutableStateFlow(ShadeMode.Single) constant in com.android.systemui.shade.domain.interactor.ShadeInteractorEmptyImpl
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeScene.kt186 val shadeMode by viewModel.shadeMode.collectAsStateWithLifecycle() in ShadeScene() constant
187 when (shadeMode) { in ShadeScene()
333 shadeMode = ShadeMode.Single, in SingleShade()
532 shadeMode = ShadeMode.Split, in SplitShade()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationsShadeScene.kt98 shadeMode = ShadeMode.Dual, in Content()
DNotifications.kt174 shadeMode: ShadeMode, in NotificationScrollingStack()
350 .thenIf(shadeMode == ShadeMode.Single) { in NotificationScrollingStack()

12