/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | LockscreenSceneViewModel.kt | 68 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>()
|
D | KeyguardClockViewModel.kt | 126 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>()
|
D | LockscreenContentViewModel.kt | 58 shadeInteractor.shadeMode in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/ |
D | GoneSceneViewModel.kt | 45 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/ |
D | ShadeSceneViewModel.kt | 74 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/ |
D | ShadeStartableTest.kt | 91 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/ |
D | KeyguardClockInteractor.kt | 80 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>()
|
D | KeyguardBlueprintInteractor.kt | 73 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/ |
D | NotifShadeSceneFamilyResolver.kt | 46 shadeInteractor.shadeMode 51 initialValue = notifShadeScene(shadeInteractor.shadeMode.value), 56 private fun notifShadeScene(shadeMode: ShadeMode) = in includesScene() 57 when (shadeMode) { in includesScene()
|
D | QuickSettingsSceneFamilyResolver.kt | 46 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/ |
D | NotificationStackAppearanceInteractor.kt | 58 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/ |
D | FakeShadeRepository.kt | 65 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/ |
D | ShadeRepository.kt | 105 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/ |
D | NotificationScrollViewModel.kt | 66 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/ |
D | ShadeSceneViewModelTest.kt | 285 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/ |
D | ClockSectionTest.kt | 146 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/ |
D | ShadeInteractorSceneContainerImplTest.kt | 575 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/ |
D | ShadeInteractorLegacyImpl.kt | 108 override val shadeMode: StateFlow<ShadeMode> = repository.shadeMode in <lambda>() constant
|
D | ShadeInteractorSceneContainerImpl.kt | 50 override val shadeMode: StateFlow<ShadeMode> = shadeRepository.shadeMode in <lambda>() constant
|
D | ShadeBackActionInteractorImpl.kt | 39 if (fullyCollapse || shadeInteractor.shadeMode.value is ShadeMode.Dual) { in animateCollapseQs()
|
D | ShadeInteractor.kt | 113 val shadeMode: StateFlow<ShadeMode> constant
|
D | ShadeInteractorEmptyImpl.kt | 48 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/ |
D | ShadeScene.kt | 186 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/ |
D | NotificationsShadeScene.kt | 98 shadeMode = ShadeMode.Dual, in Content()
|
D | Notifications.kt | 174 shadeMode: ShadeMode, in NotificationScrollingStack() 350 .thenIf(shadeMode == ShadeMode.Single) { in NotificationScrollingStack()
|