Home
last modified time | relevance | path

Searched refs:isShowing (Results 1 – 25 of 255) sorted by relevance

1234567891011

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/settings/brightness/data/repository/
DBrightnessMirrorShowingRepositoryTest.kt41 val isShowing by collectLastValue(underTest.isShowing) in isShowing_setAndFlow() constant
43 assertThat(isShowing).isFalse() in isShowing_setAndFlow()
46 assertThat(isShowing).isTrue() in isShowing_setAndFlow()
49 assertThat(isShowing).isFalse() in isShowing_setAndFlow()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/settings/brightness/domain/interactor/
DBrightnessMirrorShowingInteractorTest.kt43 val isShowing by collectLastValue(underTest.isShowing) in isShowing_setAndFlow() constant
45 assertThat(isShowing).isFalse() in isShowing_setAndFlow()
48 assertThat(isShowing).isTrue() in isShowing_setAndFlow()
51 assertThat(isShowing).isFalse() in isShowing_setAndFlow()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DKeyguardBouncerViewModelTest.kt109 fun isShowing() = runTest { in <lambda>() method
110 var isShowing: Boolean? = null in <lambda>() variable
111 val job = underTest.isShowing.onEach { isShowing = it }.launchIn(this) in <lambda>()
115 assertThat(isShowing).isEqualTo(true) in <lambda>()
121 var isShowing: Boolean? = null in <lambda>() variable
122 val job = underTest.isShowing.onEach { isShowing = it }.launchIn(this) in <lambda>()
126 assertThat(isShowing).isEqualTo(false) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/
DSessionTrackerTest.java102 when(mKeyguardStateController.isShowing()).thenReturn(true); in testOnStartShowingKeyguard()
117 when(mKeyguardStateController.isShowing()).thenReturn(false); in testNoSessions()
215 when(mKeyguardStateController.isShowing()).thenReturn(true); in testKeyguardSessionOnKeyguardShowingChange()
233 when(mKeyguardStateController.isShowing()).thenReturn(true); in testKeyguardSessionOnKeyguardNotShowing()
235 when(mKeyguardStateController.isShowing()).thenReturn(false); in testKeyguardSessionOnKeyguardNotShowing()
255 when(mKeyguardStateController.isShowing()).thenReturn(true); in uiEventLoggedOnEndSessionWhenDeviceStartsSleeping()
291 when(mKeyguardStateController.isShowing()).thenReturn(true); in uiEventLoggedOnEndSessionWhenKeyguardGoingAway()
293 when(mKeyguardStateController.isShowing()).thenReturn(false); in uiEventLoggedOnEndSessionWhenKeyguardGoingAway()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DFakeKeyguardStateController.java36 public void setShowing(boolean isShowing) { in setShowing() argument
37 mShowing = isShowing; in setShowing()
41 public boolean isShowing() { in isShowing() method in FakeKeyguardStateController
DLegacyActivityStarterInternalImplTest.kt141 whenever(keyguardStateController.isShowing).thenReturn(true) in startPendingIntentDismissingKeyguard_keyguardShowing_dismissWithAction()
162 whenever(keyguardStateController.isShowing).thenReturn(true) in startPendingIntentMaybeDismissingKeyguard_keyguardShowing_showOverLs_launchAnimator()
195 whenever(keyguardStateController.isShowing).thenReturn(true) in startPendingIntentDismissingKeyguard_fillInIntentAndExtraOptions_sendAndReturnResult()
272 whenever(keyguardStateController.isShowing).thenReturn(true) in dismissKeyguardThenExecute_keyguardIsShowing_dismissWithAction()
289 whenever(keyguardStateController.isShowing).thenReturn(false) in dismissKeyguardThenExecute_awakeDreams()
309 whenever(keyguardStateController.isShowing).thenReturn(false) in executeRunnableDismissingKeyguard_dreaming_notShowing_awakenDreams()
327 whenever(keyguardStateController.isShowing).thenReturn(false) in executeRunnableDismissingKeyguard_notDreaming_notShowing_doNotAwakenDreams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java36 return !isShowing() || canDismissLockScreen(); in isUnlocked()
43 return isShowing() && !isOccluded(); in isVisible()
58 boolean isShowing(); in isShowing() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DTestableAlertDialogTest.kt47 assertThat(dialog.isShowing).isFalse() in dialogNotShowingWhenCreated()
63 assertThat(dialog.isShowing).isTrue() in dialogShowing()
96 assertThat(dialog.isShowing).isFalse() in dialogHiddenNotShowing()
106 assertThat(dialog.isShowing).isFalse() in dialogDismissNotShowing()
187 assertThat(dialog.isShowing).isFalse() in dialogCancelNotShowing()
311 assertThat(dialog.isShowing).isFalse() in clickButtonDismisses_positive()
321 assertThat(dialog.isShowing).isFalse() in clickButtonDismisses_negative()
331 assertThat(dialog.isShowing).isFalse() in clickButtonDismisses_neutral()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DDialogTransitionAnimatorTest.kt71 assertTrue(dialog.isShowing) in testShowDialogFromView()
105 assertFalse(dialog.isShowing) in testShowDialogFromView()
113 assertTrue(firstDialog.isShowing) in testStackedDialogsDismissesAll()
114 assertTrue(secondDialog.isShowing) in testStackedDialogsDismissesAll()
119 assertFalse(firstDialog.isShowing) in testStackedDialogsDismissesAll()
120 assertFalse(secondDialog.isShowing) in testStackedDialogsDismissesAll()
136 assertTrue(secondDialog.isShowing) in testActivityTransitionControllerFromDialog()
142 assertFalse(firstDialog.isShowing) in testActivityTransitionControllerFromDialog()
143 assertFalse(secondDialog.isShowing) in testActivityTransitionControllerFromDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DDeviceEntrySideFpsOverlayInteractorTest.kt142 isShowing = true, in updatesShowIndicatorForDeviceEntry_onPrimaryBouncerShowing()
158 isShowing = false, in updatesShowIndicatorForDeviceEntry_onPrimaryBouncerHidden()
228 isShowing = true, in updatesShowIndicatorForDeviceEntry_fromPrimaryBouncer_whenFpsDetectionNotRunning()
245 isShowing = true, in updatesShowIndicatorForDeviceEntry_fromPrimaryBouncer_onUnlockingWithFpDisallowed()
294 isShowing = true, in updatesShowIndicatorForDeviceEntry_onPrimaryBouncerAnimatingAway()
325 isShowing = true, in ignoresDuplicateRequestsToShowIndicatorForDeviceEntry()
342 isShowing: Boolean, in updatePrimaryBouncer()
347 bouncerRepository.setPrimaryShow(isShowing) in updatePrimaryBouncer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlActionCoordinatorImplTest.kt115 `when`(keyguardStateController.isShowing()).thenReturn(false) in testToggleRunsWhenUnlocked()
124 `when`(keyguardStateController.isShowing()).thenReturn(true) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
148 `when`(keyguardStateController.isShowing()).thenReturn(true) in testToggleRunsWhenLockedAndAuthNotRequired()
161 `when`(keyguardStateController.isShowing()).thenReturn(true) in testToggleWhenLockedDoesNotTriggerDialog_featureFlagEnabled()
176 `when`(keyguardStateController.isShowing()).thenReturn(true) in testToggleDoesNotRunsWhenLockedAndAuthRequired()
189 `when`(keyguardStateController.isShowing()).thenReturn(true) in testNullControl()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java616 boolean showing = isShowing(); in setPromptView()
645 if (mPopup.isShowing()) { in show()
809 if (isShowing() && list != null) {
836 public boolean isShowing() {
837 return mPopup.isShowing();
856 if (isShowing()) {
872 if (!isShowing()) {
885 if (!isShowing()) {
898 if (!isShowing()) {
911 if (!isShowing()) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewLayerController.java54 public boolean isShowing() { in isShowing() method in MenuViewLayerController
60 if (isShowing()) { in show()
70 if (!isShowing()) { in hide()
DDragToInteractView.kt84 var isShowing = false variable
185 if (isShowing) return in show()
187 isShowing = true in show()
208 if (!isShowing) return in hide()
210 isShowing = false in hide()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchControllerTest.kt106 `when`(keyguardStateController.isShowing).thenReturn(true) in setUp()
125 `when`(keyguardStateController.isShowing).thenReturn(false) in testAvatarExistsWhenKeyguardGoingAway()
133 `when`(keyguardStateController.isShowing).thenReturn(true) in testAvatarExistsWhenKeyguardShown()
141 `when`(keyguardStateController.isShowing).thenReturn(false) in testAvatarGoneWhenKeyguardGone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/domain/interactor/
DBrightnessMirrorShowingInteractor.kt29 val isShowing = brightnessMirrorShowingRepository.isShowing constant
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DBrightnessMirror.kt43 val isShowing by viewModel.isShowing.collectAsStateWithLifecycle() in <lambda>() constant
46 targetValue = if (isShowing) 1f else 0f, in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DDismissView.kt77 var isShowing = false variable
140 if (isShowing) return in show()
142 isShowing = true in show()
160 if (!isShowing) return in hide()
162 isShowing = false in hide()
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/
DFloatingToolbar.java69 if (mPopup.isShowing() && !mNewRect.equals(mOldRect)) {
176 if (mPopup.isShowing()) { in updateLayout()
201 public boolean isShowing() { in isShowing() method in FloatingToolbar
202 return mPopup.isShowing(); in isShowing()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java171 if (isShowing()) { in tryShow()
207 if (isShowing()) { in tryShow()
293 if (isShowing()) { in dismiss()
314 public boolean isShowing() { in isShowing() method in MenuPopupHelper
315 return mPopup != null && mPopup.isShowing(); in isShowing()
DCascadingMenuPopup.java86 if (isShowing() && mShowingMenus.size() > 0
247 if (isShowing()) { in show()
281 if (info.window.isShowing()) { in dismiss()
344 if (isShowing()) { in addMenu()
364 if (!isShowing() && mForceShowIcon) { in showMenu()
367 } else if (isShowing()) { in showMenu()
539 public boolean isShowing() { in isShowing() method in CascadingMenuPopup
540 return mShowingMenus.size() > 0 && mShowingMenus.get(0).window.isShowing(); in isShowing()
553 if (!info.window.isShowing()) { in onDismiss()
DStandardMenuPopup.java72 if (isShowing() && !mPopup.isModal()) {
159 if (isShowing()) { in tryShow()
226 if (isShowing()) { in dismiss()
237 public boolean isShowing() { in isShowing() method in StandardMenuPopup
238 return !mWasDismissed && mPopup.isShowing(); in isShowing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DBiometricNotificationServiceTest.java146 when(mKeyguardStateController.isShowing()).thenReturn(false); in testShowFingerprintReEnrollNotification_onAcquiredReEnroll_Optional()
173 when(mKeyguardStateController.isShowing()).thenReturn(false); in testShowFingerprintReEnrollNotification_onAcquiredReEnroll_force()
199 when(mKeyguardStateController.isShowing()).thenReturn(false); in testShowFaceReEnrollNotification_onErrorReEnroll()
222 when(mKeyguardStateController.isShowing()).thenReturn(false); in testCancelReEnrollmentNotification_onFaceEnrollmentStateChange()
246 when(mKeyguardStateController.isShowing()).thenReturn(false); in testCancelReEnrollmentNotification_onFingerprintEnrollmentStateChange()
270 when(mKeyguardStateController.isShowing()).thenReturn(false); in testResetFaceUnlockReEnroll_onStart()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/binder/
DSideFpsOverlayViewBinderTest.kt157 isShowing = true, in verifyIndicatorNotAdded_whenInRearDisplayMode()
182 isShowing = true, in verifyIndicatorShowAndHide_onPrimaryBouncerShowAndHide()
193 isShowing = false, in verifyIndicatorShowAndHide_onPrimaryBouncerShowAndHide()
247 isShowing = false, in verifyIndicatorShownAndHidden_onSystemServerAuthenticationStartedAndStopped()
288 isShowing = true, in verifyIndicatorProgressBarInteraction()
319 isShowing: Boolean, in updatePrimaryBouncer()
324 kosmos.keyguardBouncerRepository.setPrimaryShow(isShowing) in updatePrimaryBouncer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/binder/
DKeyguardBouncerViewBinder.kt119 viewModel.isShowing.collect { isShowing -> in <lambda>() method
120 view.visibility = if (isShowing) View.VISIBLE else View.INVISIBLE in <lambda>()
121 if (isShowing) { in <lambda>()

1234567891011