Home | History | Annotate | Download | only in phone

Lines Matching refs:dialog

19 import android.app.Dialog;
59 //dialog ids
109 // Always try to dismiss the dialog because activity may
110 // be moved to background after dialog is shown.
114 // "auto select" is always trigged in foreground, so "auto select" dialog
117 Log.w(LOG_TAG, "[NetworksList] Fail to dismiss auto select dialog", e);
206 public void onCancel(DialogInterface dialog) {
272 protected Dialog onCreateDialog(int id) {
276 ProgressDialog dialog = new ProgressDialog(this);
279 // It would be more efficient to reuse this dialog by moving
284 dialog.setMessage(mNetworkSelectMsg);
285 dialog.setCancelable(false);
286 dialog.setIndeterminate(true);
289 dialog.setMessage(getResources().getString(R.string.register_automatically));
290 dialog.setCancelable(false);
291 dialog.setIndeterminate(true);
295 // reinstate the cancelablity of the dialog.
296 dialog.setMessage(getResources().getString(R.string.load_networks_progress));
297 dialog.setCanceledOnTouchOutside(false);
298 dialog.setOnCancelListener(this);
301 return dialog;
307 protected void onPrepareDialog(int id, Dialog dialog) {
398 // Always try to dismiss the dialog because activity may
399 // be moved to background after dialog is shown.
404 // "Load list" dialog will not show, if NetworkQueryService is
406 if (DBG) log("Fail to dismiss network load list dialog");