Home | History | Annotate | Download | only in phone

Lines Matching defs:dialog

28 import android.app.Dialog;
61 * user, but in other cases it may (by bringing up a dialog if the user's
84 private Dialog[] mDialogs = new Dialog[DIALOG_SIZE];
124 // call options dialog (if necessary).
240 for (Dialog dialog : mDialogs) {
241 if (dialog != null) dialog.dismiss();
246 protected Dialog onCreateDialog(int id) {
247 Dialog dialog;
250 dialog = new AlertDialog.Builder(this)
259 dialog = new AlertDialog.Builder(this)
266 addMakeDefaultCheckBox(dialog);
269 dialog = new AlertDialog.Builder(this)
280 dialog = new AlertDialog.Builder(this)
291 dialog = new AlertDialog.Builder(this)
299 dialog = null;
301 if (dialog != null) {
302 mDialogs[id] = dialog;
304 return dialog;
307 private void addMakeDefaultCheckBox(Dialog dialog) {
320 ((AlertDialog)dialog).setView(view);
332 public void onClick(DialogInterface dialog, int id) {
337 } else if(dialog == mDialogs[DIALOG_SELECT_PHONE_TYPE]) {
346 } else if (dialog == mDialogs[DIALOG_SELECT_OUTGOING_SIP_PHONE]) {
348 } else if ((dialog == mDialogs[DIALOG_NO_INTERNET_ERROR])
349 || (dialog == mDialogs[DIALOG_NO_VOIP])) {
365 public void onCancel(DialogInterface dialog) {