Home
last modified time | relevance | path

Searched refs:isWeatherVisible (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardSmartspaceViewModelTest.kt59 val isWeatherVisible by collectLastValue(underTest.isWeatherVisible) in testWhenWeatherEnabled_notCustomWeatherDataDisplay_isWeatherVisible_shouldBeTrue() constant
68 assertThat(isWeatherVisible).isEqualTo(true) in testWhenWeatherEnabled_notCustomWeatherDataDisplay_isWeatherVisible_shouldBeTrue()
74 val isWeatherVisible by collectLastValue(underTest.isWeatherVisible) in testWhenWeatherEnabled_hasCustomWeatherDataDisplay_isWeatherVisible_shouldBeFalse() constant
82 assertThat(isWeatherVisible).isEqualTo(false) in testWhenWeatherEnabled_hasCustomWeatherDataDisplay_isWeatherVisible_shouldBeFalse()
88 val isWeatherVisible by collectLastValue(underTest.isWeatherVisible) in testWhenWeatherEnabled_notCustomWeatherDataDisplay_notIsWeatherVisible_shouldBeFalse() constant
97 assertThat(isWeatherVisible).isEqualTo(false) in testWhenWeatherEnabled_notCustomWeatherDataDisplay_notIsWeatherVisible_shouldBeFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardSmartspaceViewModel.kt61 val isWeatherVisible: StateFlow<Boolean> = in <lambda>() constant
66 isWeatherVisible( in <lambda>()
75 isWeatherVisible( in <lambda>()
82 private fun isWeatherVisible( in <lambda>() method
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DSmartSpaceSection.kt163 val isVisible by keyguardSmartspaceViewModel.isWeatherVisible.collectAsStateWithLifecycle() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSection.kt199 when (keyguardSmartspaceViewModel.isWeatherVisible.value) { in updateVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSectionTest.kt94 whenever(keyguardSmartspaceViewModel.isWeatherVisible).thenReturn(isWeatherVisibleFlow) in setup()