Home
last modified time | relevance | path

Searched refs:hasCustomWeatherDataDisplay (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardSmartspaceViewModel.kt52 keyguardClockViewModel.hasCustomWeatherDataDisplay in <lambda>()
57 initialValue = !keyguardClockViewModel.hasCustomWeatherDataDisplay.value, in <lambda>()
64 keyguardClockViewModel.hasCustomWeatherDataDisplay, in <lambda>()
77 keyguardClockViewModel.hasCustomWeatherDataDisplay.value, in <lambda>()
DKeyguardClockViewModel.kt85 val hasCustomWeatherDataDisplay = in <lambda>() constant
92 face.config.hasCustomWeatherDataDisplay in <lambda>()
99 initialValue = currentClock.value?.largeClock?.config?.hasCustomWeatherDataDisplay in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSectionTest.kt67 private val hasCustomWeatherDataDisplay = MutableStateFlow(false) constant in com.android.systemui.keyguard.ui.view.layout.sections.SmartspaceSectionTest
90 whenever(keyguardClockViewModel.hasCustomWeatherDataDisplay) in setup()
91 .thenReturn(hasCustomWeatherDataDisplay) in setup()
142 hasCustomWeatherDataDisplay.value = true in testConstraintsWhenHasCustomWeatherDataDisplay()
164 hasCustomWeatherDataDisplay.value = true in testCustomDateWeatherVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardSmartspaceViewModelTest.kt60 whenever(clockController.largeClock.config.hasCustomWeatherDataDisplay) in testWhenWeatherEnabled_notCustomWeatherDataDisplay_isWeatherVisible_shouldBeTrue()
75 whenever(clockController.largeClock.config.hasCustomWeatherDataDisplay).thenReturn(true) in testWhenWeatherEnabled_hasCustomWeatherDataDisplay_isWeatherVisible_shouldBeFalse()
89 whenever(clockController.largeClock.config.hasCustomWeatherDataDisplay) in testWhenWeatherEnabled_notCustomWeatherDataDisplay_notIsWeatherVisible_shouldBeFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSmartspaceViewBinder.kt47 clockViewModel.hasCustomWeatherDataDisplay.collect { hasCustomWeatherDataDisplay in <lambda>() method
104 if (clockViewModel.hasCustomWeatherDataDisplay.value) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSection.kt142 if (keyguardClockViewModel.hasCustomWeatherDataDisplay.value) { in applyConstraints()
209 if (keyguardClockViewModel.hasCustomWeatherDataDisplay.value) ConstraintSet.GONE in updateVisibility()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DClockProviderPlugin.kt296 val hasCustomWeatherDataDisplay: Boolean = false, constant in com.android.systemui.plugins.clocks.ClockFaceConfig