Home
last modified time | relevance | path

Searched refs:clockSize (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenContentViewModel.kt52 @VisibleForTesting val clockSize = clockInteractor.clockSize in <lambda>() constant
68 clockSize, in <lambda>()
70 ) { clockSize, shouldUseSplitNotificationShade -> in <lambda>() method
71 clockSize == ClockSize.SMALL || shouldUseSplitNotificationShade in <lambda>()
97 return if (clockSize.value == ClockSize.LARGE) { in <lambda>()
DKeyguardClockViewModel.kt61 val clockSize: StateFlow<ClockSize> = in <lambda>() constant
64 keyguardClockInteractor.clockSize, in <lambda>()
65 ) { selectedSize, clockSize -> in <lambda>() method
66 if (selectedSize == ClockSizeSetting.SMALL) ClockSize.SMALL else clockSize in <lambda>()
75 clockSize in <lambda>()
DAodBurnInViewModel.kt130 (!useAltAod) && keyguardClockViewModel.clockSize.value == ClockSize.LARGE in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardClockViewBinder.kt69 updateBurnInLayer(keyguardRootView, viewModel, viewModel.clockSize.value) in <lambda>()
76 viewModel.clockSize.collect { clockSize -> in <lambda>() method
77 updateBurnInLayer(keyguardRootView, viewModel, clockSize) in <lambda>()
135 clockSize: ClockSize, in <lambda>()
143 when (clockSize) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenContentViewModelTest.kt100 val clockSize by collectLastValue(underTest.clockSize) in <lambda>() constant
102 assertThat(clockSize).isEqualTo(ClockSize.LARGE) in <lambda>()
111 val clockSize by collectLastValue(underTest.clockSize) in <lambda>() constant
113 assertThat(clockSize).isEqualTo(ClockSize.SMALL) in <lambda>()
DAodBurnInViewModelTest.kt407 kosmos.testScope.collectLastValue(kosmos.keyguardClockViewModel.clockSize) in translationAndScale_composeFlagOff_weatherLargeClock()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractorTest.kt70 val value by collectLastValue(underTest.clockSize) in clockSize_sceneContainerFlagOff_basedOnRepository()
94 val value by collectLastValue(underTest.clockSize) in clockSize_forceSmallClock_SMALL()
105 val value by collectLastValue(underTest.clockSize) in clockSize_SceneContainerFlagOn_shadeModeSingle_hasNotifs_SMALL()
115 val value by collectLastValue(underTest.clockSize) in clockSize_SceneContainerFlagOn_shadeModeSingle_hasMedia_SMALL()
126 val value by collectLastValue(underTest.clockSize) in clockSize_SceneContainerFlagOn_shadeModeSplit_isMediaVisible_SMALL()
138 val value by collectLastValue(underTest.clockSize) in clockSize_SceneContainerFlagOn_shadeModeSplit_noMedia_LARGE()
148 val value by collectLastValue(underTest.clockSize) in clockSize_SceneContainerFlagOn_shadeModeSplit_isDozing_LARGE()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/
DKeyguardClockViewBinderTest.kt57 private val clockSize = MutableStateFlow(ClockSize.LARGE) constant
63 whenever(clockViewModel.clockSize).thenReturn(clockSize) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardClockRepository.kt59 val clockSize: StateFlow<ClockSize> constant
93 override val clockSize: StateFlow<ClockSize> = _clockSize.asStateFlow() in setClockSize() constant in com.android.systemui.keyguard.data.repository.KeyguardClockRepositoryImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractor.kt77 val clockSize: StateFlow<ClockSize> = in <lambda>() constant
100 keyguardClockRepository.clockSize in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java444 boolean switchToClock(@ClockSize int clockSize, boolean animate) { in switchToClock() argument
445 if (mDisplayedClockSize != null && clockSize == mDisplayedClockSize) { in switchToClock()
452 updateClockViews(clockSize == LARGE, animate); in switchToClock()
455 mDisplayedClockSize = clockSize; in switchToClock()
DKeyguardClockSwitchController.java484 public void displayClock(@KeyguardClockSwitch.ClockSize int clockSize, boolean animate) { in displayClock() argument
485 if (!mCanShowDoubleLineClock && clockSize == KeyguardClockSwitch.LARGE) { in displayClock()
489 mCurrentClockSize = clockSize; in displayClock()
493 boolean appeared = mView.switchToClock(clockSize, animate); in displayClock()
494 if (clock != null && animate && appeared && clockSize == LARGE) { in displayClock()
DKeyguardStatusViewController.java297 public void displayClock(@ClockSize int clockSize, boolean animate) { in displayClock() argument
298 mKeyguardClockSwitchController.displayClock(clockSize, animate); in displayClock()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeKeyguardClockRepository.kt35 override val clockSize: StateFlow<ClockSize> = _clockSize constant in com.android.systemui.keyguard.data.repository.FakeKeyguardClockRepository
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModelTest.kt189 val value by collectLastValue(underTest.clockSize) in testClockSize_alwaysSmallClockSize()
204 val value by collectLastValue(underTest.clockSize) in testClockSize_dynamicClockSize()