/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | LockscreenContentViewModel.kt | 52 @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>()
|
D | KeyguardClockViewModel.kt | 61 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>()
|
D | AodBurnInViewModel.kt | 130 (!useAltAod) && keyguardClockViewModel.clockSize.value == ClockSize.LARGE in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardClockViewBinder.kt | 69 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/ |
D | LockscreenContentViewModelTest.kt | 100 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>()
|
D | AodBurnInViewModelTest.kt | 407 kosmos.testScope.collectLastValue(kosmos.keyguardClockViewModel.clockSize) in translationAndScale_composeFlagOff_weatherLargeClock()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardClockInteractorTest.kt | 70 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/ |
D | KeyguardClockViewBinderTest.kt | 57 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/ |
D | KeyguardClockRepository.kt | 59 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/ |
D | KeyguardClockInteractor.kt | 77 val clockSize: StateFlow<ClockSize> = in <lambda>() constant 100 keyguardClockRepository.clockSize in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 444 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()
|
D | KeyguardClockSwitchController.java | 484 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()
|
D | KeyguardStatusViewController.java | 297 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/ |
D | FakeKeyguardClockRepository.kt | 35 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/ |
D | KeyguardClockViewModelTest.kt | 189 val value by collectLastValue(underTest.clockSize) in testClockSize_alwaysSmallClockSize() 204 val value by collectLastValue(underTest.clockSize) in testClockSize_dynamicClockSize()
|