Lines Matching refs:dialog

40  * dialog-based. These preferences will, when clicked, open a dialog showing the
62 /** The dialog, if it is showing. */
102 * Sets the title of the dialog. This will be shown on subsequent dialogs.
112 * @param dialogTitleResId The dialog title as a resource.
127 * Sets the message of the dialog. This will be shown on subsequent dialogs.
129 * This message forms the content View of the dialog and conflicts with
130 * list-based dialogs, for example. If setting a custom View on a dialog via
142 * @param dialogMessageResId The dialog message as a resource.
157 * Sets the icon of the dialog. This will be shown on subsequent dialogs.
166 * Sets the icon (resource ID) of the dialog. This will be shown on
184 * Sets the text of the positive button of the dialog. This will be shown on
212 * Sets the text of the negative button of the dialog. This will be shown on
261 * Prepares the dialog builder to be shown when the preference is clicked.
262 * Use this to set custom properties on the dialog.
278 * Shows the dialog associated with this Preference. This is normally initiated
280 * show the dialog on some other event.
282 * @param state Optional instance state to restore on the dialog
307 // Create the dialog
308 final Dialog dialog = mDialog = mBuilder.create();
310 dialog.onRestoreInstanceState(state);
313 requestInputMethod(dialog);
315 dialog.setOnDismissListener(this);
316 dialog.show();
320 * Returns whether the preference needs to display a soft input method when the dialog
330 * Sets the required flags on the dialog window to enable input method window to show up.
332 private void requestInputMethod(Dialog dialog) {
333 Window window = dialog.getWindow();
338 * Creates the content view for the dialog (if a custom content view is
339 * required). By default, it inflates the dialog layout resource if it is
342 * @return The content View for the dialog.
355 * Binds views in the content View of the dialog to data.
359 * @param view The content View of the dialog, if it is custom.
382 public void onClick(DialogInterface dialog, int which) {
386 public void onDismiss(DialogInterface dialog) {
395 * Called when the dialog is dismissed and should be used to save data to
399 * the negative button was clicked or the dialog was canceled (false).
405 * Gets the dialog that is shown by this preference.
407 * @return The dialog, or null if a dialog is not being shown.