Lines Matching defs:dialog
82 // Create the dialog
83 final Dialog dialog = builder.create();
85 requestInputMethod(dialog);
93 * Get the preference that requested this dialog. Available after {@link #onCreate(Bundle)} has
97 * dialog.
104 * Prepares the dialog builder to be shown when the preference is clicked.
105 * Use this to set custom properties on the dialog.
113 * Returns whether the preference needs to display a soft input method when the dialog
123 * Sets the required flags on the dialog window to enable input method window to show up.
125 private void requestInputMethod(Dialog dialog) {
126 Window window = dialog.getWindow();
131 * Creates the content view for the dialog (if a custom content view is
132 * required). By default, it inflates the dialog layout resource if it is
135 * @return The content View for the dialog.
149 * Binds views in the content View of the dialog to data.
153 * @param view The content View of the dialog, if it is custom.
177 public void onClick(DialogInterface dialog, int which) {
182 public void onDismiss(DialogInterface dialog) {
183 super.onDismiss(dialog);