Home
last modified time | relevance | path

Searched refs:ClockLayout (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModel.kt122 val currentClockLayout: StateFlow<ClockLayout> = in <lambda>()
133 ClockLayout.WEATHER_LARGE_CLOCK in <lambda>()
135 ClockLayout.SPLIT_SHADE_WEATHER_LARGE_CLOCK in <lambda>()
136 shouldUseSplitShade -> ClockLayout.SPLIT_SHADE_SMALL_CLOCK in <lambda>()
137 isLargeClockVisible -> ClockLayout.WEATHER_LARGE_CLOCK in <lambda>()
138 else -> ClockLayout.SMALL_CLOCK in <lambda>()
142 shouldUseSplitShade && clockShouldBeCentered -> ClockLayout.LARGE_CLOCK in <lambda>()
144 ClockLayout.SPLIT_SHADE_LARGE_CLOCK in <lambda>()
145 shouldUseSplitShade -> ClockLayout.SPLIT_SHADE_SMALL_CLOCK in <lambda>()
146 isLargeClockVisible -> ClockLayout.LARGE_CLOCK in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DTopAreaSection.kt69 KeyguardClockViewModel.ClockLayout.SPLIT_SHADE_LARGE_CLOCK -> in DefaultClockLayout()
71 KeyguardClockViewModel.ClockLayout.SPLIT_SHADE_SMALL_CLOCK -> in DefaultClockLayout()
73 KeyguardClockViewModel.ClockLayout.LARGE_CLOCK -> largeClockScene in DefaultClockLayout()
74 KeyguardClockViewModel.ClockLayout.SMALL_CLOCK -> smallClockScene in DefaultClockLayout()
75 KeyguardClockViewModel.ClockLayout.WEATHER_LARGE_CLOCK -> in DefaultClockLayout()
77 KeyguardClockViewModel.ClockLayout.SPLIT_SHADE_WEATHER_LARGE_CLOCK -> in DefaultClockLayout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModelTest.kt33 import com.android.systemui.keyguard.ui.viewmodel.KeyguardClockViewModel.ClockLayout
96 assertThat(currentClockLayout).isEqualTo(ClockLayout.LARGE_CLOCK) in currentClockLayout_splitShadeOn_clockCentered_largeClock()
111 assertThat(currentClockLayout).isEqualTo(ClockLayout.SPLIT_SHADE_LARGE_CLOCK) in currentClockLayout_splitShadeOn_clockNotCentered_largeClock_splitShadeLargeClock()
126 assertThat(currentClockLayout).isEqualTo(ClockLayout.SPLIT_SHADE_SMALL_CLOCK) in currentClockLayout_splitShadeOn_clockNotCentered_smallClock_splitShadeSmallClock()
140 assertThat(currentClockLayout).isEqualTo(ClockLayout.SMALL_CLOCK) in currentClockLayout_singleShade_smallClock_smallClock()
153 assertThat(currentClockLayout).isEqualTo(ClockLayout.LARGE_CLOCK) in currentClockLayout_singleShade_largeClock_largeClock()