Home
last modified time | relevance | path

Searched refs:largeClock (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DDefaultClockController.kt61 override val largeClock: LargeClockFaceController constant
89 largeClock =
96 clocks = listOf(smallClock.view, largeClock.view)
103 largeClock.recomputePadding(null) in initialize()
104 largeClock.animations = LargeClockAnimations(largeClock.view, dozeFraction, foldFraction) in initialize()
109 largeClock.events.onTimeTick() in initialize()
251 largeClock.updateColor() in onColorPaletteChanged()
256 largeClock.seedColor = seedColor in onSeedColorChanged()
259 largeClock.updateColor() in onSeedColorChanged()
335 largeClock.offsetGlyphsForStepClockAnimation(fromLeft, direction, fraction) in onPositionUpdated()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DDefaultClockSection.kt95 if (currentClock?.largeClock?.view == null) { in <lambda>()
102 if (currentClock?.largeClock?.config?.hasCustomPositionUpdatedAnimation != true) { in <lambda>()
116 val largeClock = checkNotNull(currentClock).largeClock in <lambda>() constant
117 largeClock.animations.onPositionUpdated( in <lambda>()
128 ensureClockViewExists(checkNotNull(currentClock).largeClock.view) in <lambda>()
132 it.ensureClockViewExists(checkNotNull(currentClock).largeClock.view) in <lambda>()
DWeatherClockSection.kt137 clock.largeClock.layout.views.first { in WeatherElement()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt126 clock.largeClock.view.removeOnAttachStateChangeListener(it) in <lambda>()
155 clock.largeClock.view, in <lambda>()
220 clock.largeClock.view.addOnAttachStateChangeListener(largeClockOnAttachStateChangeListener) in <lambda>()
251 clock.largeClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()
264 largeClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()
320 largeClock.animations.charge() in <lambda>()
342 largeClock.animations.doze(if (isDozing) 1f else 0f) in <lambda>()
383 clock?.largeClock?.events?.onTimeTick() in <lambda>()
475 largeClock.view.removeOnAttachStateChangeListener(largeClockOnAttachStateChangeListener) in <lambda>()
504 TimeListener(it.largeClock, mainExecutor).apply { update(shouldTimeListenerRun) } in <lambda>()
[all …]
DConnectedDisplayKeyguardPresentation.kt161 faceController = clockController.largeClock in setClock()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/
DKeyguardClockViewBinderTest.kt50 @Mock private lateinit var largeClock: ClockFaceController variable in com.android.systemui.keyguard.ui.binder.KeyguardClockViewBinderTest
127 whenever(clock.largeClock).thenReturn(largeClock) in setupClock()
129 whenever(largeClock.layout).thenReturn(largeClockFaceLayout) in setupClock()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardSmartspaceViewModelTest.kt60 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.kt64 @Mock lateinit var largeClock: ClockFaceController variable
78 whenever(clockController.largeClock).thenReturn(largeClock) in setup()
81 whenever(largeClock.config).thenAnswer { faceConfig } in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java153 ClockFaceController largeClock = mock(ClockFaceController.class); in onPluginConnected_showSecondPluginClock() local
155 when(otherClock.getLargeClock()).thenReturn(largeClock); in onPluginConnected_showSecondPluginClock()
157 when(largeClock.getView()).thenReturn(new TextView(getContext())); in onPluginConnected_showSecondPluginClock()
173 ClockFaceController largeClock = mock(ClockFaceController.class); in onPluginDisconnected_secondOfTwoDisconnected() local
175 when(otherClock.getLargeClock()).thenReturn(largeClock); in onPluginDisconnected_secondOfTwoDisconnected()
177 when(largeClock.getView()).thenReturn(new TextView(getContext())); in onPluginDisconnected_secondOfTwoDisconnected()
DClockEventControllerTest.kt114 whenever(clock.largeClock).thenReturn(largeClockController) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardPreviewClockViewBinder.kt90 (clock.largeClock.layout.views + clock.smallClock.layout.views) in <lambda>()
97 (currentClock.largeClock.layout.views + in <lambda>()
101 currentClock.largeClock.layout.views.forEach { in <lambda>()
195 previewClock.largeClock.layout.applyPreviewConstraints(cs) in <lambda>()
213 setVisibility(previewClock.largeClock.layout.views, largeClockVisibility) in <lambda>()
DKeyguardClockViewBinder.kt89 it.largeClock.config.hasCustomPositionUpdatedAnimation && in <lambda>()
117 it.largeClock.layout.applyAodBurnIn( in <lambda>()
169 clock.largeClock.layout.views.forEach { rootView.removeView(it) } in <lambda>()
188 clock.largeClock.layout.views.forEach { in <lambda>()
DKeyguardBlueprintViewBinder.kt134 val largeClockViewId = currentClock.largeClock.layout.views[0].id in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/transitions/
DDefaultClockSteppingTransition.kt33 addTarget(clock.largeClock.view) in <lambda>()
67 clock.largeClock.animations.onPositionUpdated( in <lambda>()
DClockSizeTransition.kt241 it.largeClock.layout.views.forEach { addTarget(it) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModel.kt91 val face = if (isLargeClock) clock.largeClock else clock.smallClock in <lambda>()
99 initialValue = currentClock.value?.largeClock?.config?.hasCustomWeatherDataDisplay in <lambda>()
160 currentClock?.largeClock?.config?.hasCustomPositionUpdatedAnimation == true in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
DDefaultClockProviderTest.kt98 assertEquals(mockLargeClockView, clock.largeClock.view) in createClock()
123 clock.largeClock.events.onTimeTick() in createClock()
159 clock.largeClock.events.onFontSettingChanged(200f) in createClock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/blueprints/transitions/
DBaseBlueprintTransition.kt45 clock.largeClock.layout.views.forEach { view -> transition.excludeTarget(view, true) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt590 largeClock.events.onTimeTick() in <lambda>()
608 ?.largeClock in <lambda>()
708 clock.largeClock.events.onTargetRegionChanged( in <lambda>()
712 clock.largeClock.view.alpha = DIM_ALPHA in <lambda>()
715 largeClockHostView.addView(clock.largeClock.view) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSection.kt122 if (keyguardClockViewModel.isLargeClockVisible.value) clock.largeClock.layout in getTargetClockFace()
126 else clock.largeClock.layout in getTargetClockFace()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DClockProviderPlugin.kt63 val largeClock: ClockFaceController in initialize() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractor.kt152 clock.largeClock.animations.fold(foldFraction) in <lambda>()