/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/ |
D | DefaultClockController.kt | 61 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/ |
D | DefaultClockSection.kt | 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>() constant 117 largeClock.animations.onPositionUpdated( in <lambda>() 128 ensureClockViewExists(checkNotNull(currentClock).largeClock.view) in <lambda>() 132 it.ensureClockViewExists(checkNotNull(currentClock).largeClock.view) in <lambda>()
|
D | WeatherClockSection.kt | 137 clock.largeClock.layout.views.first { in WeatherElement()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | ClockEventController.kt | 126 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 …]
|
D | ConnectedDisplayKeyguardPresentation.kt | 161 faceController = clockController.largeClock in setClock()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardClockViewBinderTest.kt | 50 @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/ |
D | KeyguardSmartspaceViewModelTest.kt | 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()
|
D | KeyguardClockViewModelTest.kt | 64 @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/ |
D | KeyguardClockSwitchTest.java | 153 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()
|
D | ClockEventControllerTest.kt | 114 whenever(clock.largeClock).thenReturn(largeClockController) in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardPreviewClockViewBinder.kt | 90 (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>()
|
D | KeyguardClockViewBinder.kt | 89 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>()
|
D | KeyguardBlueprintViewBinder.kt | 134 val largeClockViewId = currentClock.largeClock.layout.views[0].id in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/transitions/ |
D | DefaultClockSteppingTransition.kt | 33 addTarget(clock.largeClock.view) in <lambda>() 67 clock.largeClock.animations.onPositionUpdated( in <lambda>()
|
D | ClockSizeTransition.kt | 241 it.largeClock.layout.views.forEach { addTarget(it) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | KeyguardClockViewModel.kt | 91 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/ |
D | DefaultClockProviderTest.kt | 98 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/ |
D | BaseBlueprintTransition.kt | 45 clock.largeClock.layout.views.forEach { view -> transition.excludeTarget(view, true) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/ |
D | KeyguardPreviewRenderer.kt | 590 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/ |
D | ClockSection.kt | 122 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/ |
D | ClockProviderPlugin.kt | 63 val largeClock: ClockFaceController in initialize() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardClockInteractor.kt | 152 clock.largeClock.animations.fold(foldFraction) in <lambda>()
|