Home | History | Annotate | Download | only in phone

Lines Matching full:dialog

28 import android.app.Dialog;
59 * user, but in other cases it may (by bringing up a dialog if the user's
82 private Dialog[] mDialogs = new Dialog[DIALOG_SIZE];
107 // call options dialog (if necessary).
215 for (Dialog dialog : mDialogs) {
216 if (dialog != null) dialog.dismiss();
221 protected Dialog onCreateDialog(int id) {
222 Dialog dialog;
225 dialog = new AlertDialog.Builder(this)
234 dialog = new AlertDialog.Builder(this)
241 addMakeDefaultCheckBox(dialog);
244 dialog = new AlertDialog.Builder(this)
255 dialog = new AlertDialog.Builder(this)
266 dialog = new AlertDialog.Builder(this)
274 dialog = null;
276 if (dialog != null) {
277 mDialogs[id] = dialog;
279 return dialog;
282 private void addMakeDefaultCheckBox(Dialog dialog) {
295 ((AlertDialog)dialog).setView(view);
307 public void onClick(DialogInterface dialog, int id) {
312 } else if(dialog == mDialogs[DIALOG_SELECT_PHONE_TYPE]) {
321 } else if (dialog == mDialogs[DIALOG_SELECT_OUTGOING_SIP_PHONE]) {
323 } else if ((dialog == mDialogs[DIALOG_NO_INTERNET_ERROR])
324 || (dialog == mDialogs[DIALOG_NO_VOIP])) {
340 public void onCancel(DialogInterface dialog) {