Home
last modified time | relevance | path

Searched refs:isOccluded (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHideIconsForBouncerManager.kt39 private var isOccluded: Boolean = false in <lambda>() variable
76 fun setIsOccludedAndTriggerUpdate(isOccluded: Boolean) { in <lambda>()
77 this.isOccluded = isOccluded in <lambda>()
104 isOccluded && in <lambda>()
106 val hideBecauseKeyguard = !isShadeOrQsExpanded() && !isOccluded && bouncerShowing in <lambda>()
137 pw.println("isOccluded=$isOccluded") in <lambda>()
DStatusBarKeyguardViewManager.java355 if (mKeyguardStateController.isOccluded()) {
637 && !mKeyguardStateController.isOccluded() in beginShowingBouncer()
695 mKeyguardStateController.notifyKeyguardState(true, mKeyguardStateController.isOccluded()); in show()
934 final boolean isOccluded = mKeyguardStateController.isOccluded(); in reset()
936 mShadeLockscreenInteractor.resetViews(/* animate= */ !isOccluded); in reset()
938 if (isOccluded && !mDozing) { in reset()
1030 || mKeyguardStateController.isOccluded()) { in setDozing()
1068 final boolean wasOccluded = mKeyguardStateController.isOccluded(); in setOccluded()
1075 final boolean isOccluded = mKeyguardStateController.isOccluded(); in setOccluded()
1082 mNotificationShadeWindowController.setKeyguardOccluded(isOccluded); in setOccluded()
[all …]
DLegacyActivityStarterInternalImpl.kt211 val occluded = (keyguardStateController.isShowing && keyguardStateController.isOccluded) in <lambda>()
460 keyguardStateController.isShowing && keyguardStateController.isOccluded in <lambda>()
634 if (keyguardStateController.isOccluded) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java43 return isShowing() && !isOccluded(); in isVisible()
85 boolean isOccluded(); in isOccluded() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/
DScrimStartableTest.kt198 isOccluded = true, in <lambda>()
207 isOccluded = true, in <lambda>()
293 showWhenLockedActivityOnTop = preconditions.isOccluded, in <lambda>()
294 taskInfo = if (preconditions.isOccluded) mock() else null, in <lambda>()
356 val isOccluded: Boolean = false, in <lambda>() constant in com.android.systemui.scene.domain.startable.ScrimStartableTest.Preconditions
388 .that(!isOccluded || isOnKeyguard) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardVisibilityHelper.java97 boolean isOccluded = mKeyguardStateController.isOccluded(); in setViewVisibility()
199 mLastOccludedState = isOccluded; in setViewVisibility()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java276 public void setOccluded(boolean isOccluded, boolean notify) { in setOccluded() argument
278 if (DEBUG) Log.v(TAG, "setOccluded(" + isOccluded + ")"); in setOccluded()
280 isOccluded ? 1 : 0, in setOccluded()
284 mKeyguardService.setOccluded(isOccluded, false /* animate */); in setOccluded()
286 mKeyguardState.occluded = isOccluded; in setOccluded()
289 public boolean isOccluded() { in isOccluded() method in KeyguardServiceDelegate
DKeyguardServiceWrapper.java61 public void setOccluded(boolean isOccluded, boolean animate) { in setOccluded() argument
63 mService.setOccluded(isOccluded, animate); in setOccluded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DOccludedToLockscreenTransitionViewModel.kt102 .filter { (wasOccluded, isOccluded) -> in <lambda>() method
104 !isOccluded && in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DFromDreamingLockscreenHostedTransitionInteractor.kt90 .filterRelevantKeyguardStateAnd { (isActiveDreamLockscreenHosted, isOccluded) -> in <lambda>() method
91 isOccluded && !isActiveDreamLockscreenHosted in <lambda>()
DFromOccludedTransitionInteractor.kt115 .filterRelevantKeyguardStateAnd { (isOccluded, isShowing, _, _, _) -> in <lambda>() method
116 !isOccluded && isShowing in <lambda>()
DFromAodTransitionInteractor.kt179 .filterRelevantKeyguardStateAnd { isOccluded -> isOccluded } in <lambda>() method
DFromDreamingTransitionInteractor.kt155 .filterRelevantKeyguardStateAnd { (isOccluded, isDreaming) -> in <lambda>() method
156 isOccluded && !isDreaming in <lambda>()
DFromAlternateBouncerTransitionInteractor.kt133 isOccluded) -> in <lambda>() method
148 } else if (isOccluded) { in <lambda>()
DFromLockscreenTransitionInteractor.kt320 .filterRelevantKeyguardStateAnd { isOccluded -> isOccluded } in <lambda>() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DFakeKeyguardStateController.java46 public boolean isOccluded() { in isOccluded() method in FakeKeyguardStateController
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeKeyguardStateController.java69 public boolean isOccluded() { in isOccluded() method in FakeKeyguardStateController
/frameworks/base/core/java/com/android/internal/policy/
DIKeyguardService.aidl35 void setOccluded(boolean isOccluded, boolean animate); in setOccluded() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java637 when(mKeyguardStateController.isOccluded()).thenReturn(false); in lockscreenStateMetrics_notShowing()
655 when(mKeyguardStateController.isOccluded()).thenReturn(false); in lockscreenStateMetrics_notShowing_secure()
674 when(mKeyguardStateController.isOccluded()).thenReturn(false); in lockscreenStateMetrics_isShowing()
693 when(mKeyguardStateController.isOccluded()).thenReturn(false); in lockscreenStateMetrics_isShowing_secure()
712 when(mKeyguardStateController.isOccluded()).thenReturn(false); in lockscreenStateMetrics_isShowingBouncer()
807 when(mKeyguardStateController.isOccluded()).thenReturn(true); in testSetOccluded_propagatesToScrimController()
812 when(mKeyguardStateController.isOccluded()).thenReturn(false); in testSetOccluded_propagatesToScrimController()
865 when(mKeyguardStateController.isOccluded()).thenReturn(true); in testOccludingQSNotExpanded_flagOff_transitionToAuthScrimmed()
880 when(mKeyguardStateController.isOccluded()).thenReturn(false); in testNotOccluding_QSNotExpanded_flagOn_doesNotTransitionScrimState()
896 when(mKeyguardStateController.isOccluded()).thenReturn(false); in testNotOccluding_QSExpanded_flagOn_doesTransitionScrimStateToKeyguard()
[all …]
DStatusBarNotificationActivityStarterTest.java306 when(mKeyguardStateController.isOccluded()).thenReturn(true); in testOnNotificationClicked_keyGuardShowing()
372 when(mKeyguardStateController.isOccluded()).thenReturn(true); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing()
400 when(mKeyguardStateController.isOccluded()).thenReturn(true); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing()
429 when(mKeyguardStateController.isOccluded()).thenReturn(true); in testOnNotificationBubbleIconClicked_unbubble_keyGuardShowing()
451 when(mKeyguardStateController.isOccluded()).thenReturn(true); in testOnNotificationBubbleIconClicked_bubble_keyGuardShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java456 public void setOccluded(boolean isOccluded, boolean animate) {
457 trace("setOccluded isOccluded=" + isOccluded + " animate=" + animate);
458 Log.d(TAG, "setOccluded(" + isOccluded + ")");
463 mKeyguardViewMediator.setOccluded(isOccluded, animate);
465 mWmOcclusionManager.onKeyguardServiceSetOccluded(isOccluded);
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
DScrimStartable.kt96 val isOccluded = flowValues[1] as Boolean in <lambda>() constant
184 } else if (isOnKeyguard && !unlocking && !isOccluded) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java133 assertThat(mKeyguardStateController.isOccluded()).isFalse(); in testIsOccluded()
135 assertThat(mKeyguardStateController.isOccluded()).isTrue(); in testIsOccluded()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeKeyguardRepository.kt159 fun setKeyguardOccluded(isOccluded: Boolean) { in setKeyguardOccluded()
160 _isKeyguardOccluded.value = isOccluded in setKeyguardOccluded()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepositoryImplTest.kt200 whenever(keyguardStateController.isOccluded).thenReturn(false) in <lambda>()
210 whenever(keyguardStateController.isOccluded).thenReturn(true) in <lambda>()
215 whenever(keyguardStateController.isOccluded).thenReturn(false) in <lambda>()

123