Home
last modified time | relevance | path

Searched refs:keyguardClockViewModel (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardSmartspaceViewModel.kt39 keyguardClockViewModel: KeyguardClockViewModel, in <lambda>()
52 keyguardClockViewModel.hasCustomWeatherDataDisplay in <lambda>()
57 initialValue = !keyguardClockViewModel.hasCustomWeatherDataDisplay.value, in <lambda>()
64 keyguardClockViewModel.hasCustomWeatherDataDisplay, in <lambda>()
77 keyguardClockViewModel.hasCustomWeatherDataDisplay.value, in <lambda>()
DAodBurnInViewModel.kt60 private val keyguardClockViewModel: KeyguardClockViewModel, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.AodBurnInViewModel
124 keyguardClockViewModel.currentClock.value in <lambda>()
130 (!useAltAod) && keyguardClockViewModel.clockSize.value == ClockSize.LARGE in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSection.kt66 protected val keyguardClockViewModel: KeyguardClockViewModel, constant in com.android.systemui.keyguard.ui.view.layout.sections.ClockSection
81 keyguardClockViewModel, in bindData()
93 keyguardClockViewModel.currentClock.value?.let { clock -> in applyConstraints()
115 if (!keyguardClockViewModel.isLargeClockVisible.value) { in buildConstraints()
122 if (keyguardClockViewModel.isLargeClockVisible.value) clock.largeClock.layout in getTargetClockFace()
125 if (keyguardClockViewModel.isLargeClockVisible.value) clock.smallClock.layout in getTargetClockFace()
130 if (keyguardClockViewModel.isAodIconsVisible.value) { in getTargetClockFace()
159 if (keyguardClockViewModel.clockShouldBeCentered.value) PARENT_ID in applyDefaultConstraints()
166 keyguardClockViewModel.getLargeClockTopMargin() + in applyDefaultConstraints()
185 val smallClockTopMargin = keyguardClockViewModel.getSmallClockTopMargin() in applyDefaultConstraints()
DSmartspaceSection.kt46 val keyguardClockViewModel: KeyguardClockViewModel, constant in com.android.systemui.keyguard.ui.view.layout.sections.SmartspaceSection
101 keyguardClockViewModel, in bindData()
136 if (keyguardClockViewModel.clockShouldBeCentered.value) ConstraintSet.PARENT_ID in applyConstraints()
142 if (keyguardClockViewModel.hasCustomWeatherDataDisplay.value) { in applyConstraints()
209 if (keyguardClockViewModel.hasCustomWeatherDataDisplay.value) ConstraintSet.GONE in updateVisibility()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardSmartspaceViewModelKosmos.kt29 keyguardClockViewModel = keyguardClockViewModel, in <lambda>()
DAodBurnInViewModelKosmos.kt38 keyguardClockViewModel = keyguardClockViewModel, in <lambda>()
DKeyguardClockViewModelKosmos.kt29 val Kosmos.keyguardClockViewModel by constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DKeyguardBlueprintRepositoryKosmos.kt27 import com.android.systemui.keyguard.ui.viewmodel.keyguardClockViewModel
39 keyguardClockViewModel = keyguardClockViewModel, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSectionTest.kt35 import com.android.systemui.keyguard.ui.viewmodel.keyguardClockViewModel in <lambda>()
117 keyguardClockViewModel, in <lambda>()
148 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
173 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
198 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
222 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
246 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
DSmartspaceSectionTest.kt53 @Mock private lateinit var keyguardClockViewModel: KeyguardClockViewModel variable in com.android.systemui.keyguard.ui.view.layout.sections.SmartspaceSectionTest
77 keyguardClockViewModel, in setup()
90 whenever(keyguardClockViewModel.hasCustomWeatherDataDisplay) in setup()
92 whenever(keyguardClockViewModel.clockShouldBeCentered).thenReturn(clockShouldBeCentered) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewConfigurator.kt104 private val keyguardClockViewModel: KeyguardClockViewModel, constant in com.android.systemui.keyguard.KeyguardViewConfigurator
158 keyguardClockViewModel, in start()
212 keyguardClockViewModel, in bindKeyguardRootView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModelTest.kt60 val underTest by lazy { kosmos.keyguardClockViewModel } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt149 private val keyguardClockViewModel: KeyguardClockViewModel, in <lambda>() constant
393 keyguardClockViewModel, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAodBurnInViewModelTest.kt407 kosmos.testScope.collectLastValue(kosmos.keyguardClockViewModel.clockSize) in translationAndScale_composeFlagOff_weatherLargeClock()