Searched defs:dialog (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDialogFragment.java28 * platform-styled dialog.
41 public void setupDialog(Dialog dialog, int style) { argument
42 if (dialog instanceof AppCompatDialog) {
43 // If the dialog is an AppCompatDialog, we'll handle it
44 AppCompatDialog acd = (AppCompatDialog) dialog;
47 dialog.getWindow().addFlags(
57 super.setupDialog(dialog, style);
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportWarningActivity.java68 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java36 * show this dialog to the user to allow them to optionally visit that URL for more
57 // sanity check before displaying dialog
84 public void onClick(DialogInterface dialog, int which) { argument
H A DUsbDebuggingSecondaryUserActivity.java93 public void onClick(DialogInterface dialog, int which) { argument
H A DUsbConfirmActivity.java112 public void onClick(DialogInterface dialog, int which) { argument
H A DUsbDebuggingActivity.java119 public void onClick(DialogInterface dialog, int which) { argument
H A DUsbPermissionActivity.java159 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java96 public void onClick(DialogInterface dialog, int which) { argument
H A DManageDialog.java69 // mConfig can be null if we are a restricted user, in that case don't show this dialog
119 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DFailureDialogFragment.java39 * Alert dialog for failed operations.
68 public void onClick(DialogInterface dialog, int whichButton) { argument
/frameworks/base/core/java/android/content/
H A DDialogInterface.java63 * Interface used to allow the creator of a dialog to run some code when the
64 * dialog is canceled.
66 * This will only be called when the dialog is canceled, if the creator
72 * This method will be invoked when the dialog is canceled.
74 * @param dialog The dialog that was canceled will be passed into the
77 public void onCancel(DialogInterface dialog); argument
81 * Interface used to allow the creator of a dialog to run some code when the
82 * dialog is dismissed.
86 * This method will be invoked when the dialog i
91 onDismiss(DialogInterface dialog) argument
105 onShow(DialogInterface dialog) argument
122 onClick(DialogInterface dialog, int which) argument
137 onClick(DialogInterface dialog, int which, boolean isChecked) argument
156 onKey(DialogInterface dialog, int keyCode, KeyEvent event) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java47 * Shows menu as a dialog.
55 // Get the builder for the dialog
92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { argument
115 dialog.dismiss();
133 * Dismisses the menu's dialog.
144 public void onDismiss(DialogInterface dialog) { argument
166 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DGuestResumeSessionReceiver.java169 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaProjectionPermissionActivity.java103 // message below the fold of the dialog. Labels shouldn't have new line
164 public void onClick(DialogInterface dialog, int which) { argument
196 public void onCancel(DialogInterface dialog) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSafetyWarningDialog.java83 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DSystemBarHelper.java63 * Hide the navigation bar for a dialog.
67 public static void hideSystemBars(final Dialog dialog) { argument
69 final Window window = dialog.getWindow();
207 // if the dialog has editable text fields.
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DPreferenceDialogFragment.java84 // 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) { argument
179 onClick(DialogInterface dialog, int which) argument
184 onDismiss(DialogInterface dialog) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuDialogHelper.java48 * Shows menu as a dialog.
56 // Get the builder for the dialog
93 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { argument
116 dialog.dismiss();
134 * Dismisses the menu's dialog.
145 public void onDismiss(DialogInterface dialog) { argument
167 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceDialogFragmentCompat.java82 // 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) { argument
177 onClick(DialogInterface dialog, int which) argument
182 onDismiss(DialogInterface dialog) argument
[all...]
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java37 * A simple dialog containing an {@link android.widget.DatePicker}.
71 * @param context The context the dialog is to run in.
73 * @param year The initial year of the dialog.
74 * @param monthOfYear The initial month of the dialog.
75 * @param dayOfMonth The initial day of the dialog.
96 * @param context The context the dialog is to run in.
97 * @param theme the theme to apply to this dialog
99 * @param year The initial year of the dialog.
100 * @param monthOfYear The initial month of the dialog.
101 * @param dayOfMonth The initial day of the dialog
130 onClick(DialogInterface dialog, int which) argument
[all...]
H A DTimePickerDialog.java34 * A dialog that prompts the user for the time of day using a
60 * Called when the user is done setting a new time and the dialog has
71 * Creates a new time picker dialog.
95 * Creates a new time picker dialog with the specified theme.
98 * @param themeResId the resource ID of the theme to apply to this dialog
141 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/core/java/android/preference/
H A DPreferenceScreen.java173 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) { argument
193 getPreferenceManager().removePreferencesScreen(dialog);
[all...]
/frameworks/base/core/java/android/webkit/
H A DJsDialogHelper.java91 Log.w(TAG, "Cannot create a dialog, the WebView context is not an Activity");
134 public void onCancel(DialogInterface dialog) { argument
138 public void onClick(DialogInterface dialog, int which) { argument
151 public void onClick(DialogInterface dialog, int which) { argument
179 // We can only display the alert dialog if mContext is
H A DPlugin.java199 // Show a simple popup dialog containing the description
216 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/core/java/com/android/internal/app/
H A DNetInitiatedActivity.java37 * requests. It uses the alert dialog style. It will be launched from a notification.
86 // Set up the "dialog"
123 public void onClick(DialogInterface dialog, int which) { argument

Completed in 531 milliseconds

12