Lines Matching refs:dialog

22  * Interface that defines a dialog-type class that can be shown, dismissed, or
48 * Cancels the dialog, invoking the {@link OnCancelListener}.
51 * dismisses the dialog.
56 * Dismisses the dialog, invoking the {@link OnDismissListener}.
61 * Interface used to allow the creator of a dialog to run some code when the
62 * dialog is canceled.
64 * This will only be called when the dialog is canceled, if the creator
70 * This method will be invoked when the dialog is canceled.
72 * @param dialog the dialog that was canceled will be passed into the
75 void onCancel(DialogInterface dialog);
79 * Interface used to allow the creator of a dialog to run some code when the
80 * dialog is dismissed.
84 * This method will be invoked when the dialog is dismissed.
86 * @param dialog the dialog that was dismissed will be passed into the
89 void onDismiss(DialogInterface dialog);
93 * Interface used to allow the creator of a dialog to run some code when the
94 * dialog is shown.
98 * This method will be invoked when the dialog is shown.
100 * @param dialog the dialog that was shown will be passed into the
103 void onShow(DialogInterface dialog);
107 * Interface used to allow the creator of a dialog to run some code when an
108 * item on the dialog is clicked.
112 * This method will be invoked when a button in the dialog is clicked.
114 * @param dialog the dialog that received the click
119 void onClick(DialogInterface dialog, int which);
123 * Interface used to allow the creator of a dialog to run some code when an
124 * item in a multi-choice dialog is clicked.
128 * This method will be invoked when an item in the dialog is clicked.
130 * @param dialog the dialog where the selection was made
135 void onClick(DialogInterface dialog, int which, boolean isChecked);
140 * dispatched to this dialog. The callback will be invoked before the key
141 * event is given to the dialog.
145 * Called when a key is dispatched to a dialog. This allows listeners to
146 * get a chance to respond before the dialog.
148 * @param dialog the dialog the key has been dispatched to
155 boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event);