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.java92 private KeyguardBouncer mBouncer; field in KeyguardBouncerTest
102 mBouncer = new KeyguardBouncer(getContext(), mViewMediatorCallback, in setup()
116 mBouncer.inflateView(); in testInflateView_doesntCrash()
121 mBouncer.show(true); in testShow_notifiesFalsingManager()
124 mBouncer.show(true, false); in testShow_notifiesFalsingManager()
134 mBouncer.ensureView(); in testShow_bouncerIsVisible()
135 mBouncer.setExpansion(1); in testShow_bouncerIsVisible()
140 mBouncer.show(true); in testShow_bouncerIsVisible()
147 mBouncer.show(true); in testShow_notifiesVisibility()
153 mBouncer.show(true); in testShow_notifiesVisibility()
[all …]
DStatusBarKeyguardViewManagerTest.java65 private KeyguardBouncer mBouncer; field in StatusBarKeyguardViewManagerTest
109 verify(mBouncer).showWithDismissAction(eq(action), eq(cancelAction)); in dismissWithAction_AfterKeyguardGoneSetToFalse()
116 verify(mBouncer, never()).show(anyBoolean(), anyBoolean()); in showBouncer_onlyWhenShowing()
117 verify(mBouncer, never()).show(anyBoolean()); in showBouncer_onlyWhenShowing()
123 when(mBouncer.isSecure()).thenReturn(true); in showBouncer_notWhenBouncerAlreadyShowing()
125 verify(mBouncer, never()).show(anyBoolean(), anyBoolean()); in showBouncer_notWhenBouncerAlreadyShowing()
126 verify(mBouncer, never()).show(anyBoolean()); in showBouncer_notWhenBouncerAlreadyShowing()
132 verify(mBouncer).show(anyBoolean(), eq(true)); in showBouncer_showsTheBouncer()
141 verify(mBouncer).setExpansion(eq(KeyguardBouncer.EXPANSION_VISIBLE)); in onPanelExpansionChanged_neverHidesFullscreenBouncer()
146 when(mBouncer.isShowing()).thenReturn(true); in onPanelExpansionChanged_neverHidesScrimmedBouncer()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java142 protected KeyguardBouncer mBouncer; field in StatusBarKeyguardViewManager
225 mBouncer = SystemUIFactory.getInstance().createKeyguardBouncer(mContext, in registerStatusBar()
243 mBouncer.setExpansion(KeyguardBouncer.EXPANSION_HIDDEN); in onPanelExpansionChanged()
245 mBouncer.setExpansion(KeyguardBouncer.EXPANSION_VISIBLE); in onPanelExpansionChanged()
248 mBouncer.setExpansion(expansion); in onPanelExpansionChanged()
252 && !mBouncer.isShowing() && !mBouncer.isAnimatingAway()) { in onPanelExpansionChanged()
253 mBouncer.show(false /* resetSecuritySelection */, false /* scrimmed */); in onPanelExpansionChanged()
274 boolean lockVisible = (mBouncer.isShowing() || keyguardWithoutQs) in updateLockIcon()
275 && !mBouncer.isAnimatingAway() && !mKeyguardMonitor.isKeyguardFadingAway(); in updateLockIcon()
316 if (mBouncer.needsFullscreenBouncer() && !mDozing) { in showBouncerOrKeyguard()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java218 private boolean mBouncer; field in KeyguardUpdateMonitor
1724 (mBouncer && !mKeyguardGoingAway) || mGoingToSleep || in shouldListenForFingerprint()
1755 boolean strongAuthAllowsScanning = (!isEncryptedOrTimedOut || canBypass && !mBouncer) in shouldListenForFace()
1760 return (mBouncer || mAuthInterruptActive || awakeKeyguard || shouldListenForFaceAssistant()) in shouldListenForFace()
2256 mBouncer = isBouncer; in handleKeyguardBouncerChanged()