Home
last modified time | relevance | path

Searched refs:mProgressDialog (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DResetNetworkConfirm.java62 private ProgressDialog mProgressDialog; field in ResetNetworkConfirm
103 if (mProgressDialog != null && mProgressDialog.isShowing()) { in onPostExecute()
104 mProgressDialog.dismiss(); in onPostExecute()
143 if (mProgressDialog != null && mProgressDialog.isShowing()) {
144 mProgressDialog.dismiss();
147 mProgressDialog = getProgressDialog(mActivity);
148 mProgressDialog.show();
234 if (mProgressDialog != null) { in onDestroy()
235 mProgressDialog.dismiss(); in onDestroy()
DMainClearConfirm.java102 ProgressDialog mProgressDialog;
112 mProgressDialog.hide();
121 mProgressDialog = getProgressDialog();
122 mProgressDialog.show();
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperSetter.java61 private ProgressDialog mProgressDialog; field in WallpaperSetter
113 mProgressDialog = new ProgressDialog(containerActivity, themeResId); in setCurrentWallpaper()
115 mProgressDialog.setTitle(PROGRESS_DIALOG_NO_TITLE); in setCurrentWallpaper()
116 mProgressDialog.setMessage(containerActivity.getString( in setCurrentWallpaper()
118 mProgressDialog.setIndeterminate(PROGRESS_DIALOG_INDETERMINATE); in setCurrentWallpaper()
126 if (mProgressDialog != null) { in setCurrentWallpaper()
127 mProgressDialog.dismiss(); in setCurrentWallpaper()
128 mProgressDialog = null; in setCurrentWallpaper()
134 mProgressDialog.show(); in setCurrentWallpaper()
277 if (mProgressDialog != null) { in cleanUp()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestDialogActivity.java70 ProgressDialog mProgressDialog; field in NetworkRequestDialogActivity
95 mProgressDialog = new ProgressDialog(this); in showProgressDialog()
96 mProgressDialog.setIndeterminate(true); in showProgressDialog()
97 mProgressDialog.setCancelable(false); in showProgressDialog()
98 mProgressDialog.setMessage(message); in showProgressDialog()
99 mProgressDialog.show(); in showProgressDialog()
119 if (mProgressDialog != null) { in dismissDialogs()
120 mProgressDialog.dismiss(); in dismissDialogs()
121 mProgressDialog = null; in dismissDialogs()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/wfc/
DWfcActivationActivity.java65 @VisibleForTesting ProgressDialog mProgressDialog; field in WfcActivationActivity
238 if (mProgressDialog != null && mProgressDialog.isShowing()) { in showProgressDialog()
241 mProgressDialog = in showProgressDialog()
245 mProgressDialog.setCancelable(false); in showProgressDialog()
246 mProgressDialog.setCanceledOnTouchOutside(false); in showProgressDialog()
247 mProgressDialog.setMessage(getText(R.string.progress_text)); in showProgressDialog()
248 mProgressDialog.show(); in showProgressDialog()
257 if (mProgressDialog != null) { in dismissProgressDialog()
258 mProgressDialog.dismiss(); in dismissProgressDialog()
259 mProgressDialog = null; in dismissProgressDialog()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java70 private ProgressDialog mProgressDialog; field in SimContacts
116 mProgressDialog.incrementProgressBy(1); in run()
119 mProgressDialog.dismiss(); in run()
130 mProgressDialog.dismiss(); in onClick()
310 mProgressDialog = new ProgressDialog(this); in onOptionsItemSelected()
311 mProgressDialog.setTitle(title); in onOptionsItemSelected()
312 mProgressDialog.setMessage(message); in onOptionsItemSelected()
313 mProgressDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL); in onOptionsItemSelected()
314 mProgressDialog.setButton(DialogInterface.BUTTON_NEGATIVE, in onOptionsItemSelected()
316 mProgressDialog.setProgress(0); in onOptionsItemSelected()
[all …]
DEmergencyCallbackModeExitDialog.java71 ProgressDialog mProgressDialog = null; field in EmergencyCallbackModeExitDialog
294 mProgressDialog = new ProgressDialog(EmergencyCallbackModeExitDialog.this); in onCreateDialog()
295 mProgressDialog.setMessage(getText(R.string.progress_dialog_exiting_ecm)); in onCreateDialog()
296 mProgressDialog.setIndeterminate(true); in onCreateDialog()
297 mProgressDialog.setCancelable(false); in onCreateDialog()
298 return mProgressDialog; in onCreateDialog()
355 if (mProgressDialog != null)
356 mProgressDialog.dismiss();
DGsmUmtsCallBarringOptions.java115 private Dialog mProgressDialog; field in GsmUmtsCallBarringOptions
507 mProgressDialog != null && mProgressDialog.isShowing()); in onSaveInstanceState()
542 mProgressDialog = dialog; in onPrepareDialog()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java156 private ProgressDialog mProgressDialog; field in IndividualPickerFragment
460 if (mProgressDialog != null) { in onDestroy()
461 mProgressDialog.dismiss(); in onDestroy()
496 mProgressDialog = new ProgressDialog(getActivity(), themeResId); in startRotation()
498 mProgressDialog.setTitle(PROGRESS_DIALOG_NO_TITLE); in startRotation()
499 mProgressDialog.setMessage( in startRotation()
501 mProgressDialog.setIndeterminate(PROGRESS_DIALOG_INDETERMINATE); in startRotation()
502 mProgressDialog.show(); in startRotation()
512 if (mProgressDialog != null) { in startRotation()
513 mProgressDialog.dismiss(); in startRotation()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogActivityTest.java159 assertThat(mActivity.mProgressDialog).isNotNull(); in specifiedSsid_onCreate_shouldShowProgressDialog()
160 assertThat(mActivity.mProgressDialog.isShowing()).isTrue(); in specifiedSsid_onCreate_shouldShowProgressDialog()
177 assertThat(mActivity.mProgressDialog).isNull(); in specifiedSsid_onMatch_shouldShowDialogFragment()
200 assertThat(mActivity.mProgressDialog).isNull(); in onUserSelectionConnectFailure_shouldShowDialogFragment()
212 assertThat(mActivity.mProgressDialog.isShowing()).isTrue(); in onClickConnectButton_shouldShowProgressDialog()
223 assertThat(mActivity.mProgressDialog).isNull(); in onCancel_shouldCloseAllUI()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetConfirmFragment.java122 private ProgressDialog mProgressDialog; field in FactoryResetConfirmFragment.WipePersistentDataBlockAsyncTask
136 mProgressDialog.hide(); in onPostExecute()
144 mProgressDialog = getProgressDialog(); in onPreExecute()
145 mProgressDialog.show(); in onPreExecute()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java72 private ProgressDialog mProgressDialog; field in IngestActivity
500 if (mProgressDialog == null || !mProgressDialog.isShowing()) { in getProgressDialog()
501 mProgressDialog = new ProgressDialog(this); in getProgressDialog()
502 mProgressDialog.setCancelable(false); in getProgressDialog()
504 return mProgressDialog; in getProgressDialog()
534 if (mProgressDialog != null) { in cleanupProgressDialog()
535 mProgressDialog.dismiss(); in cleanupProgressDialog()
536 mProgressDialog = null; in cleanupProgressDialog()
/packages/apps/Settings/src/com/android/settings/development/
DEnable16kPagesPreferenceController.java96 private AlertDialog mProgressDialog; field in Enable16kPagesPreferenceController
168 mProgressDialog = makeProgressDialog(); in on16kPagesDialogConfirmed()
169 mProgressDialog.show(); in on16kPagesDialogConfirmed()
293 if (mProgressDialog != null && mProgressDialog.isShowing()) { in hideProgressDialog()
294 mProgressDialog.hide(); in hideProgressDialog()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/wfc/
DWfcActivationActivityTest.java148 assertNotNull(activity.mProgressDialog); in testMessageCheckWifiDone_wifiConnectionSuccess_showProgressDialog()
149 assertTrue(activity.mProgressDialog.isShowing()); in testMessageCheckWifiDone_wifiConnectionSuccess_showProgressDialog()
178 assertNull(activity.mProgressDialog); in testMessageCheckWifiDone_wifiConnectionError_showWiFiUnavailableDialog()
216 assertNull(activity.mProgressDialog); in testMessageTryEpdgConnectionDone_imsMmTelManagerNotNull_epdgConnectionSuccess()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java278 private ProgressDialog mProgressDialog; field in QuickContactActivity
634 mProgressDialog = new ProgressDialog(this); in onCreate()
635 mProgressDialog.setIndeterminate(true); in onCreate()
636 mProgressDialog.setCancelable(false); in onCreate()
2566 if (mProgressDialog != null && mProgressDialog.isShowing()) { in dismissProgressBar()
2567 mProgressDialog.dismiss(); in dismissProgressBar()
2572 mProgressDialog.setMessage(getString(R.string.contacts_linking_progress_bar)); in showLinkProgressBar()
2573 mProgressDialog.show(); in showLinkProgressBar()
2577 mProgressDialog.setMessage(getString(R.string.contacts_unlinking_progress_bar)); in showUnlinkProgressBar()
2578 mProgressDialog.show(); in showUnlinkProgressBar()