Home
last modified time | relevance | path

Searched refs:wallpaperSupportsAmbientMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/data/repository/
DWallpaperRepositoryImplTest.kt240 val latest by collectLastValue(underTest.wallpaperSupportsAmbientMode) in wallpaperSupportsAmbientMode_nullInfo_false()
255 val latest by collectLastValue(underTest.wallpaperSupportsAmbientMode) in wallpaperSupportsAmbientMode_infoDoesNotSupport_false()
270 val latest by collectLastValue(underTest.wallpaperSupportsAmbientMode) in wallpaperSupportsAmbientMode_infoSupports_true()
291 underTest.wallpaperSupportsAmbientMode in wallpaperSupportsAmbientMode_initialValueIsFetched_true()
296 assertThat(underTest.wallpaperSupportsAmbientMode.value).isTrue() in wallpaperSupportsAmbientMode_initialValueIsFetched_true()
309 assertThat(underTest.wallpaperSupportsAmbientMode.value).isFalse() in wallpaperSupportsAmbientMode_initialValueIsFetched_false()
315 val latest by collectLastValue(underTest.wallpaperSupportsAmbientMode) in wallpaperSupportsAmbientMode_updatesOnUserChanged()
339 val latest by collectLastValue(underTest.wallpaperSupportsAmbientMode) in wallpaperSupportsAmbientMode_doesNotUpdateOnUserChanging()
365 val latest by collectLastValue(underTest.wallpaperSupportsAmbientMode) in wallpaperSupportsAmbientMode_updatesOnIntent()
387 val latest by collectLastValue(underTest.wallpaperSupportsAmbientMode) in wallpaperSupportsAmbientMode_wallpaperNotSupported_alwaysFalse()
[all …]
DFakeWallpaperRepository.kt25 override val wallpaperSupportsAmbientMode = MutableStateFlow(false) constant in com.android.systemui.wallpapers.data.repository.FakeWallpaperRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/data/repository/
DWallpaperRepository.kt53 val wallpaperSupportsAmbientMode: StateFlow<Boolean> in <lambda>() constant
106 override val wallpaperSupportsAmbientMode: StateFlow<Boolean> = constant
DNoopWallpaperRepository.kt35 override val wallpaperSupportsAmbientMode = MutableStateFlow(false).asStateFlow() constant in com.android.systemui.wallpapers.data.repository.NoopWallpaperRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java476 public void setWallpaperSupportsAmbientMode(boolean wallpaperSupportsAmbientMode) { in setWallpaperSupportsAmbientMode() argument
477 mWallpaperSupportsAmbientMode = wallpaperSupportsAmbientMode; in setWallpaperSupportsAmbientMode()
DScrimController.java1672 private void setWallpaperSupportsAmbientMode(boolean wallpaperSupportsAmbientMode) { in setWallpaperSupportsAmbientMode() argument
1673 mWallpaperSupportsAmbientMode = wallpaperSupportsAmbientMode; in setWallpaperSupportsAmbientMode()
1676 states[i].setWallpaperSupportsAmbientMode(wallpaperSupportsAmbientMode); in setWallpaperSupportsAmbientMode()