Home
last modified time | relevance | path

Searched refs:mClockView (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java51 private KeyguardClockSwitch mClockView; field in KeyguardStatusView
86 mClockView = findViewById(R.id.keyguard_clock_container); in onFinishInflate()
88 mClockView.setAccessibilityDelegate(new KeyguardClockAccessibilityDelegate(mContext)); in onFinishInflate()
92 mTextColor = mClockView.getCurrentTextColor(); in onFinishInflate()
118 mClockView.setDarkAmount(darkAmount); in setDarkAmount()
126 mClockView.setTextColor(blendedTextColor); in updateDark()
130 setChildrenAlphaExcluding(alpha, Set.of(mClockView)); in setChildrenAlphaExcludingClockView()
154 if (mClockView != null) { in dump()
155 mClockView.dump(fd, pw, args); in dump()
DKeyguardClockSwitch.java50 private AnimatableClockView mClockView; field in KeyguardClockSwitch
95 mClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mContext.getResources() in onDensityOrFontScaleChanged()
117 mClockView = findViewById(R.id.animatable_clock_view); in onFinishInflate()
140 mClockView.setVisibility(View.VISIBLE); in setClockPlugin()
150 mClockView.setVisibility(View.GONE); in setClockPlugin()
283 return mClockView.getPaint(); in getPaint()
287 return mClockView.getCurrentTextColor(); in getCurrentTextColor()
291 return mClockView.getTextSize(); in getTextSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeaderController.java63 private final Clock mClockView; field in QuickStatusBarHeaderController
155 mClockView = mView.findViewById(R.id.clock); in QuickStatusBarHeaderController()
159 mDemoModeReceiver = new ClockDemoModeReceiver(mClockView); in QuickStatusBarHeaderController()
163 mClockView.onColorsChanged(lightTheme); in QuickStatusBarHeaderController()
293 private Clock mClockView; field in QuickStatusBarHeaderController.ClockDemoModeReceiver
301 mClockView = clockView; in ClockDemoModeReceiver()
306 mClockView.dispatchDemoCommand(command, args); in dispatchDemoCommand()
311 mClockView.onDemoModeStarted(); in onDemoModeStarted()
316 mClockView.onDemoModeFinished(); in onDemoModeFinished()
DQuickStatusBarHeader.java70 private Clock mClockView; field in QuickStatusBarHeader
132 mClockView = findViewById(R.id.clock); in onFinishInflate()
259 mClockView.setTextColor(textColor); in updateResources()
293 .addFloat(mClockView, "alpha", 0, 1) in updateAlphaAnimator()
447 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) mClockView.getLayoutParams(); in setSeparatorVisibility()
450 mClockView.setLayoutParams(lp); in setSeparatorVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java61 private AnimatableClockView mClockView; field in KeyguardClockSwitchTest
93 mClockView = mKeyguardClockSwitch.findViewById(R.id.animatable_clock_view); in setUp()
108 assertThat(mClockView.getVisibility()).isEqualTo(GONE); in onPluginConnected_showPluginClock()
129 assertThat(mClockView.getVisibility()).isEqualTo(VISIBLE); in onPluginConnected_nullView()
165 assertThat(mClockView.getVisibility()).isEqualTo(GONE); in onPluginDisconnected_showDefaultClock()
168 assertThat(mClockView.getVisibility()).isEqualTo(VISIBLE); in onPluginDisconnected_showDefaultClock()
193 assertThat(mClockView.getVisibility()).isEqualTo(VISIBLE); in onPluginDisconnected_nullView()
208 assertThat(mClockView.getVisibility()).isEqualTo(VISIBLE); in onPluginDisconnected_secondOfTwoDisconnected()
DKeyguardClockSwitchControllerTest.java102 private AnimatableClockView mClockView; field in KeyguardClockSwitchControllerTest
123 when(mView.findViewById(R.id.animatable_clock_view)).thenReturn(mClockView); in setup()
126 when(mClockView.getContext()).thenReturn(getContext()); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceController.java56 private final View mClockView; field in HeadsUpAppearanceController
134 mClockView = clockView; in HeadsUpAppearanceController()
216 hide(mClockView, View.INVISIBLE); in setShown()
224 show(mClockView); in setShown()
DCollapsedStatusBarFragment.java82 private View mClockView; field in CollapsedStatusBarFragment
167 mClockView = mStatusBar.findViewById(R.id.clock); in onViewCreated()
265 if ((diff1 & DISABLE_CLOCK) != 0 || mClockView.getVisibility() != clockHiddenMode()) { in disable()
366 animateHiddenState(mClockView, clockHiddenMode(), animate); in hideClock()
370 animateShow(mClockView, animate); in showClock()