Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleLikeHomeBehavior.java46 public void onDozingChanged(boolean isDozing) {
47 handleDozingChanged(isDozing);
103 mIsDozing = mStatusBarStateController.get().isDozing(); in onModeActivated()
124 private void handleDozingChanged(boolean isDozing) { in handleDozingChanged() argument
125 if (mIsDozing == isDozing) { in handleDozingChanged()
129 mIsDozing = isDozing; in handleDozingChanged()
DPhoneStateMonitor.java130 if (isDozing()) { in getPhoneLockscreenState()
167 private boolean isDozing() { in isDozing() method in PhoneStateMonitor
168 return mStatusBarStateController.isDozing(); in isDozing()
DAssistHandleReminderExpBehavior.java98 public void onDozingChanged(boolean isDozing) {
99 handleDozingChanged(isDozing);
219 mIsDozing = mStatusBarStateController.get().isDozing(); in onModeActivated()
309 private void handleDozingChanged(boolean isDozing) { in handleDozingChanged() argument
310 if (mIsDozing == isDozing) { in handleDozingChanged()
315 mIsDozing = isDozing; in handleDozingChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingAnimation.java58 batteryLevel, Callback callback, boolean isDozing) { in WirelessChargingAnimation() argument
60 batteryLevel, callback, isDozing); in WirelessChargingAnimation()
68 @Nullable Looper looper, int batteryLevel, Callback callback, boolean isDozing) { in makeWirelessChargingAnimation() argument
69 return new WirelessChargingAnimation(context, looper, batteryLevel, callback, isDozing); in makeWirelessChargingAnimation()
104 Callback callback, boolean isDozing) { in WirelessChargingView() argument
106 mNextView = new WirelessChargingLayout(context, batteryLevel, isDozing); in WirelessChargingView()
DWirelessChargingLayout.java47 public WirelessChargingLayout(Context context, int batteryLevel, boolean isDozing) { in WirelessChargingLayout() argument
49 init(context, null, batteryLevel, isDozing); in WirelessChargingLayout()
57 private void init(Context c, AttributeSet attrs, boolean isDozing) { in init() argument
61 private void init(Context context, AttributeSet attrs, int batteryLevel, boolean isDozing) { in init() argument
66 if (isDozing) { in init()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/
DAssistHandleLikeHomeBehaviorTest.java73 verify(mMockStatusBarStateController).isDozing(); in onModeActivated_beginsObserving()
86 when(mMockStatusBarStateController.isDozing()).thenReturn(false); in onModeActivated_showsHandlesWhenFullyAwake()
101 when(mMockStatusBarStateController.isDozing()).thenReturn(true); in onModeActivated_hidesHandlesWhenNotAwake()
116 when(mMockStatusBarStateController.isDozing()).thenReturn(true); in onModeActivated_hidesHandlesWhenDozing()
206 when(mMockStatusBarStateController.isDozing()).thenReturn(true); in onBothAwakeAndUnDoze_handlesShow()
263 when(mMockStatusBarStateController.isDozing()).thenReturn(false); in onSleepOrDoze_handlesHide()
309 when(mMockStatusBarStateController.isDozing()).thenReturn(false); in onHomeHandleHide_handlesHide()
338 when(mMockStatusBarStateController.isDozing()).thenReturn(false); in onHomeHandleUnhide_handlesShow()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DStatusBarStateController.java39 boolean isDozing(); in isDozing() method
88 default void onDozingChanged(boolean isDozing) {} in onDozingChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java164 public boolean isDozing() { in isDozing() method in StatusBarStateControllerImpl
179 public boolean setIsDozing(boolean isDozing) { in setIsDozing() argument
180 if (mIsDozing == isDozing) { in setIsDozing()
184 mIsDozing = isDozing; in setIsDozing()
188 rl.mListener.onDozingChanged(isDozing); in setIsDozing()
DSysuiStatusBarStateController.java68 boolean setIsDozing(boolean isDozing); in setIsDozing() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeScrimController.java144 public boolean isDozing() { in isDozing() method in DozeScrimController
215 public void onDozingChanged(boolean isDozing) { in onDozingChanged() argument
216 setDozing(isDozing); in onDozingChanged()
DKeyguardLiftController.kt56 override fun onDozingChanged(isDozing: Boolean) { in onDozingChanged()
74 !statusBarStateController.isDozing in updateListeningState()
DShadeController.java99 boolean isDozing(); in isDozing() method
DCollapsedStatusBarFragment.java232 if (mStatusBarStateController.isDozing() in adjustDisableFlags()
272 && !mStatusBarStateController.isDozing()) { in clockHiddenMode()
383 public void onDozingChanged(boolean isDozing) { in onDozingChanged() argument
DNotificationGroupAlertTransferHelper.java120 public void onDozingChanged(boolean isDozing) { in onDozingChanged() argument
121 if (mIsDozing != isDozing) { in onDozingChanged()
127 mIsDozing = isDozing; in onDozingChanged()
DStatusBarWindowView.java339 if (mService.isDozing()) { in dispatchKeyEvent()
399 if (mService.isDozing()) { in dispatchTouchEvent()
420 if (mService.isDozing() && !mService.isPulsing()) { in onInterceptTouchEvent()
428 && !mService.isDozing()) { in onInterceptTouchEvent()
447 if (mService.isDozing()) { in onTouchEvent()
DHeadsUpManagerPhone.java247 public void onDozingChanged(boolean isDozing) { in onDozingChanged() argument
248 if (!isDozing) { in onDozingChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java105 if (getShadeController().isDozing() && entry.shouldSuppressAmbient()) { in shouldFilterOut()
109 if (!getShadeController().isDozing() && entry.shouldSuppressNotificationList()) { in shouldFilterOut()
DNotificationWakeUpCoordinator.kt260 && (!statusBarStateController.isDozing || shouldAnimateVisibility())) { in onStateChanged()
342 override fun onDozingChanged(isDozing: Boolean) { in onDozingChanged()
343 if (isDozing) { in onDozingChanged()
DNotificationAlertingManager.java105 if (!mShadeController.get().isDozing()) { in showAlertingView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java141 when(mStatusBarStateController.isDozing()).thenReturn(false); in ensureStateForHeadsUpWhenAwake()
155 when(mStatusBarStateController.isDozing()).thenReturn(true); in ensureStateForHeadsUpWhenDozing()
280 when(mStatusBarStateController.isDozing()).thenReturn(false); in testShouldHeadsUpWhenDozing_false_notDozing()
344 when(mStatusBarStateController.isDozing()).thenReturn(true); in testShouldHeadsUp_false_dozing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java157 when(mStatusBarStateController.isDozing()).thenReturn(true); in testOnDozingChanged()
160 Mockito.verify(mStatusBarStateController).isDozing(); in testOnDozingChanged()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DDozeTrigger.java98 public boolean isDozing() { in isDozing() method in DozeTrigger
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DAmbientState.java223 public boolean isDozing() { in isDozing() method in AmbientState
466 return isDozing() && !isPulsing(row.getEntry()); in isDozingAndNotPulsing()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java132 Log.d(TAG, "Dream ended: isDozing=" + isDozing()); in onDreamingStopped()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java397 public void onDozingChanged(boolean isDozing) { in onDozingChanged() argument
398 setDozing(isDozing); in onDozingChanged()

12