Lines Matching defs:dialog

40  * dialog-based. These preferences will, when clicked, open a dialog showing the
62 /** The dialog, if it is showing. */
94 * Sets the title of the dialog. This will be shown on subsequent dialogs.
104 * @param dialogTitleResId The dialog title as a resource.
119 * Sets the message of the dialog. This will be shown on subsequent dialogs.
121 * This message forms the content View of the dialog and conflicts with
122 * list-based dialogs, for example. If setting a custom View on a dialog via
134 * @param dialogMessageResId The dialog message as a resource.
149 * Sets the icon of the dialog. This will be shown on subsequent dialogs.
158 * Sets the icon (resource ID) of the dialog. This will be shown on
176 * Sets the text of the positive button of the dialog. This will be shown on
204 * Sets the text of the negative button of the dialog. This will be shown on
253 * Prepares the dialog builder to be shown when the preference is clicked.
254 * Use this to set custom properties on the dialog.
270 * Shows the dialog associated with this Preference. This is normally initiated
272 * show the dialog on some other event.
274 * @param state Optional instance state to restore on the dialog
299 // Create the dialog
300 final Dialog dialog = mDialog = mBuilder.create();
302 dialog.onRestoreInstanceState(state);
305 requestInputMethod(dialog);
307 dialog.setOnDismissListener(this);
308 dialog.show();
312 * Returns whether the preference needs to display a soft input method when the dialog
322 * Sets the required flags on the dialog window to enable input method window to show up.
324 private void requestInputMethod(Dialog dialog) {
325 Window window = dialog.getWindow();
330 * Creates the content view for the dialog (if a custom content view is
331 * required). By default, it inflates the dialog layout resource if it is
334 * @return The content View for the dialog.
347 * Binds views in the content View of the dialog to data.
351 * @param view The content View of the dialog, if it is custom.
374 public void onClick(DialogInterface dialog, int which) {
378 public void onDismiss(DialogInterface dialog) {
387 * Called when the dialog is dismissed and should be used to save data to
391 * the negative button was clicked or the dialog was canceled (false).
397 * Gets the dialog that is shown by this preference.
399 * @return The dialog, or null if a dialog is not being shown.