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

1234567891011>>

/packages/apps/UnifiedEmail/src/com/android/mail/
H A DMinTimeProgressDialog.java26 * 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/InCallUI/src/com/android/incallui/
H A DPostCharDialogFragment.java27 * Pop up an alert dialog with OK and Cancel buttons to allow user to Accept or Reject the WAIT
53 public void onClick(DialogInterface dialog, int whichButton) {
59 public void onClick(DialogInterface dialog, int whichButton) {
60 dialog.cancel();
64 final AlertDialog dialog = builder.create();
65 return dialog;
69 public void onCancel(DialogInterface dialog) { argument
70 super.onCancel(dialog);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DCheckSettingsProgressDialogFragment.java31 * 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...]
H A DAccountSetupNoteDialogFragment.java43 * Create the dialog with parameters
68 public void onClick(DialogInterface dialog, int which) {
78 public void onClick(DialogInterface dialog, int which) {
79 dialog.cancel();
86 public void onCancel(DialogInterface dialog) { argument
87 super.onCancel(dialog);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DDeleteManagedProfileDialog.java52 * @return initialized dialog
67 DeleteManagedProfileDialog dialog = new DeleteManagedProfileDialog();
68 dialog.setArguments(args);
69 return dialog;
98 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme);
99 dialog.setTitle(R.string.delete_profile_title);
100 dialog.setContentView(R.layout.delete_managed_profile_dialog);
101 dialog.setCanceledOnTouchOutside(false);
103 ImageView imageView = (ImageView) dialog.findViewById(
109 TextView deviceManagerName = (TextView) dialog
138 onCancel(DialogInterface dialog) argument
[all...]
H A DUserConsentDialog.java51 UserConsentDialog dialog = new UserConsentDialog();
54 dialog.setArguments(args);
55 return dialog;
65 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme);
66 dialog.setContentView(R.layout.learn_more_dialog);
67 dialog.setCanceledOnTouchOutside(false);
69 TextView text1 = (TextView) dialog.findViewById(R.id.learn_more_text1);
76 TextView textFrpWarning = (TextView) dialog.findViewById(R.id.learn_more_frp_warning);
83 TextView linkText = (TextView) dialog.findViewById(R.id.learn_more_link);
106 Button positiveButton = (Button) dialog
128 onCancel(DialogInterface dialog) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DEditResponseHelper.java52 * -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 DEditPinPreference.java63 Dialog dialog = getDialog();
64 return dialog != null && dialog.isShowing();
76 Dialog dialog = getDialog();
77 if (dialog == null || !dialog.isShowing()) {
H A DMonitoringCertInfoActivity.java33 * Activity that shows a dialog explaining that a CA cert is allowing someone to monitor network
67 final Dialog dialog = builder.create();
68 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
73 dialog.setOnCancelListener(new DialogInterface.OnCancelListener() {
74 @Override public void onCancel(DialogInterface dialog) {
79 dialog.show();
83 public void onClick(DialogInterface dialog, int which) { argument
H A DProfileSelectDialog.java38 ProfileSelectDialog dialog = new ProfileSelectDialog();
41 dialog.setArguments(args);
42 dialog.show(manager, "select_profile");
64 public void onClick(DialogInterface dialog, int which) { argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
H A DAccountsSettingsFragmentTests.java91 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 DIndeterminateProgressDialog.java17 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/services/Telecomm/src/com/android/server/telecom/components/
H A DErrorDialogActivity.java31 * Used to display an error dialog from within the Telecom service when an outgoing call fails
71 public void onClick(DialogInterface dialog, int which) {
78 public void onCancel(DialogInterface dialog) {
96 public void onClick(DialogInterface dialog, int which) {
102 public void onClick(DialogInterface dialog, int which) {
103 addVoiceMailNumberPanel(dialog);
107 public void onCancel(DialogInterface dialog) {
113 private void addVoiceMailNumberPanel(DialogInterface dialog) { argument
114 if (dialog != null) {
115 dialog
[all...]
/packages/services/Telephony/src/com/android/phone/
H A DErrorDialogActivity.java29 * 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 DTimeConsumingPreferenceActivity.java31 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
191 onCancel(DialogInterface dialog) argument
[all...]
/packages/services/Telephony/src/com/android/phone/settings/
H A DVoicemailDialogUtil.java28 // 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 DJoinSuggestedContactDialogFragment.java35 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 DSuggestionEditConfirmationDialogFragment.java36 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) {
H A DSplitContactConfirmationDialogFragment.java29 * Shows a dialog asking the user whether to split the contact. The result is passed back
38 SplitContactConfirmationDialogFragment dialog = new
40 dialog.setTargetFragment(fragment, 0);
41 dialog.show(fragment.getFragmentManager(), "splitContact");
52 public void onClick(DialogInterface dialog, int which) {
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupNameDialogFragment.java64 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 DSmsStorageLowWarningFragment.java61 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 DNoHomeDialogFragment.java28 final NoHomeDialogFragment dialog = new NoHomeDialogFragment();
29 dialog.show(parent.getFragmentManager(), null);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DSyncErrorDialogFragment.java51 public void onClick(DialogInterface dialog, int whichButton) {
52 dialog.dismiss();
59 public void onClick(DialogInterface dialog, int whichButton) {
64 dialog.dismiss();
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtils.java60 // Create (or recycle existing) and show disconnect dialog.
62 AlertDialog dialog,
65 if (dialog == null) {
66 dialog = new AlertDialog.Builder(context)
71 if (dialog.isShowing()) {
72 dialog.dismiss();
76 dialog.setButton(DialogInterface.BUTTON_POSITIVE,
79 dialog.setTitle(title);
80 dialog.setMessage(message);
81 dialog
61 showDisconnectDialog(Context context, AlertDialog dialog, DialogInterface.OnClickListener disconnectListener, CharSequence title, CharSequence message) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/
H A DDialogManager.java63 * 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;

Completed in 636 milliseconds

1234567891011>>