Home | History | Annotate | Download | only in preference

Lines Matching defs:dialog

19 import android.app.Dialog;
47 * another screen of preferences as a {@link Dialog} or via a
92 private Dialog mDialog;
174 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId());
176 dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE);
178 dialog.setTitle(title);
180 dialog.setContentView(childPrefScreen);
181 dialog.setOnDismissListener(this);
183 dialog.onRestoreInstanceState(state);
187 getPreferenceManager().addPreferencesScreen(dialog);
189 dialog.show();
192 public void onDismiss(DialogInterface dialog) {
194 getPreferenceManager().removePreferencesScreen(dialog);
198 * Used to get a handle to the dialog.
199 * This is useful for cases where we want to manipulate the dialog
202 public Dialog getDialog() {
226 final Dialog dialog = mDialog;
227 if (dialog == null || !dialog.isShowing()) {
233 myState.dialogBundle = dialog.onSaveInstanceState();