/packages/apps/Contacts/src/com/android/contacts/dialog/ |
H A D | IndeterminateProgressDialog.java | 17 package com.android.contacts.dialog; 28 * Indeterminate progress dialog wrapped up in a DialogFragment to work even when the device 30 * dialog. There is an additional parameter of the minimum amount of time to display the progress 31 * dialog even after a call to dismiss the dialog {@link #dismiss()} or 34 * To create and show the progress dialog, use 38 * To dismiss the dialog, use {@link #dismiss()} or {@link #dismissAllowingStateLoss()} on the 64 * Creates and shows an indeterminate progress dialog. Once the progress dialog is shown, it 65 * will be shown for at least the minDisplayTime (in milliseconds), so that the progress dialog 125 onDismiss(DialogInterface dialog) argument [all...] |
H A D | ClearFrequentsDialog.java | 17 package com.android.contacts.dialog; 36 /** Preferred way to show this dialog */ 38 ClearFrequentsDialog dialog = new ClearFrequentsDialog(); 39 dialog.show(fragmentManager, "clearFrequents"); 47 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | EditPinPreference.java | 63 Dialog dialog = getDialog(); 64 return dialog != null && dialog.isShowing(); 76 Dialog dialog = getDialog(); 77 if (dialog == null || !dialog.isShowing()) {
|
H A D | CredentialStorage.java | 63 * Action: old unlock dialog 236 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) 243 dialog.setOnDismissListener(this); 244 dialog.show(); 247 @Override public void onClick(DialogInterface dialog, int button) { argument 251 @Override public void onDismiss(DialogInterface dialog) { argument 306 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) 313 dialog.setOnDismissListener(this); 314 dialog.show(); 317 @Override public void onClick(DialogInterface dialog, in argument 321 onDismiss(DialogInterface dialog) argument 425 onClick(DialogInterface dialog, int button) argument 429 onDismiss(DialogInterface dialog) argument [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | Utils.java | 55 // Create (or recycle existing) and show disconnect dialog. 57 AlertDialog dialog, 60 if (dialog == null) { 61 dialog = new AlertDialog.Builder(context) 66 if (dialog.isShowing()) { 67 dialog.dismiss(); 71 dialog.setButton(DialogInterface.BUTTON_POSITIVE, 74 dialog.setTitle(title); 75 dialog.setMessage(message); 76 dialog 56 showDisconnectDialog(Context context, AlertDialog dialog, DialogInterface.OnClickListener disconnectListener, CharSequence title, CharSequence message) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EditResponseHelper.java | 55 public void onClick(DialogInterface dialog, int which) { argument 63 public void onClick(DialogInterface dialog, int which) { 79 AlertDialog dialog = new AlertDialog.Builder(mParent).setTitle( 84 mAlertDialog = dialog; 89 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | AsyncDialog.java | 32 * than half a second, a progress modal dialog is displayed. 53 * @param dialogStringId the id of the string to be shown in the dialog 74 // clear the dialog so any pending dialog.dismiss() call can be avoided 92 * Creates the Task with the specified string id to be shown in the dialog 97 // lazy initialization of progress dialog for loading attachments 105 * Initializes the progress dialog with its intended settings. 108 ProgressDialog dialog = new ProgressDialog(mActivity); 109 dialog.setIndeterminate(true); 110 dialog [all...] |
H A D | MiniPreferenceActivity.java | 38 AlertDialog dialog = builder.setMessage(getResources() 45 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { 46 public void onDismiss(DialogInterface dialog) { 56 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | GroupNameDialogFragment.java | 64 final AlertDialog dialog = builder.create(); 66 dialog.setOnShowListener(new OnShowListener() { 69 updateOkButtonState(dialog, editText); 83 updateOkButtonState(dialog, editText); 86 dialog.getWindow().setSoftInputMode( 88 return dialog; 91 /* package */ void updateOkButtonState(AlertDialog dialog, EditText editText) { argument 92 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE);
|
H A D | GroupDeletionDialogFragment.java | 29 * A dialog for deleting a group. 39 GroupDeletionDialogFragment dialog = new GroupDeletionDialogFragment(); 44 dialog.setArguments(args); 45 dialog.show(fragmentManager, "deleteGroup"); 59 public void onClick(DialogInterface dialog, int whichButton) {
|
H A D | GroupCreationDialogFragment.java | 29 * A dialog for creating a new group. 47 GroupCreationDialogFragment dialog = new GroupCreationDialogFragment(listener); 52 dialog.setArguments(args); 53 dialog.show(fragmentManager, FRAGMENT_TAG);
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
H A D | YesCancelDialogBuilder.java | 10 * Alert dialog builder that builds a simple Yes/Cancel dialog. 19 public void onClick(DialogInterface dialog, int which) { 26 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | TimeConsumingPreferenceActivity.java | 31 public void onClick(DialogInterface dialog, int which) { argument 32 dialog.dismiss(); 37 public void onClick(DialogInterface dialog, int which) { argument 38 dialog.dismiss(); 61 ProgressDialog dialog = new ProgressDialog(this); 62 dialog.setTitle(getText(R.string.updating_title)); 63 dialog.setIndeterminate(true); 67 dialog.setCancelable(true); 68 dialog.setOnCancelListener(this); 69 dialog 189 onCancel(DialogInterface dialog) argument [all...] |
H A D | SipCallOptionHandler.java | 59 * user, but in other cases it may (by bringing up a dialog if the user's 107 // call options dialog (if necessary). 215 for (Dialog dialog : mDialogs) { 216 if (dialog != null) dialog.dismiss(); 222 Dialog dialog; 225 dialog = new AlertDialog.Builder(this) 234 dialog = new AlertDialog.Builder(this) 241 addMakeDefaultCheckBox(dialog); 244 dialog 282 addMakeDefaultCheckBox(Dialog dialog) argument 307 onClick(DialogInterface dialog, int id) argument 340 onCancel(DialogInterface dialog) argument [all...] |
H A D | NetworkSetting.java | 59 //dialog ids 199 public void onCancel(DialogInterface dialog) { argument 269 ProgressDialog dialog = new ProgressDialog(this); 272 // It would be more efficient to reuse this dialog by moving 277 dialog.setMessage(mNetworkSelectMsg); 278 dialog.setCancelable(false); 279 dialog.setIndeterminate(true); 282 dialog.setMessage(getResources().getString(R.string.register_automatically)); 283 dialog.setCancelable(false); 284 dialog 300 onPrepareDialog(int id, Dialog dialog) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | DialogManager.java | 63 * Called by a View to show a dialog. It has to pass itself and a Bundle with extra information. 101 final Dialog dialog = ((DialogShowingView)view).createDialog(bundle); 102 if (dialog == null) { 103 return dialog; 106 // As we will never re-use this dialog, we can completely kill it here 107 dialog.setOnDismissListener(new OnDismissListener() { 112 return dialog;
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | DeleteMessageConfirmationDialog.java | 31 * Confirmation dialog for deleting messages. 42 * Create a new dialog. 50 final DeleteMessageConfirmationDialog dialog = new DeleteMessageConfirmationDialog(); 53 dialog.setArguments(args); 55 dialog.setTargetFragment(callbackFragment, 0); 57 return dialog; 76 public void onClick(DialogInterface dialog, int which) { argument
|
H A D | InsertQuickResponseDialog.java | 60 * Create and returns new dialog. 67 final InsertQuickResponseDialog dialog = new InsertQuickResponseDialog(); 78 dialog.setTargetFragment(callbackFragment, 0); 83 dialog.setArguments(args); 84 return dialog; 100 // Now that Callback implementation is verified, build the dialog 138 public void onClick(DialogInterface dialog, int which) { argument 140 dialog.cancel();
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | AlertDialogs.java | 43 * Creates an alert dialog box.
71 final AlertDialog dialog = builder.create();
72 dialog.setCanceledOnTouchOutside(true);
73 return dialog;
77 * Creates a dialog with one edit text.
80 * @param title The title of the dialog
91 * @return The created dialog
127 final AlertDialog dialog = builder.create();
128 dialog.setCanceledOnTouchOutside(true);
134 dialog [all...] |
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
H A D | DialogSmsDisplay.java | 91 public void onCancel(DialogInterface dialog) { 92 dialog.dismiss(); 98 public void onClick(DialogInterface dialog, int whichButton) { 99 dialog.dismiss();
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
H A D | ClearCallLogDialog.java | 37 /** Preferred way to show this dialog */ 39 ClearCallLogDialog dialog = new ClearCallLogDialog(); 40 dialog.show(fragmentManager, "deleteCallLog"); 48 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSecurity.java | 74 * @param showDialog If true, a simple warning dialog will be shown before kicking off 90 * to give the user a dialog (for context) about a device pin/password expiration event. 126 PasswordExpirationDialog dialog = 129 dialog.show(fm, "password_expiration"); 137 // Show dialog first, unless already showing (e.g. after rotation) 140 SecurityNeededDialog dialog = 142 dialog.show(fm, "security_needed"); 304 * Create a new dialog. 307 final SecurityNeededDialog dialog = new SecurityNeededDialog(); 310 dialog 333 onClick(DialogInterface dialog, int which) argument 407 onClick(DialogInterface dialog, int which) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | SelectAccountDialogFragment.java | 32 * Shows a dialog asking the user which account to chose. 47 * Show the dialog. 83 public void onClick(DialogInterface dialog, int which) { 84 dialog.dismiss(); 97 public void onCancel(DialogInterface dialog) { argument 98 super.onCancel(dialog);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
H A D | SelectAccountActivity.java | 41 public void onClick(DialogInterface dialog, int which) { argument 44 public void onCancel(DialogInterface dialog) { argument 84 public void onClick(DialogInterface dialog, int which) { 85 dialog.dismiss();
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiAPITest.java | 111 public void onClick(DialogInterface dialog, int whichButton) { 118 public void onClick(DialogInterface dialog, int whichButton) { 131 public void onClick(DialogInterface dialog, int whichButton) { 138 public void onClick(DialogInterface dialog, int whichButton) {
|