Home
last modified time | relevance | path

Searched refs:currentClock (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DDefaultClockSection.kt62 val currentClock by viewModel.currentClock.collectAsStateWithLifecycle() in <lambda>() constant
67 if (currentClock?.smallClock?.view == null) { in <lambda>()
74 ensureClockViewExists(checkNotNull(currentClock).smallClock.view) in <lambda>()
77 update = { it.ensureClockViewExists(checkNotNull(currentClock).smallClock.view) }, in <lambda>()
94 val currentClock by viewModel.currentClock.collectAsStateWithLifecycle() in <lambda>() constant
95 if (currentClock?.largeClock?.view == null) { in <lambda>()
102 if (currentClock?.largeClock?.config?.hasCustomPositionUpdatedAnimation != true) { in <lambda>()
116 val largeClock = checkNotNull(currentClock).largeClock in <lambda>()
128 ensureClockViewExists(checkNotNull(currentClock).largeClock.view) in <lambda>()
132 it.ensureClockViewExists(checkNotNull(currentClock).largeClock.view) in <lambda>()
DTopAreaSection.kt173 val currentClockState = clockViewModel.currentClock.collectAsStateWithLifecycle() in WeatherLargeClockWithSmartSpace()
182 val currentClock = currentClockState.value ?: return@Column in WeatherLargeClockWithSmartSpace() constant
185 clock = currentClock, in WeatherLargeClockWithSmartSpace()
205 clock = currentClock, in WeatherLargeClockWithSmartSpace()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModel.kt83 val currentClock = keyguardClockInteractor.currentClock in <lambda>() constant
88 currentClock, in <lambda>()
89 ) { isLargeClock, currentClock -> in <lambda>() method
90 currentClock?.let { clock -> in <lambda>()
99 initialValue = currentClock.value?.largeClock?.config?.hasCustomWeatherDataDisplay in <lambda>()
127 currentClock, in <lambda>()
128 ) { isLargeClockVisible, clockShouldBeCentered, shadeMode, currentClock -> in <lambda>() method
130 if (currentClock?.config?.useCustomClockScene == true) { in <lambda>()
158 combine(currentClock, isLargeClockVisible) { currentClock, isLargeClockVisible -> in <lambda>() method
160 currentClock?.largeClock?.config?.hasCustomPositionUpdatedAnimation == true in <lambda>()
DAodBurnInViewModel.kt124 keyguardClockViewModel.currentClock.value in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardClockViewBinder.kt66 viewModel.currentClock.collect { currentClock -> in <lambda>() method
67 cleanupClockViews(currentClock, keyguardRootView, viewModel.burnInLayer) in <lambda>()
68 addClockViews(currentClock, keyguardRootView) in <lambda>()
85 viewModel.currentClock.value?.let { in <lambda>()
103 viewModel.currentClock.value?.let { in <lambda>()
116 viewModel.currentClock.value?.let { in <lambda>()
138 val clockController = viewModel.currentClock.value in <lambda>()
156 currentClock: ClockController?, in <lambda>()
160 if (lastClock == currentClock) { in <lambda>()
171 lastClock = currentClock in <lambda>()
DKeyguardPreviewClockViewBinder.kt88 viewModel.previewClock.collect { currentClock -> in <lambda>() method
93 lastClock = currentClock in <lambda>()
94 updateClockAppearance(currentClock) in <lambda>()
97 (currentClock.largeClock.layout.views + in <lambda>()
98 currentClock.smallClock.layout.views) in <lambda>()
101 currentClock.largeClock.layout.views.forEach { in <lambda>()
106 currentClock.smallClock.layout.views.forEach { in <lambda>()
110 applyPreviewConstraints(context, rootView, currentClock, viewModel) in <lambda>()
DKeyguardBlueprintViewBinder.kt131 val currentClock = viewModel.currentClock.value in <lambda>() constant
132 if (!DEBUG || currentClock == null) return in <lambda>()
134 val largeClockViewId = currentClock.largeClock.layout.views[0].id in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/
DKeyguardClockViewBinderTest.kt58 private val currentClock: MutableStateFlow<ClockController?> = MutableStateFlow(null) constant in com.android.systemui.keyguard.ui.binder.KeyguardClockViewBinderTest
64 whenever(clockViewModel.currentClock).thenReturn(currentClock) in setup()
131 currentClock.value = clock in setupClock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardClockRepository.kt67 val currentClock: StateFlow<ClockController?> constant
132 override val currentClock: StateFlow<ClockController?> = in setClockSize() constant in com.android.systemui.keyguard.data.repository.KeyguardClockRepositoryImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractor.kt69 val currentClock: StateFlow<ClockController?> = keyguardClockRepository.currentClock in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/blueprints/transitions/
DIntraBlueprintTransition.kt63 clockViewModel.currentClock.value?.let { DefaultClockSteppingTransition(it) } in <lambda>()
DBaseBlueprintTransition.kt44 clockViewModel.currentClock.value?.let { clock -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeKeyguardClockRepository.kt44 override val currentClock = _currentClock constant in com.android.systemui.keyguard.data.repository.FakeKeyguardClockRepository
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/blueprint/
DBurnInState.kt40 val clock by clockInteractor.currentClock.collectAsStateWithLifecycle() in rememberBurnIn()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DClockRegistry.kt481 val currentClock = availableClocks[currentClockId] in verifyLoadedProviders() constant
482 if (currentClock == null) { in verifyLoadedProviders()
492 val currentManager = currentClock.manager in verifyLoadedProviders()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSection.kt93 keyguardClockViewModel.currentClock.value?.let { clock -> in applyConstraints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/transitions/
DClockSizeTransition.kt239 viewModel.currentClock.value?.let { in <lambda>()