Home
last modified time | relevance | path

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

12345

/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.java28 boolean keyguardGoingAway, boolean bouncerShowing, boolean isDozing, in onStateChanged() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DPulsingGestureListenerTest.kt109 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_singleTapEnabled()
129 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_doubleTapEnabled()
161 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_singleTapEnabled_falsing()
181 whenever(statusBarStateController.isDozing).thenReturn(false) in testSingleTap_notDozing_noFalsingCheck()
195 whenever(statusBarStateController.isDozing).thenReturn(false) in testDoubleTap_notDozing_noFalsingCheck()
209 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_doubleTapEnabled_falsing()
229 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_singleTapEnabled_proxCovered()
249 whenever(statusBarStateController.isDozing).thenReturn(true) in testGestureDetector_doubleTapEnabled_proxCovered()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractor.kt83 keyguardInteractor.isDozing, in <lambda>()
85 ) { shadeMode, hasNotifs, hasMedia, isDozing, isOnAod -> in <lambda>() method
90 hasMedia && !isDozing -> ClockSize.SMALL in <lambda>()
111 keyguardInteractor.isDozing, in <lambda>()
118 isDozing -> in <lambda>() method
124 isHeadsUp && isDozing -> false in <lambda>()
DDozeInteractor.kt48 fun setIsDozing(isDozing: Boolean) { in setIsDozing()
49 keyguardRepository.setIsDozing(isDozing) in setIsDozing()
DWindowManagerLockscreenVisibilityInteractor.kt241 keyguardInteractor.isDozing, in <lambda>()
244 ) { isDozing, isAodAvailable, biometricUnlockState -> in <lambda>() method
247 isDozing && in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostCoroutinesTest.kt69 val isDozing by collectLastValue(kosmos.keyguardInteractor.isDozing) in startStopDozing() constant
84 assertThat(isDozing).isTrue() in startStopDozing()
93 assertThat(isDozing).isFalse() in startStopDozing()
/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/statusbar/ui/viewmodel/
DKeyguardStatusBarViewModel.kt58 keyguardInteractor.isDozing, in <lambda>()
61 ) { isDozing, statusBarState, showHeadsUpStatusBar -> in <lambda>() method
62 !isDozing && statusBarState == StatusBarState.KEYGUARD && !showHeadsUpStatusBar in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/
DPowerInteractorTest.kt100 whenever(statusBarStateController.isDozing).thenReturn(false) in wakeUpIfDozing_notDozing_notWoken()
112 whenever(statusBarStateController.isDozing).thenReturn(true) in wakeUpIfDozing_notAllowed_notWoken()
122 whenever(statusBarStateController.isDozing).thenReturn(true) in wakeUpIfDozing_dozingAndAllowed_wokenAndFalsingNotified()
135 whenever(statusBarStateController.isDozing).thenReturn(false) in wakeUpForFullScreenIntent_notGoingToSleepAndNotDozing_notWoken()
146 whenever(statusBarStateController.isDozing).thenReturn(false) in wakeUpForFullScreenIntent_startingToSleep_woken()
156 whenever(statusBarStateController.isDozing).thenReturn(true) in wakeUpForFullScreenIntent_dozing_woken()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DStatusBarStateController.java39 boolean isDozing(); in isDozing() method
111 default void onDozingChanged(boolean isDozing) {} in onDozingChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DNotificationScrollViewBinder.kt85 launch { viewModel.isDozing.collect { isDozing -> view.setDozing(isDozing) } } in <lambda>() method
/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/flags/
DRestartDozeListener.kt49 override fun onDozingChanged(isDozing: Boolean) { in onDozingChanged()
50 storeSleepState(isDozing) in onDozingChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImpl.kt106 keyguardRepository.isDozing, in <lambda>()
109 ) { disableFlags, isShadeEnabled, isDozing, isUserSetup, isDeviceProvisioned -> in <lambda>() method
116 !isDozing in <lambda>()
/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/multivalentTests/src/com/android/systemui/scene/domain/startable/
DScrimStartableTest.kt141 isDozing = true, in <lambda>()
158 isDozing = true, in <lambda>()
314 kosmos.fakeKeyguardRepository.setIsDozing(preconditions.isDozing) in <lambda>()
367 val isDozing: Boolean = false, in <lambda>() constant in com.android.systemui.scene.domain.startable.ScrimStartableTest.Preconditions
438 .that(!isPulsing || 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/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/customization/src/com/android/systemui/shared/clocks/
DAnimatableClockView.kt369 fun animateCharge(isDozing: () -> Boolean) { in <lambda>()
378 weight = if (isDozing()) dozingWeight else lockScreenWeight, in <lambda>()
388 weight = if (isDozing()) lockScreenWeight else dozingWeight, in <lambda>()
398 fun animateDoze(isDozing: Boolean, animate: Boolean) { in <lambda>()
401 weight = if (isDozing) dozingWeight else lockScreenWeight, in <lambda>()
402 color = if (isDozing) dozingColor else lockScreenColor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt140 val isDozing: StateFlow<Boolean> in <lambda>() constant
266 fun setIsDozing(isDozing: Boolean) in <lambda>()
467 private val _isDozing = MutableStateFlow(statusBarStateController.isDozing)
468 override val isDozing: StateFlow<Boolean> = _isDozing.asStateFlow() constant
470 override fun setIsDozing(isDozing: Boolean) { in setIsDozing()
471 _isDozing.value = isDozing in setIsDozing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
DScrimStartable.kt78 keyguardInteractor.isDozing, in <lambda>()
99 val isDozing = flowValues[4] as Boolean in <lambda>() constant
172 } else if (isDozing && !unlocking) { in <lambda>()

12345