Home
last modified time | relevance | path

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

123456

/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DProgressDialogFragment.java110 if (mProgressAlertDialog != null && mProgressAlertDialog.isShowing()) { in onDestroy()
129 if (mProgressAlertDialog.isShowing()) { in generateProgressAlertDialog()
132 if (mProgressAlertDialog.isShowing()) { in generateProgressAlertDialog()
135 + mProgressAlertDialog.isShowing()); in generateProgressAlertDialog()
156 if (!mProgressAlertDialog.isShowing()) { in queryLinksInBackground()
165 if (!mProgressAlertDialog.isShowing()) { in queryLinksInBackground()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/statusicon/
DStatusIconPanelViewControllerTest.java136 assertThat(mViewController.getPanel().isShowing()).isTrue(); in onPanelAnchorViewClicked_panelShowing()
146 assertThat(mViewController.getPanel().isShowing()).isFalse(); in onPanelAnchorViewClicked_panelShowing_panelDismissed()
173 assertThat(mViewController.getPanel().isShowing()).isTrue(); in onDismissSystemDialogReceived_fromSelf_panelOpen_doesNotDismissPanel()
185 assertThat(mViewController.getPanel().isShowing()).isFalse(); in onDismissSystemDialogReceived_notFromSelf_panelOpen_dismissesPanel()
221 assertThat(mViewController.getPanel().isShowing()).isFalse(); in onGlobalFocusChanged_panelShowing_panelDismissed()
234 assertThat(mViewController.getPanel().isShowing()).isFalse(); in onQCAction_pendingIntentAction_panelDismissed()
247 assertThat(mViewController.getPanel().isShowing()).isFalse(); in onQCAction_actionHandler_panelDismissed()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingStopDialogFragmentTest.java163 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_oneDeviceInSharing_showDialogWithCorrectMessage()
184 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_twoDeviceInSharing_showDialogWithCorrectMessage()
207 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowingForSameDevice_updateDialog()
224 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowingForSameDevice_updateDialog()
235 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_dialogIsShowingForSameDevice_updateDialog()
256 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowingForNewDevice_showNewDialog()
278 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowingForNewDevice_showNewDialog()
313 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_clickCancel_dialogDismiss()
343 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_clickShare_callbackTriggered()
DAudioSharingDisconnectDialogFragmentTest.java168 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_flagOn_dialogShowBtnForTwoDevices()
185 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowingForSameGroup_updateDialog()
214 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowingForSameGroup_updateDialog()
224 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_dialogIsShowingForSameGroup_updateDialog()
244 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowingForNewGroup_showNewDialog()
261 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowingForNewGroup_showNewDialog()
298 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_clickCancel_dialogDismiss()
304 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_clickCancel_dialogDismiss()
DAudioSharingJoinDialogFragmentTest.java178 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_flagOn_dialogShowTextForSingleDevice()
193 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_flagOn_dialogShowTextForTwoDevice()
213 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowing_updateDialog()
223 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_dialogIsShowing_updateDialog()
249 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_clickCancel_dialogDismiss()
282 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_clickBtn_callbackTriggered()
316 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_clickCancel_callbackTriggered()
DAudioSharingDialogFragmentTest.java155 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_flagOn_noConnectedDevice()
177 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_noConnectedDevice_dialogDismiss()
205 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_flagOn_singleConnectedDevice()
233 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_singleConnectedDevice_dialogDismiss()
269 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_singleConnectedDevice_shareClicked()
300 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_flagOn_multipleConnectedDevice()
341 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_multipleConnectedDevice_dialogDismiss()
DAudioSharingDialogHelperTest.java67 when(mDialog.isShowing()).thenReturn(false); in getDialogIfShowing_notShowing_returnNull()
75 when(mDialog.isShowing()).thenReturn(true); in getDialogIfShowing_showing_returnDialog()
DAudioSharingConfirmDialogFragmentTest.java105 assertThat(dialog.isShowing()).isTrue(); in onCreateDialog_flagOn_showDialog()
119 assertThat(dialog.isShowing()).isFalse(); in onCreateDialog_clickOk_dialogDismiss()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragmentTest.java89 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowTimeoutDialog()
110 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowAbortDialog()
122 assertThat(alertDialog.isShowing()).isTrue(); in clickPositiveButton_shouldCallStartScanningDialog()
135 assertThat(alertDialog.isShowing()).isTrue(); in clickNegativeButton_shouldCloseTheDialog()
141 assertThat(alertDialog.isShowing()).isFalse(); in clickNegativeButton_shouldCloseTheDialog()
DNetworkRequestDialogActivityTest.java92 assertThat(alertDialog.isShowing()).isTrue(); in LaunchActivity_shouldShowNetworkRequestDialog()
160 assertThat(mActivity.mProgressDialog.isShowing()).isTrue(); in specifiedSsid_onCreate_shouldShowProgressDialog()
212 assertThat(mActivity.mProgressDialog.isShowing()).isTrue(); in onClickConnectButton_shouldShowProgressDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DScreenFlashNotificationColorDialogFragmentTest.java88 assertThat(mAlertDialog.isShowing()).isTrue(); in test_assertShow()
94 assertThat(mAlertDialog.isShowing()).isTrue(); in clickNeutral_assertShow()
116 assertThat(mAlertDialog.isShowing()).isFalse(); in clickNegative_assertNotShow()
122 assertThat(mAlertDialog.isShowing()).isFalse(); in clickPositive_assertNotShow()
213 assertThat(fragment.requireDialog().isShowing()).isTrue(); in setupFragment()
DAccessibilityQuickSettingsTooltipWindowTest.java100 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in accessibilityClickActionOnTooltipViewShown_shouldInvokeCallbackAndNotShowing()
112 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in dismiss_tooltipViewShown_shouldInvokeCallbackAndNotShowing()
124 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in waitAutoCloseDelayTime_tooltipViewShown_shouldInvokeCallbackAndNotShowing()
DAccessibilityQuickSettingsPrimarySwitchPreferenceControllerTest.java130 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in setChecked_showTooltipView()
151 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in setChecked_tooltipViewShown_notShowTooltipView()
164 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in restoreValueFromSavedInstanceState_showTooltipView()
DPreviewSizeSeekBarControllerTest.java206 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in onProgressChanged_showTooltipView()
244 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in onProgressChanged_tooltipViewHasBeenShown_notShowTooltipView()
257 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in restoreValueFromSavedInstanceState_showTooltipView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privatespace/delete/
DResetOptionsDeletePrivateSpaceControllerTest.java156 assertThat(alertDialog.isShowing()).isFalse(); in handleActivityResult_notSuccess_noDialogShown()
169 assertThat(alertDialog.isShowing()).isTrue(); in setAlertDialog_showsDialog_onPositiveButtonClickDialogRemoved()
175 assertThat(alertDialog.isShowing()).isFalse(); in setAlertDialog_showsDialog_onPositiveButtonClickDialogRemoved()
188 assertThat(alertDialog.isShowing()).isTrue(); in setAlertDialog_showsDialog_onNegativeButtonClickDialogRemoved()
194 assertThat(alertDialog.isShowing()).isFalse(); in setAlertDialog_showsDialog_onNegativeButtonClickDialogRemoved()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInput.java44 public ConversationInput(ConversationInputBase baseHost, final boolean isShowing) { in ConversationInput() argument
46 mShowing = isShowing; in ConversationInput()
/packages/apps/Settings/src/com/android/settings/
DEditPinPreference.java66 return dialog != null && dialog.isShowing(); in isDialogOpen()
79 if (dialog == null || !dialog.isShowing()) { in showPinDialog()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DDataSubscriptionController.java175 && mPopupWindow.isShowing()) {
270 if (mPopupWindow != null && mPopupWindow.isShowing()) { in updateShouldDisplayProactiveMsg()
278 && !mPopupWindow.isShowing()) { in updateShouldDisplayProactiveMsg()
292 if (!mPopupWindow.isShowing()) { in updateShouldDisplayReactiveMsg()
301 if (mPopupWindow != null && mPopupWindow.isShowing()) { in updateShouldDisplayReactiveMsg()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSettingsMainSwitchPreferenceTest.java64 assertThat(mPreference.isShowing()).isTrue(); in show_preferenceShouldDisplay()
74 assertThat(mPreference.isShowing()).isFalse(); in hide_preferenceShouldNotDisplay()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamConfirmDialogTest.java133 assertThat(dialog.isShowing()).isTrue(); in showDialog_unsupported()
171 assertThat(dialog.isShowing()).isTrue(); in showDialog_noLeDevice()
213 assertThat(dialog.isShowing()).isTrue(); in showDialog_noMetadata()
258 assertThat(dialog.isShowing()).isTrue(); in showDialog_invalidMetadata()
303 assertThat(dialog.isShowing()).isTrue(); in showDialog_confirmListen()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityQuickSettingsPrimarySwitchPreferenceController.java69 final boolean isTooltipWindowShowing = mTooltipWindow != null && mTooltipWindow.isShowing(); in onDestroy()
77 final boolean isTooltipWindowShowing = mTooltipWindow != null && mTooltipWindow.isShowing(); in onSaveInstanceState()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java240 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOn_requestDisableIntent_startsDialog()
251 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOff_requestDiscoverableIntent_startsDialog()
262 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOn_requestDiscoverableIntent_startsDialog()
273 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOff_requestEnableIntent_startsDialog()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DDataSubscriptionControllerTest.java141 when(mPopupWindow.isShowing()).thenReturn(false); in setAnchorView_viewNotNull_popUpDisplay()
154 when(mPopupWindow.isShowing()).thenReturn(false); in setAnchorView_viewNull_popUpNotDisplay()
273 when(mPopupWindow.isShowing()).thenReturn(true); in onRestrictionsChanged_optimizationRequired_proactiveMsgDismissed()
294 when(mPopupWindow.isShowing()).thenReturn(true); in onRestrictionsChanged_optimizationRequired_buttonDismissedInReactiveMsg()
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DLocaleDialogFragmentTest.java98 assertThat(alertDialog.isShowing()).isTrue(); in onBackInvoked_dialogIsStillDisplaying()
105 assertThat(alertDialog.isShowing()).isTrue(); in onBackInvoked_dialogIsStillDisplaying()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallFragment.java385 public void onInCallScreenDialpadVisibilityChange(boolean isShowing) { in onInCallScreenDialpadVisibilityChange() argument
386 LogUtil.i("InCallFragment.onInCallScreenDialpadVisibilityChange", "isShowing: " + isShowing); in onInCallScreenDialpadVisibilityChange()
388 getButtonController(InCallButtonIds.BUTTON_DIALPAD).setChecked(isShowing); in onInCallScreenDialpadVisibilityChange()
395 inCallButtonGridFragment.onInCallScreenDialpadVisibilityChange(isShowing); in onInCallScreenDialpadVisibilityChange()
401 isShowing ? android.R.color.background_dark : android.R.color.transparent)); in onInCallScreenDialpadVisibilityChange()

123456