Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java62 private KeyguardClockSwitch mClockView; field in KeyguardStatusView
146 return mClockView.hasCustomClock(); in hasCustomClock()
153 mClockView.setHasVisibleNotifications(hasVisibleNotifications); in setHasVisibleNotifications()
190 mClockView = findViewById(R.id.keyguard_clock_container); in onFinishInflate()
191 mClockView.setShowCurrentUserTime(true); in onFinishInflate()
193 mClockView.setAccessibilityDelegate(new KeyguardClockAccessibilityDelegate(mContext)); in onFinishInflate()
197 mTextColor = mClockView.getCurrentTextColor(); in onFinishInflate()
215 mClockView.setKeyguardShowingHeader(hasHeader); in onSliceContentChanged()
239 if (mClockView != null) { in onDensityOrFontScaleChanged()
240 mClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in onDensityOrFontScaleChanged()
[all …]
DKeyguardClockSwitch.java92 private TextClock mClockView; field in KeyguardClockSwitch
194 mClockView = findViewById(R.id.default_clock_view); in onFinishInflate()
238 mClockView.setVisibility(View.GONE); in setClockPlugin()
241 mClockView.setVisibility(View.VISIBLE); in setClockPlugin()
253 mClockView.setVisibility(View.GONE); in setClockPlugin()
293 mClockView.getPaint().setStyle(style); in setStyle()
304 mClockView.setTextColor(color); in setTextColor()
312 mClockView.setShowCurrentUserTime(showCurrentUserTime); in setShowCurrentUserTime()
317 mClockView.setTextSize(unit, size); in setTextSize()
321 mClockView.setFormat12Hour(format); in setFormat12Hour()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java70 TextClock mClockView; field in KeyguardClockSwitchTest
86 when(mClockView.getPaint()).thenReturn(mock(TextPaint.class)); in setUp()
98 verify(mClockView).setVisibility(GONE); in onPluginConnected_showPluginClock()
124 verify(mClockView, never()).setVisibility(GONE); in onPluginConnected_nullView()
158 mClockView.setVisibility(GONE); in onPluginDisconnected_showDefaultClock()
163 verify(mClockView).setVisibility(VISIBLE); in onPluginDisconnected_showDefaultClock()
193 verify(mClockView, never()).setVisibility(GONE); in onPluginDisconnected_nullView()
209 verify(mClockView).setVisibility(VISIBLE); in onPluginDisconnected_secondOfTwoDisconnected()
231 verify(mClockView).setTextColor(Color.YELLOW); in setTextColor_defaultClockSetTextColor()
250 doReturn(paint).when(mClockView).getPaint(); in setStyle_defaultClockSetStyle()
DKeyguardStatusViewTest.java47 KeyguardClockSwitch mClockView; field in KeyguardStatusViewTest
72 verify(mClockView).refresh(); in dozeTimeTick_updatesClock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java63 private View mClockView; field in CollapsedStatusBarFragment
107 mClockView = mStatusBar.findViewById(R.id.clock); in onViewCreated()
195 if ((diff1 & DISABLE_CLOCK) != 0 || mClockView.getVisibility() != clockHiddenMode()) { in disable()
259 animateHiddenState(mClockView, clockHiddenMode(), animate); in hideClock()
263 animateShow(mClockView, animate); in showClock()
DHeadsUpAppearanceController.java60 private final View mClockView; field in HeadsUpAppearanceController
140 mClockView = clockView; in HeadsUpAppearanceController()
280 hide(mClockView, View.INVISIBLE); in setShown()
288 show(mClockView); in setShown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java128 private Clock mClockView; field in QuickStatusBarHeader
195 mClockView = findViewById(R.id.clock); in onFinishInflate()
196 mClockView.setOnClickListener(this); in onFinishInflate()
278 mClockView.useWallpaperTextColor(shouldUseWallpaperTextColor); in onConfigurationChanged()
449 if (v == mClockView) { in onClick()