/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 639 * but not in the foreground, such as one sitting behind a foreground dialog) 1070 final Dialog dialog = onCreateDialog(dialogId, args); 1071 if (dialog == null) { 1074 dialog.dispatchOnCreate(state); 1075 return dialog; 1412 // save each dialog's bundle, gather the ids 1676 // Close any open search dialog 3315 * this method the first time, and hang onto it thereafter. Any dialog 3323 * <p>If you would like an opportunity to prepare your dialog before it is shown, 3326 * @param id The id of the dialog 3350 onPrepareDialog(int id, Dialog dialog) argument 3379 onPrepareDialog(int id, Dialog dialog, Bundle args) argument [all...] |
H A D | DatePickerDialog.java | 37 * 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 D | Dialog.java | 74 * that managed this dialog. 140 * Creates a dialog window that uses the default dialog theme. 143 * base theme used to present the dialog. 145 * @param context the context in which the dialog should run 153 * Creates a dialog window that uses a custom dialog style. 156 * base theme used to present the dialog. 163 * @param context the context in which the dialog should run 165 * window, or {@code 0} to use the default dialog them 1315 ListenersHandler(Dialog dialog) argument [all...] |
H A D | DialogFragment.java | 32 * A fragment that displays a dialog window, floating on top of its 35 * the dialog (deciding when to show, hide, dismiss it) should be done through 36 * the API here, not with direct calls on the dialog. 40 * content of the dialog. Alternatively, they can override 41 * {@link #onCreateDialog(Bundle)} to create an entirely custom dialog, such 63 * events from the dialog and takes care of removing its own state when they 67 * remove itself when the dialog is dismissed. 76 * dialog} 83 * <p>This removes any currently shown dialog, creates a new DialogFragment 94 * generate the view hierarchy inside of a dialog, yo 452 onCancel(DialogInterface dialog) argument 455 onDismiss(DialogInterface dialog) argument [all...] |
H A D | SearchManager.java | 55 * <p>For more information about using the search dialog and adding search 624 // Don't show search dialog on televisions. 726 * the search dialog. Made available for testing purposes. 826 public void onCancel(DialogInterface dialog) { argument 836 public void onDismiss(DialogInterface dialog) { argument
|
H A D | TimePickerDialog.java | 34 * 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/content/ |
H A D | DialogInterface.java | 63 * 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/android/preference/ |
H A D | DialogPreference.java | 43 * dialog-based. These preferences will, when clicked, open a dialog showing the 65 /** The dialog, if it is showing. */ 105 * Sets the title of the dialog. This will be shown on subsequent dialogs. 115 * @param dialogTitleResId The dialog title as a resource. 130 * Sets the message of the dialog. This will be shown on subsequent dialogs. 132 * This message forms the content View of the dialog and conflicts with 133 * list-based dialogs, for example. If setting a custom View on a dialog via 145 * @param dialogMessageResId The dialog message as a resource. 160 * Sets the icon of the dialog 335 requestInputMethod(Dialog dialog) argument 386 onClick(DialogInterface dialog, int which) argument 390 onDismiss(DialogInterface dialog) argument [all...] |
H A D | PreferenceScreen.java | 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) { argument 193 getPreferenceManager().removePreferencesScreen(dialog); [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | JsDialogHelper.java | 91 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 D | Plugin.java | 199 // Show a simple popup dialog containing the description 216 public void onClick(DialogInterface dialog, int which) { argument
|
/frameworks/base/core/java/android/widget/ |
H A D | Spinner.java | 74 * Use a dialog window for selecting spinner options. 88 /** Context used to inflate the popup window or dialog. */ 221 * @param popupTheme The theme against which the dialog or dropdown popup 304 * @return the context used to inflate the Spinner's popup or dialog window 765 public void onClick(DialogInterface dialog, int which) { argument 767 dialog.dismiss(); 786 * Sets the prompt to display when the dialog is shown. 794 * Sets the prompt to display when the dialog is shown. 795 * @param promptId the resource ID of the prompt to display when the dialog is shown 802 * @return The prompt to display when the dialog i 1103 onClick(DialogInterface dialog, int which) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 152 public ButtonHandler(DialogInterface dialog) { argument 153 mDialog = new WeakReference<DialogInterface>(dialog); 271 * Set the view resource to display in the dialog. 280 * Set the view to display in the dialog. 289 * Set the view to display in the dialog along with the spacing around that view 957 * @param listView The ListView that will be shown in the dialog. 968 public void apply(AlertController dialog) { argument 970 dialog.setCustomTitle(mCustomTitleView); 973 dialog.setTitle(mTitle); 976 dialog 1028 createListView(final AlertController dialog) argument [all...] |
H A D | NetInitiatedActivity.java | 37 * 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
|
H A D | WindowDecorActionBar.java | 176 public WindowDecorActionBar(Dialog dialog) { argument 177 mDialog = dialog; 178 init(dialog.getWindow().getDecorView());
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuDialogHelper.java | 47 * 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/DocumentsUI/src/com/android/documentsui/ |
H A D | FailureDialogFragment.java | 39 * Alert dialog for failed operations. 68 public void onClick(DialogInterface dialog, int whichButton) { argument
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportWarningActivity.java | 68 public void onClick(DialogInterface dialog, int which) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | GuestResumeSessionReceiver.java | 169 public void onClick(DialogInterface dialog, int which) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | MediaProjectionPermissionActivity.java | 103 // 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/qs/ |
H A D | QSFooter.java | 104 // TODO: Delay dialog creation until after panels are collapsed. 125 public void onClick(DialogInterface dialog, int which) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | UserSwitcherController.java | 629 public void onClick(DialogInterface dialog, int which) { argument 653 public void onClick(DialogInterface dialog, int which) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbAccessoryUriActivity.java | 36 * 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 D | UsbConfirmActivity.java | 112 public void onClick(DialogInterface dialog, int which) { argument
|
H A D | UsbDebuggingActivity.java | 119 public void onClick(DialogInterface dialog, int which) { argument
|