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

12

/frameworks/base/core/java/com/android/internal/app/
H A DExternalMediaFormatActivity.java32 * It uses the alert dialog style. It will be launched from a notification, or from settings
59 // Set up the "dialog"
93 public void onClick(DialogInterface dialog, int which) { argument
H A DNetInitiatedActivity.java37 * requests. It uses the alert dialog style. It will be launched from a notification.
86 // Set up the "dialog"
124 public void onClick(DialogInterface dialog, int which) { argument
H A DAlertController.java155 public ButtonHandler(DialogInterface dialog) { argument
156 mDialog = new WeakReference<DialogInterface>(dialog);
266 * Set the view to display in the dialog.
274 * Set the view to display in the dialog along with the spacing around that view
785 * @param listView The ListView that will be shown in the dialog.
796 public void apply(AlertController dialog) { argument
798 dialog.setCustomTitle(mCustomTitleView);
801 dialog.setTitle(mTitle);
804 dialog.setIcon(mIcon);
807 dialog
851 createListView(final AlertController dialog) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java38 * show this dialog to the user to allow them to optionally visit that URL for more
59 // sanity check before displaying dialog
86 public void onClick(DialogInterface dialog, int which) { argument
H A DUsbConfirmActivity.java115 public void onClick(DialogInterface dialog, int which) { argument
H A DUsbPermissionActivity.java158 public void onClick(DialogInterface dialog, int which) { argument
H A DUsbStorageActivity.java58 * dialog style. It will be launched from a notification.
219 public void onClick(DialogInterface dialog, int which) {
287 // Display error dialog
305 // Display error dialog
309 // Display dialog to user
319 // Check for list of storage users and display dialog if needed.
327 public void onCancel(DialogInterface dialog) { argument
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java97 public void onClick(DialogInterface dialog, int which) { argument
H A DManageDialog.java121 public void onClick(DialogInterface dialog, int which) { 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/core/java/android/app/
H A DDatePickerDialog.java34 * A simple dialog containing an {@link android.widget.DatePicker}.
68 * @param context The context the dialog is to run in.
70 * @param year The initial year of the dialog.
71 * @param monthOfYear The initial month of the dialog.
72 * @param dayOfMonth The initial day of the dialog.
83 * @param context The context the dialog is to run in.
84 * @param theme the theme to apply to this dialog
86 * @param year The initial year of the dialog.
87 * @param monthOfYear The initial month of the dialog.
88 * @param dayOfMonth The initial day of the dialog
115 onClick(DialogInterface dialog, int which) argument
[all...]
H A DTimePickerDialog.java31 * A dialog that prompts the user for the time of day using a {@link TimePicker}.
79 * @param theme the theme to apply to this dialog
114 public void onClick(DialogInterface dialog, int which) { argument
H A DDialogFragment.java32 * 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 are 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
443 onCancel(DialogInterface dialog) argument
446 onDismiss(DialogInterface dialog) argument
[all...]
H A DSearchManager.java55 * <p>For more information about using the search dialog and adding search
621 * the search dialog. Made available for testing purposes.
725 public void onCancel(DialogInterface dialog) { argument
735 public void onDismiss(DialogInterface dialog) { argument
H A DDialog.java62 * that managed this dialog.
124 * Create a Dialog window that uses the default dialog frame style.
135 * Create a Dialog window that uses a custom dialog style.
144 * <var>context</var>. If 0, the default dialog theme will be used.
197 * Retrieve the {@link ActionBar} attached to this dialog, if present.
199 * @return The ActionBar attached to the dialog or null if no ActionBar is present.
206 * Sets the Activity that owns this dialog. An example use: This Dialog will
209 * @param activity The Activity that owns this dialog.
220 * Activity will be the owner (by default). Depending on how this dialog was
230 * @return Whether the dialog i
1218 ListenersHandler(Dialog dialog) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceScreen.java167 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId());
169 dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE);
171 dialog.setTitle(title);
173 dialog.setContentView(childPrefScreen);
174 dialog.setOnDismissListener(this);
176 dialog.onRestoreInstanceState(state);
180 getPreferenceManager().addPreferencesScreen(dialog);
182 dialog.show();
185 public void onDismiss(DialogInterface dialog) { argument
187 getPreferenceManager().removePreferencesScreen(dialog);
[all...]
H A DDialogPreference.java40 * dialog-based. These preferences will, when clicked, open a dialog showing the
62 /** The dialog, if it is showing. */
94 * Sets the title of the dialog. This will be shown on subsequent dialogs.
104 * @param dialogTitleResId The dialog title as a resource.
119 * Sets the message of the dialog. This will be shown on subsequent dialogs.
121 * This message forms the content View of the dialog and conflicts with
122 * list-based dialogs, for example. If setting a custom View on a dialog via
134 * @param dialogMessageResId The dialog message as a resource.
149 * Sets the icon of the dialog
324 requestInputMethod(Dialog dialog) argument
374 onClick(DialogInterface dialog, int which) argument
378 onDismiss(DialogInterface dialog) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DPlugin.java200 // Show a simple popup dialog containing the description
217 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/core/java/com/android/internal/os/storage/
H A DExternalStorageFormatter.java122 public void onCancel(DialogInterface dialog) { argument
/frameworks/base/services/java/com/android/server/pm/
H A DShutdownThread.java96 * @param context Context used to display the shutdown progress dialog.
127 final AlertDialog dialog = new AlertDialog.Builder(context)
133 public void onClick(DialogInterface dialog, int which) {
139 closer.dialog = dialog;
140 dialog.setOnDismissListener(closer);
141 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
142 dialog.show();
151 public Dialog dialog; field in class:ShutdownThread.CloseDialogReceiver
161 dialog
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DDialogFragment.java42 * normal dialog.
55 * is entirely responsible for drawing the dialog.
61 * {@link #STYLE_NO_FRAME}, but also disables all input to the dialog.
89 * fragment's dialog. This can be used for some common dialog behaviors,
112 * Display the dialog, adding the fragment to the given FragmentManager. This
131 * Display the dialog, adding the fragment using an existing transaction
149 * Dismiss the fragment and its dialog. If the fragment was added to the
208 * @param cancelable If true, the dialog is cancelable. The default
224 * Controls whether this fragment should be shown in a dialog
340 onCancel(DialogInterface dialog) argument
343 onDismiss(DialogInterface dialog) argument
[all...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipHelper.java312 public ClientTransaction sendReinvite(Dialog dialog, argument
315 Request request = dialog.createRequest(Request.INVITE);
330 dialog.sendRequest(clientTransaction);
426 public void sendInviteAck(ResponseEvent event, Dialog dialog) argument
431 Request ack = dialog.createAck(cseq);
433 dialog.sendAck(ack);
436 public void sendBye(Dialog dialog) throws SipException { argument
437 Request byeRequest = dialog.createRequest(Request.BYE);
439 dialog.sendRequest(mSipProvider.getNewClientTransaction(byeRequest));
465 public void sendReferNotify(Dialog dialog, Strin argument
532 getCallId(Dialog dialog) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSpinner.java55 * Use a dialog window for selecting spinner options.
604 public void onClick(DialogInterface dialog, int which) { argument
606 dialog.dismiss();
622 * Sets the prompt to display when the dialog is shown.
630 * Sets the prompt to display when the dialog is shown.
631 * @param promptId the resource ID of the prompt to display when the dialog is shown
638 * @return The prompt to display when the dialog is shown
857 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java61 * Helper to show the global actions dialog. Each item is an {@link Action} that
122 * Show the global actions dialog (creating if necessary)
131 // Show delayed, so that the dismiss of the previous dialog completes
147 * Create the global actions dialog.
148 * @return A new dialog.
168 // Launch ECM exit dialog
278 final AlertDialog dialog = ab.create();
279 dialog.getListView().setItemsCanFocus(true);
280 dialog.getListView().setLongClickable(true);
281 dialog
321 onDismiss(DialogInterface dialog) argument
328 onClick(DialogInterface dialog, int which) argument
[all...]

Completed in 290 milliseconds

12