/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 | PreferenceScreen.java | 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) { argument 194 getPreferenceManager().removePreferencesScreen(dialog); [all...] |
H A D | DialogPreference.java | 40 * 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...] |
H A D | VolumePreference.java | 48 /** May be null if the dialog isn't visible. */ 74 // dialog doesn't also show the normal volume adjust toast. 129 Dialog dialog = getDialog(); 130 if (dialog != null && dialog.isShowing()) { 131 View view = dialog.getWindow().getDecorView() 134 // Stopped while dialog was showing, revert changes
|
H A D | ListPreference.java | 30 * a dialog. 239 public void onClick(DialogInterface dialog, int which) { 244 * click, and dismisses the dialog. 246 ListPreference.this.onClick(dialog, DialogInterface.BUTTON_POSITIVE); 247 dialog.dismiss(); 253 * click-on-an-item dismiss the dialog instead of the user having to
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
H A D | FakeBackgroundService.java | 76 Dialog dialog = new Dialog(this, android.R.style.Theme_Holo_Dialog); 77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 78 dialog.getWindow().setFlags( 88 dialog.getWindow().setDimAmount(0); 89 dialog.getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, 91 WindowManager.LayoutParams lp = dialog.getWindow().getAttributes(); 97 dialog.getWindow().setAttributes(lp); 98 dialog.getWindow().setContentView(view); 99 dialog.show();
|
H A D | FakeApp.java | 110 Dialog dialog = builder.create(); 111 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 112 dialog.show();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/ |
H A D | NetworkOverLimitActivity.java | 60 public void onClick(DialogInterface dialog, int which) { 65 final Dialog dialog = builder.create(); 66 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { 67 public void onDismiss(DialogInterface dialog) { 72 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 73 dialog.show();
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 155 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 799 * @param listView The ListView that will be shown in the dialog. 810 public void apply(AlertController dialog) { argument 812 dialog.setCustomTitle(mCustomTitleView); 815 dialog.setTitle(mTitle); 818 dialog.setIcon(mIcon); 821 dialog 868 createListView(final AlertController dialog) argument [all...] |
H A D | ExternalMediaFormatActivity.java | 32 * 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
|
/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/core/java/android/app/ |
H A D | AlertDialog.java | 40 * display a String in this dialog box, use the setMessage() method. If you 52 * any views in the dialog return true from {@link View#onCheckIsTextEditor() 69 * the traditional (pre-Holo) alert dialog theme. 105 * to get the dialog's style (such as {@link android.R.attr#alertDialogTheme} 150 * Gets one of the buttons used in the dialog. 152 * If a button does not exist in the dialog, null will be returned. 157 * @return The button from the dialog, or null if a button does not exist. 164 * Gets the list view used in the dialog. 166 * @return The {@link ListView} from the dialog. 190 * Set the view to display in that dialog [all...] |
H A D | ProgressDialog.java | 38 * <p>A dialog showing a progress indicator and an optional text message or view. 40 * <p>The dialog can be made cancelable on back key press.</p> 110 ProgressDialog dialog = new ProgressDialog(context); 111 dialog.setTitle(title); 112 dialog.setMessage(message); 113 dialog.setIndeterminate(indeterminate); 114 dialog.setCancelable(cancelable); 115 dialog.setOnCancelListener(cancelListener); 116 dialog.show(); 117 return dialog; [all...] |
H A D | TimePickerDialog.java | 31 * 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
|
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipHelper.java | 312 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/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/ |
H A D | DirListActivity.java | 66 /** Code for the dialog, used in showDialog and onCreateDialog */ 283 Dialog dialog = null; 296 public void onClick(DialogInterface dialog, int which) { 305 public void onClick(DialogInterface dialog, int which) { 310 dialog = builder.create(); 311 dialog.setOnCancelListener(new DialogInterface.OnCancelListener() { 313 public void onCancel(DialogInterface dialog) { 320 return dialog; 332 /** Show progress dialog with a delay */
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebCoreThreadWatchdog.java | 170 // showing the user a prompt dialog. 182 // "page not responding" dialog to the user. Although the 193 // There's no active webview we can use to show the dialog, so 245 public void onClick(DialogInterface dialog, int which) { 253 public void onClick(DialogInterface dialog, int which) { 267 public void onCancel(DialogInterface dialog) {
|
H A D | Plugin.java | 200 // Show a simple popup dialog containing the description 217 public void onClick(DialogInterface dialog, int which) { argument
|
H A D | CallbackProxy.java | 588 DialogInterface dialog, 596 DialogInterface dialog) { 625 DialogInterface dialog, 632 DialogInterface dialog, 639 DialogInterface dialog) { 680 DialogInterface dialog, 689 DialogInterface dialog, 697 DialogInterface dialog) { 729 DialogInterface dialog, 737 DialogInterface dialog, 1243 createWindow(boolean dialog, boolean userGesture) argument [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | FileList.java | 132 public void onClick(DialogInterface dialog, int which) { 135 dialog.dismiss(); 141 dialog.dismiss();
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 76 * Helper to show the global actions dialog. Each item is an {@link Action} that 138 * Show the global actions dialog (creating if necessary) 147 // Show delayed, so that the dismiss of the previous dialog completes 179 * Create the global actions dialog. 180 * @return A new dialog. 200 // Launch ECM exit dialog 277 public void onClick(DialogInterface dialog, int which) { 279 // dialog a chance to go away before it takes a 292 AlertDialog dialog = builder.create(); 293 dialog 409 onDismiss(DialogInterface dialog) argument 416 onClick(DialogInterface dialog, int which) argument [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | RsBench.java | 106 public void onClick(DialogInterface dialog, int item) { 122 public void onClick(DialogInterface dialog, int item) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | UiccCard.java | 245 public void onClick(DialogInterface dialog, int which) { 266 AlertDialog dialog = new AlertDialog.Builder(mContext) 271 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 272 dialog.show();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
H A D | PowerUI.java | 157 // only play SFX when the dialog comes up or the bucket changes 212 public void onClick(DialogInterface dialog, int which) { 222 public void onDismiss(DialogInterface dialog) { 264 Slog.d(TAG, "showing invalid charger dialog"); 276 public void onDismiss(DialogInterface dialog) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbAccessoryUriActivity.java | 39 * show this dialog to the user to allow them to optionally visit that URL for more 60 // sanity check before displaying dialog 87 public void onClick(DialogInterface dialog, int which) { argument
|