Home
last modified time | relevance | path

Searched refs:isDozing (Results 1 – 25 of 66) sorted by relevance

123

/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DAnimatableClockController.java96 mView.animateCharge(mStatusBarStateController::isDozing);
115 boolean isDozing = linear > mDozeAmount;
117 if (mIsDozing != isDozing) {
118 mIsDozing = isDozing;
138 mIsDozing = mStatusBarStateController.isDozing(); in onInit()
147 mIsDozing = mStatusBarStateController.isDozing() || mDozeAmount != 0; in onViewAttached()
196 public boolean isDozing() { in isDozing() method in AnimatableClockController
H A DAnimatableClockView.java210 dozeStateGetter.isDozing() ? getDozingWeight() : getLockScreenWeight() /* weight */, in animateCharge()
217 setTextStyle(dozeStateGetter.isDozing() in animateCharge()
228 void animateDoze(boolean isDozing, boolean animate) { in animateDoze() argument
229 setTextStyle(isDozing ? getDozingWeight() : getLockScreenWeight() /* weight */, in animateDoze()
231 isDozing ? mDozingColor : mLockScreenColor, in animateDoze()
313 boolean isDozing(); in isDozing() method
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeScrimController.java153 public boolean isDozing() { in isDozing() method in DozeScrimController
224 public void onDozingChanged(boolean isDozing) { in onDozingChanged() argument
225 if (mDozing != isDozing) { in onDozingChanged()
226 mDozeLog.traceDozingChanged(isDozing); in onDozingChanged()
229 setDozing(isDozing); in onDozingChanged()
H A DKeyguardLiftController.kt60 override fun onDozingChanged(isDozing: Boolean) {
85 !statusBarStateController.isDozing
H A DNotificationShadeWindowViewController.java277 if (mStatusBarStateController.isDozing()) { in setupExpandedStatusBar()
330 if (mStatusBarStateController.isDozing() && !mService.isPulsing() in setupExpandedStatusBar()
350 && !mStatusBarStateController.isDozing()) { in setupExpandedStatusBar()
370 if (mStatusBarStateController.isDozing()) { in setupExpandedStatusBar()
427 if (mStatusBarStateController.isDozing()) { in setupExpandedStatusBar()
H A DStatusBarWindowCallback.java20 boolean isDozing); in onStateChanged() argument
H A DDozeServiceHost.java197 mDozeLog.traceDozing(mStatusBarStateController.isDozing()); in startDozing()
279 mDozeLog.traceDozing(mStatusBarStateController.isDozing()); in stopDozing()
289 if (mStatusBarStateController.isDozing() && ignore) { in onIgnoreTouchWhilePulsing()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
H A DWirelessChargingAnimation.java60 int transmittingBatteryLevel, int batteryLevel, Callback callback, boolean isDozing, in WirelessChargingAnimation() argument
63 transmittingBatteryLevel, batteryLevel, callback, isDozing, uiEventLogger); in WirelessChargingAnimation()
73 Callback callback, boolean isDozing, UiEventLogger uiEventLogger) { in makeWirelessChargingAnimation() argument
75 batteryLevel, callback, isDozing, uiEventLogger); in makeWirelessChargingAnimation()
112 boolean isDozing, UiEventLogger uiEventLogger) { in WirelessChargingView() argument
115 isDozing); in WirelessChargingView()
H A DWirelessChargingLayout.java57 boolean isDozing) { in WirelessChargingLayout() argument
59 init(context, null, transmittingBatteryLevel, batteryLevel, isDozing); in WirelessChargingLayout()
67 private void init(Context c, AttributeSet attrs, boolean isDozing) { in init() argument
72 int batteryLevel, boolean isDozing) { in init() argument
78 if (isDozing) { in init()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DAnimatableClockControllerTest.java113 when(mStatusBarStateController.isDozing()).thenReturn(true); in testOnAttachedUpdatesDozeStateToTrue()
120 assertTrue(mAnimatableClockController.isDozing()); in testOnAttachedUpdatesDozeStateToTrue()
126 when(mStatusBarStateController.isDozing()).thenReturn(false); in testOnAttachedUpdatesDozeStateToFalse()
133 assertFalse(mAnimatableClockController.isDozing()); in testOnAttachedUpdatesDozeStateToFalse()
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DStatusBarStateController.java40 boolean isDozing(); in isDozing() method
99 default void onDozingChanged(boolean isDozing) {} in onDozingChanged() argument
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DRankingCoordinatorTest.java147 when(mStatusBarStateController.isDozing()).thenReturn(true); in filterDozingSuppressAmbient()
153 when(mStatusBarStateController.isDozing()).thenReturn(false); in filterDozingSuppressAmbient()
167 when(mStatusBarStateController.isDozing()).thenReturn(true); in filterDozingSuppressNotificationList()
173 when(mStatusBarStateController.isDozing()).thenReturn(false); in filterDozingSuppressNotificationList()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeLogger.kt61 fun logDozing(isDozing: Boolean) {
63 bool1 = isDozing
69 fun logDozingChanged(isDozing: Boolean) {
71 bool1 = isDozing
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DNotificationShadeWindowViewTest.java114 when(mStatusBarStateController.isDozing()).thenReturn(false); in setUp()
166 when(mStatusBarStateController.isDozing()).thenReturn(false); in testInterceptTouchWhenShowingAltAuth()
179 when(mStatusBarStateController.isDozing()).thenReturn(false); in testNoInterceptTouch()
192 when(mStatusBarStateController.isDozing()).thenReturn(false); in testHandleTouchEventWhenShowingAltAuth()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DRankingCoordinator.java146 if (mStatusBarStateController.isDozing() && entry.shouldSuppressAmbient()) {
150 return !mStatusBarStateController.isDozing() && entry.shouldSuppressNotificationList();
157 public void onDozingChanged(boolean isDozing) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthRippleView.kt169 fun startDwellRipple(isDozing: Boolean) {
174 updateDwellRippleColor(isDozing)
290 fun updateDwellRippleColor(isDozing: Boolean) {
291 if (isDozing) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DPhoneStateMonitor.java143 if (isDozing()) { in getPhoneLockscreenState()
170 private boolean isDozing() { in isDozing() method in PhoneStateMonitor
171 return mStatusBarStateController.isDozing(); in isDozing()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarStateControllerImpl.java218 public boolean isDozing() { in isDozing() method in StatusBarStateControllerImpl
258 public boolean setIsDozing(boolean isDozing) { in setIsDozing() argument
259 if (mIsDozing == isDozing) { in setIsDozing()
263 mIsDozing = isDozing; in setIsDozing()
269 rl.mListener.onDozingChanged(isDozing); in setIsDozing()
H A DSysuiStatusBarStateController.java98 boolean setIsDozing(boolean isDozing); in setIsDozing() argument
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationFilter.java88 if (mStatusBarStateController.isDozing() && entry.shouldSuppressAmbient()) { in shouldFilterOut()
92 if (!mStatusBarStateController.isDozing() && entry.shouldSuppressNotificationList()) { in shouldFilterOut()
H A DNotificationWakeUpCoordinator.kt288 (!statusBarStateController.isDozing || shouldAnimateVisibility())) {
388 override fun onDozingChanged(isDozing: Boolean) {
389 if (isDozing) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaHierarchyManager.kt423 override fun onDozingChanged(isDozing: Boolean) {
424 if (!isDozing) {
953 !statusBarStateController.isDozing) {
1000 return !statusBarStateController.isDozing &&
1009 return !statusBarStateController.isDozing &&
1016 return !statusBarStateController.isDozing &&
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardIndicationRotateTextViewController.java307 public void onDozingChanged(boolean isDozing) {
308 if (isDozing == mIsDozing) return;
309 mIsDozing = isDozing;
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
H A DCollapsedStatusBarFragmentTest.java220 when(mStatusBarStateController.isDozing()).thenReturn(true); in disable_isDozingButNoCustomClock_clockAndSystemInfoVisible()
232 when(mStatusBarStateController.isDozing()).thenReturn(false); in disable_customClockButNotDozing_clockAndSystemInfoVisible()
244 when(mStatusBarStateController.isDozing()).thenReturn(true); in disable_dozingAndCustomClock_clockAndSystemInfoHidden()
260 when(mStatusBarStateController.isDozing()).thenReturn(true); in onDozingChanged_clockAndSystemInfoVisibilitiesUpdated()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
H A DNotificationInterruptStateProviderImplTest.java127 when(mStatusBarStateController.isDozing()).thenReturn(false); in ensureStateForHeadsUpWhenAwake()
140 when(mStatusBarStateController.isDozing()).thenReturn(true); in ensureStateForHeadsUpWhenDozing()
243 when(mStatusBarStateController.isDozing()).thenReturn(false); in testShouldNotHeadsUpWhenDozing_notDozing()

123