Home
last modified time | relevance | path

Searched refs:isLargeClockVisible (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModel.kt74 val isLargeClockVisible: StateFlow<Boolean> = in <lambda>() constant
87 isLargeClockVisible, in <lambda>()
124 isLargeClockVisible, in <lambda>()
128 ) { isLargeClockVisible, clockShouldBeCentered, shadeMode, currentClock -> in <lambda>() method
134 shouldUseSplitShade && isLargeClockVisible -> in <lambda>()
137 isLargeClockVisible -> ClockLayout.WEATHER_LARGE_CLOCK in <lambda>()
143 shouldUseSplitShade && isLargeClockVisible -> in <lambda>()
146 isLargeClockVisible -> ClockLayout.LARGE_CLOCK in <lambda>()
158 combine(currentClock, isLargeClockVisible) { currentClock, isLargeClockVisible -> in <lambda>() method
159 isLargeClockVisible && in <lambda>()
DKeyguardPreviewClockViewModel.kt35 val isLargeClockVisible: Flow<Boolean> = constant
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DTopAreaSection.kt135 val isLargeClockVisible by clockViewModel.isLargeClockVisible.collectAsStateWithLifecycle() in LargeClockWithSmartSpace() constant
137 LaunchedEffect(isLargeClockVisible) { in LargeClockWithSmartSpace()
138 if (isLargeClockVisible) { in LargeClockWithSmartSpace()
172 val isLargeClockVisible by clockViewModel.isLargeClockVisible.collectAsStateWithLifecycle() in WeatherLargeClockWithSmartSpace() constant
175 LaunchedEffect(isLargeClockVisible) { in WeatherLargeClockWithSmartSpace()
176 if (isLargeClockVisible) { in WeatherLargeClockWithSmartSpace()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSectionTest.kt147 val isLargeClockVisible by in <lambda>() constant
148 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
172 val isLargeClockVisible by in <lambda>() constant
173 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
197 val isLargeClockVisible by in <lambda>() constant
198 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
221 val isLargeClockVisible by in <lambda>() constant
222 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
245 val isLargeClockVisible by in <lambda>() constant
246 collectLastValue(keyguardClockViewModel.isLargeClockVisible) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSection.kt115 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/transitions/
DClockSizeTransition.kt286 override val isLargeClock = viewModel.isLargeClockVisible.value in <lambda>()
307 override val isLargeClock = !viewModel.isLargeClockVisible.value in <lambda>()
327 private val isLargeClock = viewModel.isLargeClockVisible.value in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModelTest.kt218 val value by collectLastValue(underTest.isLargeClockVisible) in isLargeClockVisible_whenLargeClockSize_isTrue()
227 val value by collectLastValue(underTest.isLargeClockVisible) in isLargeClockVisible_whenSmallClockSize_isFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardClockViewBinder.kt105 viewModel.isLargeClockVisible.value && it.config.useCustomClockScene in <lambda>()
DKeyguardPreviewClockViewBinder.kt62 viewModel.isLargeClockVisible.collect { largeClockHostView.isVisible = it } in <lambda>()