/packages/apps/UnifiedEmail/src/com/android/mail/ |
H A D | MinTimeProgressDialog.java | 26 * be dismissed before showing. Once visible, the dialog will be visible for at 76 // This covers the case where the dialog was not shown 77 // at all yet OR enough time of the dialog showing 87 * Dismiss the dialog, immediately if necessary. 89 * @param force If true, dismiss the dialog right away. 107 public void onShow(DialogInterface dialog) { argument 108 // When the dialog is actually shown, start the timer. 119 MinTimeProgressDialog dialog = new MinTimeProgressDialog(context); 120 dialog.setTitle(title); 121 dialog [all...] |
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
H A D | WarningDialogActivity.java | 32 WarningDialogFragment dialog = WarningDialogFragment.newInstance(); 33 dialog.show(getFragmentManager(), WarningDialogFragment.TAG);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | CheckSettingsProgressDialogFragment.java | 31 * Simple dialog that shows progress as we work through the settings checks. 53 * Create a dialog that reports progress 65 * Update the progress of an existing dialog 70 final AlertDialog dialog = (AlertDialog) getDialog(); 71 if (dialog != null && mProgressString != null) { 72 dialog.setMessage(mProgressString); 92 final ProgressDialog dialog = new ProgressDialog(context); 93 dialog.setIndeterminate(true); 94 dialog.setMessage(mProgressString); 95 dialog 111 onCancel(DialogInterface dialog) argument [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
H A D | DeleteManagedProfileDialog.java | 56 * @return initialized dialog 71 DeleteManagedProfileDialog dialog = new DeleteManagedProfileDialog(); 72 dialog.setArguments(args); 73 return dialog; 101 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme); 102 dialog.setTitle(R.string.delete_profile_title); 103 dialog.setContentView(R.layout.delete_managed_profile_dialog); 104 dialog.setCanceledOnTouchOutside(false); 106 SystemBarHelper.hideSystemBars(dialog); 109 ImageView imageView = (ImageView) dialog 144 onCancel(DialogInterface dialog) argument [all...] |
H A D | UserConsentDialog.java | 69 UserConsentDialog dialog = new UserConsentDialog(); 73 dialog.setArguments(args); 74 return dialog; 85 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme); 86 dialog.setContentView(R.layout.learn_more_dialog); 87 dialog.setCanceledOnTouchOutside(false); 89 SystemBarHelper.hideSystemBars(dialog); 92 final TextView learnMoreMsg = (TextView) dialog.findViewById(R.id.learn_more_text1); 93 final TextView linkText = (TextView) dialog.findViewById(R.id.learn_more_link); 94 final TextView textFrpWarning = (TextView) dialog 160 onCancel(DialogInterface dialog) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EditResponseHelper.java | 52 * -1 means no choice selected, or the dialog was 66 public void onClick(DialogInterface dialog, int which) { argument 71 public void onDismiss(DialogInterface dialog) { argument 73 // that the dialog was canceled. 81 mDismissListener.onDismiss(dialog); 99 public void onClick(DialogInterface dialog, int which) { 113 * Set the dismiss listener to be called when the dialog is ended. There, 114 * use getWhichEvents() to see how the dialog was dismissed; if it returns 115 * -1, the dialog was canceled out. If it is not -1, it's the index of 129 AlertDialog dialog [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | EditPinPreference.java | 62 Dialog dialog = getDialog(); 63 return dialog != null && dialog.isShowing(); 75 Dialog dialog = getDialog(); 76 if (dialog == null || !dialog.isShowing()) {
|
H A D | RemoteBugreportActivity.java | 32 * UI for the remote bugreport dialog. Shows one of 3 possible dialogs: 51 AlertDialog dialog = new AlertDialog.Builder(this) 55 public void onDismiss(DialogInterface dialog) { 61 public void onClick(DialogInterface dialog, int which) { 66 dialog.show(); 70 AlertDialog dialog = new AlertDialog.Builder(this) 78 public void onDismiss(DialogInterface dialog) { 85 public void onClick(DialogInterface dialog, int which) { 96 public void onClick(DialogInterface dialog, int which) { 105 dialog [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
H A D | AccountsSettingsFragmentTests.java | 91 final AlertDialog dialog = initDialog(fragment, null).mDialog; 92 final ListView lv = dialog.getListView(); 103 final AlertDialog dialog = initDialog(fragment, null).mDialog; 104 final ListView lv = dialog.getListView(); 112 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); 114 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); 116 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); 124 final AlertDialog dialog = initDialog(fragment, "3@example.com").mDialog; 125 final ListView lv = dialog.getListView(); 133 dialog [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/ |
H A D | IndeterminateProgressDialog.java | 17 package com.android.contacts.common.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...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | PostCharDialogFragment.java | 29 * Pop up an alert dialog with OK and Cancel buttons to allow user to Accept or Reject the WAIT 66 public void onClick(DialogInterface dialog, int whichButton) { 72 public void onClick(DialogInterface dialog, int whichButton) { 73 dialog.cancel(); 77 final AlertDialog dialog = builder.create(); 78 return dialog; 82 public void onCancel(DialogInterface dialog) { argument 83 super.onCancel(dialog);
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
H A D | ErrorDialogActivity.java | 31 * Used to display an error dialog from within the Telecom service when an outgoing call fails 75 public void onClick(DialogInterface dialog, int which) { 82 public void onCancel(DialogInterface dialog) { 105 public void onClick(DialogInterface dialog, int which) { 111 public void onClick(DialogInterface dialog, int which) { 112 addVoiceMailNumberPanel(dialog); 116 public void onCancel(DialogInterface dialog) { 122 private void addVoiceMailNumberPanel(DialogInterface dialog) { argument 123 if (dialog != null) { 124 dialog [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | ErrorDialogActivity.java | 29 * Used to display an error dialog from within the Telephony service when an outgoing call fails 64 public void onClick(DialogInterface dialog, int which) { 70 public void onCancel(DialogInterface dialog) { 88 public void onClick(DialogInterface dialog, int which) { 93 public void onClick(DialogInterface dialog, int which) { 94 addVoiceMailNumberPanel(dialog); 98 public void onCancel(DialogInterface dialog) { 104 private void addVoiceMailNumberPanel(DialogInterface dialog) { argument 105 if (dialog != null) { 106 dialog [all...] |
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(); 64 ProgressDialog dialog = new ProgressDialog(this); 65 dialog.setTitle(getText(R.string.updating_title)); 66 dialog.setIndeterminate(true); 70 dialog.setCancelable(true); 71 dialog.setOnCancelListener(this); 72 dialog 207 onCancel(DialogInterface dialog) argument [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | VoicemailDialogUtil.java | 28 // Voicemail dialog identifiers. 87 // not recoverable on dialog exit. 96 AlertDialog dialog = b.create(); 98 // make the dialog more obvious by bluring the background. 99 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); 101 return dialog; 104 ProgressDialog dialog = new ProgressDialog(parent); 105 dialog.setTitle(parent.getText(R.string.call_settings)); 106 dialog.setIndeterminate(true); 107 dialog [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | JoinContactConfirmationDialogFragment.java | 28 * Shows a dialog asking the user whether to apply pending changes before joining the contact. 35 * Callbacks for the host of this dialog fragment. 55 final JoinContactConfirmationDialogFragment dialog = new 57 dialog.setTargetFragment(fragment, 0); 58 dialog.setArguments(args); 59 dialog.show(fragment.getFragmentManager(), "joinContactConfirmationDialog"); 77 public void onClick(DialogInterface dialog, int which) {
|
H A D | JoinSuggestedContactDialogFragment.java | 35 final JoinSuggestedContactDialogFragment dialog = new JoinSuggestedContactDialogFragment(); 36 dialog.setArguments(args); 37 dialog.setTargetFragment(fragment, 0); 38 dialog.show(fragment.getFragmentManager(), "join"); 49 public void onClick(DialogInterface dialog, int whichButton) {
|
H A D | SplitContactConfirmationDialogFragment.java | 29 * Shows a dialog asking the user whether to split the contact. The result is passed back 39 * Callbacks for the dialog host. 56 final SplitContactConfirmationDialogFragment dialog = new 58 dialog.setTargetFragment(fragment, 0); 59 dialog.setArguments(args); 60 dialog.show(fragment.getFragmentManager(), "splitContact"); 82 public void onClick(DialogInterface dialog, int which) {
|
H A D | SuggestionEditConfirmationDialogFragment.java | 36 final SuggestionEditConfirmationDialogFragment dialog = new 38 dialog.setArguments(args); 39 dialog.setTargetFragment(fragment, 0); 40 dialog.show(fragment.getFragmentManager(), "edit"); 51 public void onClick(DialogInterface dialog, int whichButton) {
|
/packages/apps/TV/src/com/android/tv/dialog/ |
H A D | FullscreenDialogFragment.java | 17 package com.android.tv.dialog; 56 FullscreenDialog dialog = 63 dialog.setContentView(v); 65 mDialogView.initialize((MainActivity) getActivity(), dialog); 66 return dialog; 108 * Called after the view is inflated and attached to the dialog. 110 void initialize(MainActivity activity, Dialog dialog); argument
|
/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);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | SmsStorageLowWarningFragment.java | 61 final ChooseActionDialogFragment dialog = ChooseActionDialogFragment.newInstance(); 62 dialog.setTargetFragment(this, 0/*requestCode*/); 63 dialog.show(ft, null/*tag*/); 73 final ConfirmationDialog dialog = ConfirmationDialog.newInstance(actionIndex); 74 dialog.setTargetFragment(this, 0/*requestCode*/); 75 dialog.show(ft, null/*tag*/); 79 * The dialog is cancelled at any step 86 * The dialog to show for user to choose what delete actions to take when storage is low 110 public void onClick(DialogInterface dialog, int id) { 111 dialog 121 onCancel(final DialogInterface dialog) argument 173 onCancel(final DialogInterface dialog) argument [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/ |
H A D | NoHomeDialogFragment.java | 29 final NoHomeDialogFragment dialog = new NoHomeDialogFragment(); 30 dialog.show(parent.getFragmentManager(), null);
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
H A D | SetupSkipDialog.java | 39 SetupSkipDialog dialog = new SetupSkipDialog(); 42 dialog.setArguments(args); 43 return dialog; 63 public void onClick(DialogInterface dialog, int button) { argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SyncErrorDialogFragment.java | 51 public void onClick(DialogInterface dialog, int whichButton) { 52 dialog.dismiss(); 59 public void onClick(DialogInterface dialog, int whichButton) { 64 dialog.dismiss();
|