Home
last modified time | relevance | path

Searched refs:mBouncer (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBouncerTest.java87 private KeyguardBouncer mBouncer; field in KeyguardBouncerTest
97 mBouncer = new KeyguardBouncer(getContext(), mViewMediatorCallback, in setup()
110 mBouncer.inflateView(); in testInflateView_doesntCrash()
115 mBouncer.show(true); in testShow_notifiesFalsingManager()
118 mBouncer.show(true, false); in testShow_notifiesFalsingManager()
128 mBouncer.ensureView(); in testShow_bouncerIsVisible()
129 mBouncer.setExpansion(1); in testShow_bouncerIsVisible()
134 mBouncer.show(true); in testShow_bouncerIsVisible()
141 mBouncer.show(true); in testShow_notifiesVisibility()
147 mBouncer.show(true); in testShow_notifiesVisibility()
[all …]
DStatusBarKeyguardViewManagerTest.java59 private KeyguardBouncer mBouncer; field in StatusBarKeyguardViewManagerTest
96 verify(mBouncer).showWithDismissAction(eq(action), eq(cancelAction)); in dismissWithAction_AfterKeyguardGoneSetToFalse()
103 verify(mBouncer, never()).show(anyBoolean(), anyBoolean()); in showBouncer_onlyWhenShowing()
104 verify(mBouncer, never()).show(anyBoolean()); in showBouncer_onlyWhenShowing()
110 when(mBouncer.isSecure()).thenReturn(true); in showBouncer_notWhenBouncerAlreadyShowing()
112 verify(mBouncer, never()).show(anyBoolean(), anyBoolean()); in showBouncer_notWhenBouncerAlreadyShowing()
113 verify(mBouncer, never()).show(anyBoolean()); in showBouncer_notWhenBouncerAlreadyShowing()
119 verify(mBouncer).show(anyBoolean(), eq(true)); in showBouncer_showsTheBouncer()
128 verify(mBouncer).setExpansion(eq(KeyguardBouncer.EXPANSION_VISIBLE)); in onPanelExpansionChanged_neverHidesFullscreenBouncer()
133 when(mBouncer.isShowing()).thenReturn(true); in onPanelExpansionChanged_neverHidesScrimmedBouncer()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java136 protected KeyguardBouncer mBouncer; field in StatusBarKeyguardViewManager
216 mBouncer = SystemUIFactory.getInstance().createKeyguardBouncer(mContext, in registerStatusBar()
232 mBouncer.setExpansion(KeyguardBouncer.EXPANSION_HIDDEN); in onPanelExpansionChanged()
234 mBouncer.setExpansion(KeyguardBouncer.EXPANSION_VISIBLE); in onPanelExpansionChanged()
237 mBouncer.setExpansion(expansion); in onPanelExpansionChanged()
241 && !mBouncer.isShowing() && !mBouncer.isAnimatingAway()) { in onPanelExpansionChanged()
242 mBouncer.show(false /* resetSecuritySelection */, false /* scrimmed */); in onPanelExpansionChanged()
263 boolean lockVisible = (mBouncer.isShowing() || keyguardWithoutQs) in updateLockIcon()
264 && !mBouncer.isAnimatingAway(); in updateLockIcon()
299 if (mBouncer.needsFullscreenBouncer() && !mDozing) { in showBouncerOrKeyguard()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java203 private boolean mBouncer; field in KeyguardUpdateMonitor
1617 (mBouncer && !mKeyguardGoingAway) || mGoingToSleep || in shouldListenForFingerprint()
1629 return (mBouncer || mAuthInterruptActive || awakeKeyguard || shouldListenForFaceAssistant()) in shouldListenForFace()
2116 mBouncer = isBouncer; in handleKeyguardBouncerChanged()