Lines Matching defs:dialog
173 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId());
175 dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE);
177 dialog.setTitle(title);
179 dialog.setContentView(childPrefScreen);
180 dialog.setOnDismissListener(this);
182 dialog.onRestoreInstanceState(state);
186 getPreferenceManager().addPreferencesScreen(dialog);
188 dialog.show();
191 public void onDismiss(DialogInterface dialog) {
193 getPreferenceManager().removePreferencesScreen(dialog);
197 * Used to get a handle to the dialog.
198 * This is useful for cases where we want to manipulate the dialog
225 final Dialog dialog = mDialog;
226 if (dialog == null || !dialog.isShowing()) {
232 myState.dialogBundle = dialog.onSaveInstanceState();