Searched refs:StatusBarMode (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/repository/ |
D | StatusBarModePerDisplayRepository.kt | 35 import com.android.systemui.statusbar.data.model.StatusBarMode in <lambda>() 90 val statusBarMode: StateFlow<StatusBarMode> in <lambda>() 250 override val statusBarMode: StateFlow<StatusBarMode> = 252 .map { it?.mode ?: StatusBarMode.TRANSPARENT } in <lambda>() 253 .stateIn(scope, SharingStarted.Eagerly, initialValue = StatusBarMode.TRANSPARENT) 260 ): StatusBarMode { in toBarMode() 262 hasOngoingCall && isInFullscreenMode -> StatusBarMode.SEMI_TRANSPARENT in toBarMode() 263 isTransientShown -> StatusBarMode.SEMI_TRANSPARENT in toBarMode() 269 private fun Int.toBarMode(): StatusBarMode { in toBarMode() 272 this and lightsOutOpaque == lightsOutOpaque -> StatusBarMode.LIGHTS_OUT in toBarMode() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/domain/interactor/ |
D | LightsOutInteractorTest.kt | 22 import com.android.systemui.statusbar.data.model.StatusBarMode 37 statusBarModeRepository.defaultDisplay.statusBarMode.value = StatusBarMode.LIGHTS_OUT in <lambda>() 47 StatusBarMode.LIGHTS_OUT_TRANSPARENT in isLowProfile_lightsOutTransparentStatusBarMode_true() 56 statusBarModeRepository.defaultDisplay.statusBarMode.value = StatusBarMode.TRANSPARENT in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/domain/interactor/ |
D | LightsOutInteractor.kt | 19 import com.android.systemui.statusbar.data.model.StatusBarMode 40 StatusBarMode.LIGHTS_OUT, in isLowProfile() 41 StatusBarMode.LIGHTS_OUT_TRANSPARENT -> true in isLowProfile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | LightBarControllerTest.java | 53 import com.android.systemui.statusbar.data.model.StatusBarMode; 126 StatusBarMode.TRANSPARENT, in testOnStatusBarAppearanceChanged_multipleStacks_allStacksLight() 147 StatusBarMode.TRANSPARENT, in testOnStatusBarAppearanceChanged_multipleStacks_oneStackLightOneStackDark() 170 StatusBarMode.TRANSPARENT, in testOnStatusBarAppearanceChanged_multipleStacks_oneStackDarkOneStackLight() 195 StatusBarMode.TRANSPARENT, in testOnStatusBarAppearanceChanged_multipleStacks_oneStackLightMultipleStackDark() 219 StatusBarMode.TRANSPARENT, in testOnStatusBarAppearanceChanged_multipleStacks_allStacksDark() 236 StatusBarMode.TRANSPARENT, in testOnStatusBarAppearanceChanged_singleStack_light() 254 StatusBarMode.TRANSPARENT, in testOnStatusBarAppearanceChanged_singleStack_dark() 271 StatusBarMode.TRANSPARENT, in testOnStatusBarAppearanceChanged_statusBarModeChanged_statusRedrawn() 281 StatusBarMode.LIGHTS_OUT_TRANSPARENT, in testOnStatusBarAppearanceChanged_statusBarModeChanged_statusRedrawn() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/data/repository/ |
D | StatusBarModeRepositoryImplTest.kt | 32 import com.android.systemui.statusbar.data.model.StatusBarMode 360 assertThat(latest!!.mode).isEqualTo(StatusBarMode.TRANSPARENT) in statusBarAppearance_boundsChanged_appearanceReFetched() 384 assertThat(latest!!.mode).isEqualTo(StatusBarMode.LIGHTS_OUT_TRANSPARENT) in statusBarAppearance_boundsChanged_appearanceReFetched() 401 assertThat(latest!!.mode).isEqualTo(StatusBarMode.SEMI_TRANSPARENT) in statusBarMode_ongoingCallAndFullscreen_semiTransparent() 417 assertThat(latest!!.mode).isEqualTo(StatusBarMode.OPAQUE) in statusBarMode_ongoingCallButNotFullscreen_matchesAppearance() 431 assertThat(latest!!.mode).isEqualTo(StatusBarMode.OPAQUE) in statusBarMode_fullscreenButNotOngoingCall_matchesAppearance() 444 assertThat(latest!!.mode).isEqualTo(StatusBarMode.SEMI_TRANSPARENT) in statusBarMode_transientShown_semiTransparent() 456 assertThat(latest!!.mode).isEqualTo(StatusBarMode.LIGHTS_OUT) in statusBarMode_appearanceLowProfileAndOpaque_lightsOut() 468 assertThat(latest!!.mode).isEqualTo(StatusBarMode.LIGHTS_OUT_TRANSPARENT) in statusBarMode_appearanceLowProfile_lightsOutTransparent() 480 assertThat(latest!!.mode).isEqualTo(StatusBarMode.OPAQUE) in statusBarMode_appearanceOpaque_opaque() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/data/repository/ |
D | FakeStatusBarModeRepository.kt | 22 import com.android.systemui.statusbar.data.model.StatusBarMode 49 override val statusBarMode = MutableStateFlow(StatusBarMode.TRANSPARENT)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/model/ |
D | StatusBarAppearance.kt | 25 val mode: StatusBarMode,
|
D | StatusBarMode.kt | 33 enum class StatusBarMode { class
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | CollapsedStatusBarViewModelImplTest.kt | 46 import com.android.systemui.statusbar.data.model.StatusBarMode 348 StatusBarMode.LIGHTS_OUT_TRANSPARENT in areNotificationsLightsOut_lowProfileWithNotifications_true() 362 StatusBarMode.LIGHTS_OUT_TRANSPARENT in areNotificationsLightsOut_lowProfileWithoutNotifications_false() 375 statusBarModeRepository.defaultDisplay.statusBarMode.value = StatusBarMode.TRANSPARENT in areNotificationsLightsOut_defaultStatusBarModeWithoutNotifications_false() 388 statusBarModeRepository.defaultDisplay.statusBarMode.value = StatusBarMode.TRANSPARENT in areNotificationsLightsOut_defaultStatusBarModeWithNotifications_false()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImpl.java | 205 import com.android.systemui.statusbar.data.model.StatusBarMode; 1654 private void updateBarMode(StatusBarMode barMode) { in updateBarMode() 1699 StatusBarMode mode = in updateBubblesVisibility() 1702 mode != StatusBarMode.LIGHTS_OUT in updateBubblesVisibility() 1703 && mode != StatusBarMode.LIGHTS_OUT_TRANSPARENT in updateBubblesVisibility() 1708 StatusBarMode mode, in checkBarMode()
|