Searched refs:clockView (Results 1 – 7 of 7) sorted by relevance
37 private lateinit var clockView: Clock variable in com.android.systemui.statusbar.policy.ClockTest46 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 …]
44 private lateinit var clockView: AnimatableClockView in <lambda>() variable in com.android.systemui.shared.clocks.AnimatableClockViewTest49 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>()
98 TextView clockView = null; in StatusBar() local105 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()
146 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>()
62 Clock clockView, in StatusBarDemoMode() argument68 super(clockView); in StatusBarDemoMode()69 mClockView = clockView; in StatusBarDemoMode()
130 Clock clockView, in HeadsUpAppearanceController() argument153 mClockView = clockView; in HeadsUpAppearanceController()
561 View clockView = clockContainerView.getChildAt(0); in updateAlignment() local572 adapter.addTarget(clockView); in updateAlignment()