Searched refs:dialog (Results 1 - 25 of 42) sorted by relevance

12

/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/android/preference/
H A DPreferenceScreen.java153 Dialog dialog = mDialog = new Dialog(context, TextUtils.isEmpty(title)
156 dialog.setContentView(listView);
158 dialog.setTitle(title);
160 dialog.setOnDismissListener(this);
162 dialog.onRestoreInstanceState(state);
166 getPreferenceManager().addPreferencesScreen(dialog);
168 dialog.show();
171 public void onDismiss(DialogInterface dialog) { argument
173 getPreferenceManager().removePreferencesScreen(dialog);
177 * Used to get a handle to the 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
322 requestInputMethod(Dialog dialog) argument
374 onClick(DialogInterface dialog, int which) argument
378 onDismiss(DialogInterface dialog) argument
[all...]
H A DListPreference.java30 * a dialog.
193 public void onClick(DialogInterface dialog, int which) {
198 * click, and dismisses the dialog.
200 ListPreference.this.onClick(dialog, DialogInterface.BUTTON_POSITIVE);
201 dialog.dismiss();
207 * click-on-an-item dismiss the dialog instead of the user having to
H A DVolumePreference.java48 /** May be null if the dialog isn't visible. */
74 // dialog doesn't also show the normal volume adjust toast.
122 Dialog dialog = getDialog();
123 if (dialog != null && dialog.isShowing()) {
124 View view = dialog.getWindow().getDecorView()
127 // Stopped while dialog was showing, revert changes
/frameworks/base/core/java/android/app/
H A DProgressDialog.java37 * <p>A dialog showing a progress indicator and an optional text message or view.
39 * <p>The dialog can be made cancelable on back key press.</p>
101 ProgressDialog dialog = new ProgressDialog(context);
102 dialog.setTitle(title);
103 dialog.setMessage(message);
104 dialog.setIndeterminate(indeterminate);
105 dialog.setCancelable(cancelable);
106 dialog.setOnCancelListener(cancelListener);
107 dialog.show();
108 return dialog;
[all...]
H A DAlertDialog.java37 * display a String in this dialog box, use the setMessage() method. If you
49 * any views in the dialog return true from {@link View#onCheckIsTextEditor()
75 * Gets one of the buttons used in the dialog.
77 * If a button does not exist in the dialog, null will be returned.
82 * @return The button from the dialog, or null if a button does not exist.
89 * Gets the list view used in the dialog.
91 * @return The {@link ListView} from the dialog.
115 * Set the view to display in that dialog.
122 * Set the view to display in that dialog, specifying the spacing to appear around that
125 * @param view The view to show in the content area of the dialog
[all...]
H A DSearchManager.java54 * <p>For a guide to using the search dialog and adding search
382 * the search dialog will take no action.
566 * the search dialog. Made available for testing purposes.
670 public void onCancel(DialogInterface dialog) { argument
680 public void onDismiss(DialogInterface dialog) { argument
H A DDatePickerDialog.java37 * A simple dialog containing an {@link android.widget.DatePicker}.
75 * @param context The context the dialog is to run in.
77 * @param year The initial year of the dialog.
78 * @param monthOfYear The initial month of the dialog.
79 * @param dayOfMonth The initial day of the dialog.
91 * @param context The context the dialog is to run in.
92 * @param theme the theme to apply to this dialog
94 * @param year The initial year of the dialog.
95 * @param monthOfYear The initial month of the dialog.
96 * @param dayOfMonth The initial day of the dialog
143 onClick(DialogInterface dialog, int which) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java44 * Shows menu as a dialog.
55 // Get the builder for the dialog
89 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { argument
112 dialog.dismiss();
126 * Dismisses the menu's dialog.
136 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java148 public ButtonHandler(DialogInterface dialog) { argument
149 mDialog = new WeakReference<DialogInterface>(dialog);
231 * Set the view to display in the dialog.
239 * Set the view to display in the dialog along with the spacing around that view
734 * @param listView The ListView that will be shown in the dialog.
745 public void apply(AlertController dialog) { argument
747 dialog.setCustomTitle(mCustomTitleView);
750 dialog.setTitle(mTitle);
753 dialog.setIcon(mIcon);
756 dialog
800 createListView(final AlertController dialog) argument
[all...]
H A DShutdownThread.java85 * @param context Context used to display the shutdown progress dialog.
101 final AlertDialog dialog = new AlertDialog.Builder(context)
106 public void onClick(DialogInterface dialog, int which) {
112 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
115 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
117 dialog.show();
128 * @param context Context used to display the shutdown progress dialog.
147 // throw up an indeterminate system dialog to indicate radio is
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.java33 * requests. It uses the alert dialog style. It will be launched from a notification.
67 // Set up the "dialog"
101 public void onClick(DialogInterface dialog, int which) { argument
H A DRingtonePickerActivity.java96 public void onClick(DialogInterface dialog, int which) {
225 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFileList.java131 public void onClick(DialogInterface dialog, int which) {
134 dialog.dismiss();
140 dialog.dismiss();
/frameworks/base/voip/java/com/android/server/sip/
H A DSipHelper.java279 public ClientTransaction sendReinvite(Dialog dialog, argument
282 Request request = dialog.createRequest(Request.INVITE);
290 dialog.sendRequest(clientTransaction);
385 public void sendInviteAck(ResponseEvent event, Dialog dialog) argument
390 Request ack = dialog.createAck(cseq);
392 dialog.sendAck(ack);
395 public void sendBye(Dialog dialog) throws SipException { argument
396 Request byeRequest = dialog.createRequest(Request.BYE);
398 dialog.sendRequest(mSipProvider.getNewClientTransaction(byeRequest));
439 Dialog dialog
468 getCallId(Dialog dialog) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java52 * Helper to show the global actions dialog. Each item is an {@link Action} that
99 * Show the global actions dialog (creating if necessary)
116 * Create the global actions dialog.
117 * @return A new dialog.
166 // Launch ECM exit dialog
226 final AlertDialog dialog = ab.create();
227 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
230 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
234 dialog.setOnDismissListener(this);
236 return dialog;
256 onDismiss(DialogInterface dialog) argument
261 onClick(DialogInterface dialog, int which) argument
[all...]
H A DLockPatternKeyguardView.java696 final AlertDialog dialog = new AlertDialog.Builder(mContext)
701 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
704 dialog.getWindow().setFlags(
708 dialog.show();
719 final AlertDialog dialog = new AlertDialog.Builder(mContext)
724 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
727 dialog.getWindow().setFlags(
731 dialog.show();
/frameworks/base/core/java/android/webkit/
H A DPlugin.java176 // Show a simple popup dialog containing the description
192 public void onClick(DialogInterface dialog, int which) { argument
H A DWebChromeClient.java89 * @param dialog True if the new window is meant to be a small dialog
104 public boolean onCreateWindow(WebView view, boolean dialog, argument
127 * Tell the client to display a javascript alert dialog. If the client
129 * dialog. If the client returns false, it will continue execution.
131 * @param url The url of the page requesting the dialog.
134 * @return boolean Whether the client will handle the alert dialog.
142 * Tell the client to display a confirm dialog to the user. If the client
144 * confirm dialog and call the appropriate JsResult method. If the
148 * @param url The url of the page requesting the dialog
[all...]
H A DCallbackProxy.java509 DialogInterface dialog,
534 DialogInterface dialog,
541 DialogInterface dialog,
548 DialogInterface dialog) {
583 DialogInterface dialog,
592 DialogInterface dialog,
600 DialogInterface dialog) {
626 DialogInterface dialog,
634 DialogInterface dialog,
1101 public BrowserFrame createWindow(boolean dialog, boolea 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
/frameworks/base/core/java/android/widget/
H A DSpinner.java266 public void onClick(DialogInterface dialog, int which) { argument
268 dialog.dismiss();
273 * Sets the prompt to display when the dialog is shown.
281 * Sets the prompt to display when the dialog is shown.
282 * @param promptId the resource ID of the prompt to display when the dialog is shown
289 * @return The prompt to display when the dialog is shown
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java141 public void onClick(DialogInterface dialog, int which) {
147 public void onClick(DialogInterface dialog, int which) {

Completed in 490 milliseconds

12