Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeScrimController.java139 public boolean isDozing() { in isDozing() method in DozeScrimController
201 public void onDozingChanged(boolean isDozing) { in onDozingChanged() argument
202 if (mDozing != isDozing) { in onDozingChanged()
203 mDozeLog.traceDozingChanged(isDozing); in onDozingChanged()
206 setDozing(isDozing); in onDozingChanged()
DStatusBarWindowCallback.java25 boolean keyguardGoingAway, boolean bouncerShowing, boolean isDozing, in onStateChanged() argument
DKeyguardLiftController.kt99 override fun onDozingChanged(isDozing: Boolean) { in onDozingChanged()
116 !statusBarStateController.isDozing in updateListeningState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DPulsingGestureListenerTest.kt115 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_singleTapEnabled()
135 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_doubleTapEnabled()
167 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_singleTapEnabled_falsing()
187 whenever(statusBarStateController.isDozing).thenReturn(false) in testSingleTap_notDozing_noFalsingCheck()
201 whenever(statusBarStateController.isDozing).thenReturn(false) in testDoubleTap_notDozing_noFalsingCheck()
215 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_doubleTapEnabled_falsing()
235 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_singleTapEnabled_proxCovered()
255 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_doubleTapEnabled_proxCovered()
DNotificationShadeWindowViewTest.kt149 whenever(statusBarStateController.isDozing).thenReturn(false) in setUp()
227 whenever(statusBarStateController.isDozing).thenReturn(false) in testInterceptTouchWhenShowingAltAuth()
241 whenever(statusBarStateController.isDozing).thenReturn(false) in testNoInterceptTouch()
256 whenever(statusBarStateController.isDozing).thenReturn(false) in testHandleTouchEventWhenShowingAltAuth()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/
DPowerInteractorTest.kt102 whenever(statusBarStateController.isDozing).thenReturn(false) in wakeUpIfDozing_notDozing_notWoken()
114 whenever(statusBarStateController.isDozing).thenReturn(true) in wakeUpIfDozing_notAllowed_notWoken()
124 whenever(statusBarStateController.isDozing).thenReturn(true) in wakeUpIfDozing_dozingAndAllowed_wokenAndFalsingNotified()
143 whenever(statusBarStateController.isDozing).thenReturn(false) in wakeUpForFullScreenIntent_notGoingToSleepAndNotDozing_notWoken()
160 whenever(statusBarStateController.isDozing).thenReturn(false) in wakeUpForFullScreenIntent_startingToSleep_woken()
170 whenever(statusBarStateController.isDozing).thenReturn(true) in wakeUpForFullScreenIntent_dozing_woken()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingAnimation.java61 int transmittingBatteryLevel, int batteryLevel, Callback callback, boolean isDozing, in WirelessChargingAnimation() argument
64 transmittingBatteryLevel, batteryLevel, callback, isDozing, in WirelessChargingAnimation()
75 Callback callback, boolean isDozing, RippleShape rippleShape, in makeWirelessChargingAnimation() argument
78 batteryLevel, callback, isDozing, rippleShape, uiEventLogger); in makeWirelessChargingAnimation()
126 boolean isDozing, RippleShape rippleShape, UiEventLogger uiEventLogger) { in WirelessChargingView() argument
129 isDozing, rippleShape); in WirelessChargingView()
DWirelessChargingLayout.java56 boolean isDozing, RippleShape rippleShape) { in WirelessChargingLayout() argument
58 init(context, null, transmittingBatteryLevel, batteryLevel, isDozing, rippleShape); in WirelessChargingLayout()
71 private void init(Context c, AttributeSet attrs, boolean isDozing, RippleShape rippleShape) { in init() argument
72 init(c, attrs, -1, -1, isDozing, rippleShape); in init()
76 int batteryLevel, boolean isDozing, RippleShape rippleShape) { in init() argument
82 if (isDozing) { in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractor.kt58 keyguardRepository.isDozing, in <lambda>()
60 ) { disableFlags, isShadeEnabled, isDozing, isUserSetup -> in <lambda>() method
67 !isDozing in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DDozeInteractor.kt31 fun setIsDozing(isDozing: Boolean) { in setIsDozing()
32 keyguardRepository.setIsDozing(isDozing) in setIsDozing()
DWindowManagerLockscreenVisibilityInteractor.kt144 keyguardInteractor.isDozing, in <lambda>()
146 ) { isDozing, biometricUnlockState -> in <lambda>() method
149 isDozing && !BiometricUnlockModel.isWakeAndUnlock(biometricUnlockState) in <lambda>()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DStatusBarStateController.java40 boolean isDozing(); in isDozing() method
112 default void onDozingChanged(boolean isDozing) {} in onDozingChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DRankingCoordinator.java184 if ((mStatusBarStateController.isDozing()
190 return !mStatusBarStateController.isDozing() && entry.shouldSuppressNotificationList();
211 public void onDozingChanged(boolean isDozing) {
212 mDndVisualEffectsFilter.invalidateList("onDozingChanged to " + isDozing);
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DPulsingGestureListener.kt85 shadeLogger.logSingleTapUp(statusBarStateController.isDozing, singleTapEnabled, isNotDocked) in <lambda>()
86 if (statusBarStateController.isDozing && singleTapEnabled && isNotDocked) { in <lambda>()
109 statusBarStateController.isDozing && in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldAodAnimationController.kt72 private var isDozing: Boolean = false in <lambda>() variable in com.android.systemui.unfold.FoldAodAnimationController
161 } else if (isFolded && !isFoldHandled && alwaysOnEnabled && isDozing) { in <lambda>()
238 return scope.launch { keyguardInteractor.get().isDozing.collect { isDozing = it } } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/
DPowerInteractor.kt53 statusBarStateController.isDozing && screenOffAnimationController.allowWakeUpIfDozing() in wakeUpIfDozing()
67 statusBarStateController.isDozing in wakeUpForFullScreenIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DRestartDozeListener.kt49 override fun onDozingChanged(isDozing: Boolean) { in onDozingChanged()
50 storeSleepState(isDozing) in onDozingChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java144 if (isDozing()) { in getPhoneLockscreenState()
171 private boolean isDozing() { in isDozing() method in PhoneStateMonitor
172 return mStatusBarStateController.isDozing(); in isDozing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DRankingCoordinatorTest.java169 when(mStatusBarStateController.isDozing()).thenReturn(true); in filterDozingSuppressAmbient()
175 when(mStatusBarStateController.isDozing()).thenReturn(false); in filterDozingSuppressAmbient()
181 when(mStatusBarStateController.isDozing()).thenReturn(false); in filterDozingSuppressAmbient()
196 when(mStatusBarStateController.isDozing()).thenReturn(true); in filterDozingSuppressNotificationList()
202 when(mStatusBarStateController.isDozing()).thenReturn(false); in filterDozingSuppressNotificationList()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DAnimatableClockView.kt303 fun animateCharge(isDozing: () -> Boolean) { in <lambda>()
311 weight = if (isDozing()) dozingWeight else lockScreenWeight, in <lambda>()
321 weight = if (isDozing()) lockScreenWeight else dozingWeight, in <lambda>()
331 fun animateDoze(isDozing: Boolean, animate: Boolean) { in <lambda>()
334 weight = if (isDozing) dozingWeight else lockScreenWeight, in <lambda>()
336 color = if (isDozing) dozingColor else lockScreenColor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleView.kt204 fun startDwellRipple(isDozing: Boolean) { in <lambda>()
209 updateDwellRippleColor(isDozing) in <lambda>()
300 fun updateDwellRippleColor(isDozing: Boolean) { in <lambda>()
301 if (isDozing) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLogger.kt62 fun logDozing(isDozing: Boolean) { in logDozing()
64 bool1 = isDozing in logDozing()
70 fun logDozingChanged(isDozing: Boolean) { in logDozingChanged()
72 bool1 = isDozing in logDozingChanged()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeKeyguardRepository.kt60 override val isDozing: StateFlow<Boolean> = _isDozing constant in com.android.systemui.keyguard.data.repository.FakeKeyguardRepository
170 override fun setIsDozing(isDozing: Boolean) { in setIsDozing()
171 _isDozing.value = isDozing in setIsDozing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt127 val isDozing: StateFlow<Boolean> constant
237 fun setIsDozing(isDozing: Boolean) in isKeyguardShowing()
407 private val _isDozing = MutableStateFlow(statusBarStateController.isDozing) in isKeyguardShowing()
408 override val isDozing: StateFlow<Boolean> = _isDozing.asStateFlow() in isKeyguardShowing() constant
410 override fun setIsDozing(isDozing: Boolean) { in isKeyguardShowing()
411 _isDozing.value = isDozing in isKeyguardShowing()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt199 private var isDozing = false in <lambda>() variable
305 smallClock.animations.doze(if (isDozing) 1f else 0f) in <lambda>()
306 largeClock.animations.doze(if (isDozing) 1f else 0f) in <lambda>()
451 keyguardInteractor.isDozing, in <lambda>()
455 .collect { localIsDozing -> isDozing = localIsDozing } in <lambda>()

1234