Lines Matching defs:dialog
84 // Create the dialog
85 final Dialog dialog = builder.create();
87 requestInputMethod(dialog);
95 * Get the preference that requested this dialog. Available after {@link #onCreate(Bundle)} has
99 * dialog.
106 * Prepares the dialog builder to be shown when the preference is clicked.
107 * Use this to set custom properties on the dialog.
115 * Returns whether the preference needs to display a soft input method when the dialog
125 * Sets the required flags on the dialog window to enable input method window to show up.
127 private void requestInputMethod(Dialog dialog) {
128 Window window = dialog.getWindow();
133 * Creates the content view for the dialog (if a custom content view is
134 * required). By default, it inflates the dialog layout resource if it is
137 * @return The content View for the dialog.
151 * Binds views in the content View of the dialog to data.
155 * @param view The content View of the dialog, if it is custom.
179 public void onClick(DialogInterface dialog, int which) {
184 public void onDismiss(DialogInterface dialog) {
185 super.onDismiss(dialog);