Home
last modified time | relevance | path

Searched refs:clockController (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardSmartspaceViewModelTest.kt48 @Mock(answer = Answers.RETURNS_DEEP_STUBS) private lateinit var clockController: ClockController variable in com.android.systemui.keyguard.ui.viewmodel.KeyguardSmartspaceViewModelTest
53 kosmos.fakeKeyguardClockRepository.setCurrentClock(clockController) in setup()
60 whenever(clockController.largeClock.config.hasCustomWeatherDataDisplay) in testWhenWeatherEnabled_notCustomWeatherDataDisplay_isWeatherVisible_shouldBeTrue()
75 whenever(clockController.largeClock.config.hasCustomWeatherDataDisplay).thenReturn(true) in testWhenWeatherEnabled_hasCustomWeatherDataDisplay_isWeatherVisible_shouldBeFalse()
89 whenever(clockController.largeClock.config.hasCustomWeatherDataDisplay) in testWhenWeatherEnabled_notCustomWeatherDataDisplay_notIsWeatherVisible_shouldBeFalse()
DKeyguardClockViewModelTest.kt63 @Mock lateinit var clockController: ClockController variable
78 whenever(clockController.largeClock).thenReturn(largeClock) in setup()
79 whenever(clockController.smallClock).thenReturn(smallClock) in setup()
80 whenever(clockController.config).thenAnswer { config } in setup()
165 fakeKeyguardClockRepository.setCurrentClock(clockController) in hasCustomPositionUpdatedAnimation_withConfigTrue_isTrue()
180 fakeKeyguardClockRepository.setCurrentClock(clockController) in hasCustomPositionUpdatedAnimation_withConfigFalse_isFalse()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeKeyguardClockRepository.kt63 fun setCurrentClock(clockController: ClockController) { in setCurrentClock()
64 _currentClock.value = clockController in setCurrentClock()
65 _currentClockId.value = clockController.config.id in setCurrentClock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardClockViewBinder.kt138 val clockController = viewModel.currentClock.value in <lambda>() constant
142 clockController?.let { clock -> in <lambda>()
176 clockController: ClockController?, in <lambda>()
181 clockController?.let { clock -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DConnectedDisplayKeyguardPresentation.kt157 private fun setClock(clockController: ClockController) { in setClock()
161 faceController = clockController.largeClock in setClock()
172 clockEventController.clock = clockController in setClock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt130 private val clockController: ClockEventController, in <lambda>() constant
581 clockController.registerListeners(parentView) in <lambda>()
582 disposables += DisposableHandle { clockController.unregisterListeners() } in <lambda>()
588 clockController.clock?.run { in <lambda>()
606 if (clockController.clock !is DefaultClockController) { in <lambda>()
607 clockController.clock in <lambda>()
613 clockController.clock in <lambda>()
632 clockController.clock = clock in <lambda>()
654 clockController.clock = clock in <lambda>()
663 clockController.clock = clock in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardBlueprintInteractorTest.kt69 @Mock private lateinit var clockController: ClockController variable in com.android.systemui.keyguard.domain.interactor.KeyguardBlueprintInteractorTest
74 whenever(clockController.config).thenReturn(ClockConfig("TEST", "Test", "")) in setup()
116 clockRepository.setCurrentClock(clockController) in testDoesNotApplySplitShadeBlueprint()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAodBurnInViewModelTest.kt58 @Mock(answer = Answers.RETURNS_DEEP_STUBS) private lateinit var clockController: ClockController variable in com.android.systemui.keyguard.ui.viewmodel.AodBurnInViewModelTest
80 kosmos.fakeKeyguardClockRepository.setCurrentClock(clockController) in setUp()
276 whenever(clockController.config.useAlternateSmartspaceAODTransition).thenReturn(true) in translationAndScale_useScaleOnly()
410 whenever(clockController.config.useAlternateSmartspaceAODTransition) in translationAndScale_composeFlagOff_weatherLargeClock()