Searched refs:dialog (Results 1 - 25 of 315) 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 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
66 return dialog;
70 public void onCancel(DialogInterface dialog) { argument
71 super.onCancel(dialog);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DErrorDialogActivity.java28 * Used to display an error dialog from within the Telecom service when an outgoing call fails
68 public void onClick(DialogInterface dialog, int which) {
75 public void onCancel(DialogInterface dialog) {
93 public void onClick(DialogInterface dialog, int which) {
99 public void onClick(DialogInterface dialog, int which) {
100 addVoiceMailNumberPanel(dialog);
104 public void onCancel(DialogInterface dialog) {
110 private void addVoiceMailNumberPanel(DialogInterface dialog) { argument
111 if (dialog != null) {
112 dialog
[all...]
/packages/services/Telephony/src/com/android/phone/
H A DErrorDialogActivity.java27 * Used to display an error dialog from within the Telephony service when an outgoing call fails
62 public void onClick(DialogInterface dialog, int which) {
68 public void onCancel(DialogInterface dialog) {
86 public void onClick(DialogInterface dialog, int which) {
91 public void onClick(DialogInterface dialog, int which) {
92 addVoiceMailNumberPanel(dialog);
96 public void onCancel(DialogInterface dialog) {
102 private void addVoiceMailNumberPanel(DialogInterface dialog) { argument
103 if (dialog != null) {
104 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
189 onCancel(DialogInterface dialog) argument
[all...]
/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);
H A DSecurityRequiredDialogFragment.java29 * The "security required" error dialog. This is presented whenever an exchange account
48 * Callback for the result of this dialog fragment
82 public void onClick(DialogInterface dialog, int which) {
92 public void onClick(DialogInterface dialog, int which) {
93 dialog.cancel();
100 public void onCancel(DialogInterface dialog) { argument
101 super.onCancel(dialog);
/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
/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/apps/Settings/src/com/android/settings/bluetooth/
H A DUtils.java57 // Create (or recycle existing) and show disconnect dialog.
59 AlertDialog dialog,
62 if (dialog == null) {
63 dialog = new AlertDialog.Builder(context)
68 if (dialog.isShowing()) {
69 dialog.dismiss();
73 dialog.setButton(DialogInterface.BUTTON_POSITIVE,
76 dialog.setTitle(title);
77 dialog.setMessage(message);
78 dialog
58 showDisconnectDialog(Context context, AlertDialog dialog, DialogInterface.OnClickListener disconnectListener, CharSequence title, CharSequence message) argument
[all...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DUserConsentDialog.java54 UserConsentDialog dialog = new UserConsentDialog();
57 dialog.setArguments(args);
58 return dialog;
68 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme);
69 dialog.setContentView(R.layout.learn_more_dialog);
70 dialog.setCanceledOnTouchOutside(false);
72 TextView text1 = (TextView) dialog.findViewById(R.id.learn_more_text1);
79 TextView linkText = (TextView) dialog.findViewById(R.id.learn_more_link);
102 Button positiveButton = (Button) dialog.findViewById(R.id.positive_button);
106 dialog
124 onCancel(DialogInterface dialog) argument
[all...]
/packages/services/Telephony/src/com/android/phone/settings/
H A DVoicemailDialogUtil.java29 // Voicemail dialog identifiers.
81 // not recoverable on dialog exit.
90 AlertDialog dialog = b.create();
92 // make the dialog more obvious by bluring the background.
93 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
95 return dialog;
98 ProgressDialog dialog = new ProgressDialog(parent);
99 dialog.setTitle(parent.getText(R.string.call_settings));
100 dialog.setIndeterminate(true);
101 dialog
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DAsyncDialog.java28 * than half a second, a progress modal dialog is displayed.
49 * @param dialogStringId the id of the string to be shown in the dialog
70 // clear the dialog so any pending dialog.dismiss() call can be avoided
88 * Creates the Task with the specified string id to be shown in the dialog
93 // lazy initialization of progress dialog for loading attachments
101 * Initializes the progress dialog with its intended settings.
104 ProgressDialog dialog = new ProgressDialog(mActivity);
105 dialog.setIndeterminate(true);
106 dialog
[all...]
H A DMiniPreferenceActivity.java35 AlertDialog dialog = builder.setMessage(getResources()
42 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
43 public void onDismiss(DialogInterface dialog) {
53 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);
H A DGroupDeletionDialogFragment.java29 * 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) {
/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/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;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
H A DSettingsLayoutActivity.java17 package com.android.tv.settings.dialog;
29 import com.android.tv.settings.dialog.SettingsLayoutFragment;
30 import com.android.tv.settings.dialog.Layout;
31 import com.android.tv.settings.dialog.Layout.Action;
32 import com.android.tv.settings.dialog.Layout.LayoutRow;
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DTrampolineActivity.java117 final PausedDialogFragment dialog = new PausedDialogFragment();
120 dialog.setArguments(args);
121 dialog.show(fm, TAG_PAUSED);
144 public void onClick(DialogInterface dialog, int which) {
153 public void onDismiss(DialogInterface dialog) { argument
154 super.onDismiss(dialog);
161 final FailedDialogFragment dialog = new FailedDialogFragment();
165 dialog.setArguments(args);
166 dialog.show(fm, TAG_FAILED);
205 public void onClick(DialogInterface dialog, in
222 onDismiss(DialogInterface dialog) argument
[all...]
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
H A DDialogSmsDisplay.java91 public void onCancel(DialogInterface dialog) {
92 dialog.dismiss();
98 public void onClick(DialogInterface dialog, int whichButton) {
99 dialog.dismiss();

Completed in 1131 milliseconds

1234567891011>>