Home
last modified time | relevance | path

Searched refs:clockView (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DClockTest.kt37 private lateinit var clockView: Clock variable in com.android.systemui.statusbar.policy.ClockTest
46 clockView = Clock(context, null) in setUp()
47 container.addView(clockView) in setUp()
55 clockView.text = ONE_3 in testWidthDoesNotDecrease_sameCharLength()
57 val width1 = clockView.measuredWidth in testWidthDoesNotDecrease_sameCharLength()
60 clockView.text = ZERO_3 in testWidthDoesNotDecrease_sameCharLength()
62 val width2 = clockView.measuredWidth in testWidthDoesNotDecrease_sameCharLength()
71 clockView.text = ZERO_3 in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars()
73 val width1 = clockView.measuredWidth in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars()
76 clockView.text = ONE_3 in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
DAnimatableClockViewTest.kt44 private lateinit var clockView: AnimatableClockView in <lambda>() variable in com.android.systemui.shared.clocks.AnimatableClockViewTest
49 clockView = in <lambda>()
51 clockView.textAnimatorFactory = { _, _ -> mockTextAnimator } in <lambda>()
56 clockView.setColors(100, 200) in <lambda>()
57 clockView.animateAppearOnLockscreen() in <lambda>()
58 clockView.measure(50, 50) in <lambda>()
78 clockView.setColors(100, 200) in <lambda>()
79 clockView.measure(50, 50) in <lambda>()
80 clockView.animateAppearOnLockscreen() in <lambda>()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java98 TextView clockView = null; in StatusBar() local
105 clockView = (TextView) child; in StatusBar()
109 if (icons.size() != 2 || clockView == null) { in StatusBar()
122 clockView.setText(Config.getTime(simulatedPlatformVersion)); in StatusBar()
123 clockView.setTextColor(foregroundColor); in StatusBar()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DDefaultClockSection.kt146 private fun FrameLayout.ensureClockViewExists(clockView: View) { in <lambda>()
147 if (contains(clockView)) { in <lambda>()
151 (clockView.parent as? ViewGroup)?.removeView(clockView) in <lambda>()
152 addView(clockView) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarDemoMode.java62 Clock clockView, in StatusBarDemoMode() argument
68 super(clockView); in StatusBarDemoMode()
69 mClockView = clockView; in StatusBarDemoMode()
DHeadsUpAppearanceController.java130 Clock clockView, in HeadsUpAppearanceController() argument
153 mClockView = clockView; in HeadsUpAppearanceController()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusViewController.java561 View clockView = clockContainerView.getChildAt(0); in updateAlignment() local
572 adapter.addTarget(clockView); in updateAlignment()