Home | History | Annotate | Download | only in calendar

Lines Matching defs:dialog

52      * -1 means no choice selected, or the dialog was
66 public void onClick(DialogInterface dialog, int which) {
71 public void onDismiss(DialogInterface dialog) {
73 // that the dialog was canceled.
81 mDismissListener.onDismiss(dialog);
99 public void onClick(DialogInterface dialog, int which) {
113 * Set the dismiss listener to be called when the dialog is ended. There,
114 * use getWhichEvents() to see how the dialog was dismissed; if it returns
115 * -1, the dialog was canceled out. If it is not -1, it's the index of
129 AlertDialog dialog = new AlertDialog.Builder(mParent).setTitle(
134 // The caller may set a dismiss listener to hear back when the dialog is
135 // finished. Use getWhichEvents() to see how the dialog was dismissed.
136 dialog.setOnDismissListener(this);
137 mAlertDialog = dialog;
142 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);