Searched refs:dialog (Results 1 - 25 of 432) 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/StorageManager/src/com/android/storagemanager/automatic/
H A DWarningDialogActivity.java32 WarningDialogFragment dialog = WarningDialogFragment.newInstance();
33 dialog.show(getFragmentManager(), WarningDialogFragment.TAG);
/packages/apps/Contacts/src/com/android/contacts/dialog/
H A DIndeterminateProgressDialog.java17 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...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DSplitContactConfirmationDialogFragment.java29 * Shows a dialog asking the user whether to split the contact. The result is passed back
40 * Callbacks for the dialog host.
53 * Invoked if the user has canceled or dismissed the dialog without making a choice.
62 final SplitContactConfirmationDialogFragment dialog = new
64 dialog.setTargetFragment(fragment, 0);
65 dialog.setArguments(args);
66 dialog.show(fragment.getFragmentManager(), "splitContact");
89 public void onClick(DialogInterface dialog, int which) {
95 public void onClick(DialogInterface dialog, int which) {
96 onCancel(dialog);
110 onCancel(DialogInterface dialog) argument
[all...]
H A DJoinContactConfirmationDialogFragment.java28 * 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 DSuggestionEditConfirmationDialogFragment.java38 final SuggestionEditConfirmationDialogFragment dialog = new
40 dialog.setArguments(args);
41 dialog.setTargetFragment(fragment, 0);
42 dialog.show(fragment.getFragmentManager(), "edit");
53 public void onClick(DialogInterface dialog, int whichButton) {
/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...]
/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.java64 Dialog dialog = getDialog();
65 return dialog != null && dialog.isShowing();
77 Dialog dialog = getDialog();
78 if (dialog == null || !dialog.isShowing()) {
H A DRemoteBugreportActivity.java32 * 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 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/Dialer/java/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
65 public void onClick(DialogInterface dialog, int whichButton) {
73 public void onClick(DialogInterface dialog, int whichButton) {
74 dialog.cancel();
78 final AlertDialog dialog = builder.create();
79 return dialog;
83 public void onCancel(DialogInterface dialog) { argument
84 super.onCancel(dialog);
/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
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 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();
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 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/list/
H A DEnableGlobalSyncDialogFragment.java28 * Confirmation dialog for turning global auto-sync setting on.
36 * Callbacks for the dialog host.
52 final EnableGlobalSyncDialogFragment dialog = new
54 dialog.setTargetFragment(fragment, 0);
55 dialog.setArguments(args);
56 dialog.show(fragment.getFragmentManager(), "globalSync");
74 public void onClick(DialogInterface dialog, int which) {
/packages/apps/TV/src/com/android/tv/dialog/
H A DFullscreenDialogFragment.java17 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/Dialer/java/com/android/dialer/blocking/
H A DBlockReportSpamDialogs.java32 /** Helper class for creating block/report dialog fragments. */
40 /** Creates a dialog with the default cancel button listener (dismisses dialog). */
49 public void onClick(DialogInterface dialog, int which) {
63 public void onClick(DialogInterface dialog, int which) {
81 * Listener passed to block/report spam dialog for positive click in {@link
87 * Called when user clicks on positive button in block/report spam dialog.
94 /** Listener passed to all dialogs except the block/report spam dialog for positive click. */
97 /** Called when user clicks on positive button in the dialog. */
101 /** Contains the common attributes between all block/unblock/report dialog fragment
114 onDismiss(DialogInterface dialog) argument
[all...]
/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/bluetooth/
H A DForgetDeviceDialogFragment.java45 ForgetDeviceDialogFragment dialog = new ForgetDeviceDialogFragment();
46 dialog.setArguments(args);
47 return dialog;
65 DialogInterface.OnClickListener onConfirm = (dialog, which) -> {
74 AlertDialog dialog = new AlertDialog.Builder(context)
79 dialog.setTitle(R.string.bluetooth_unpair_dialog_title);
80 dialog.setMessage(context.getString(R.string.bluetooth_unpair_dialog_body,
82 return dialog;
/packages/apps/PackageInstaller/src/android/support/wearable/view/
H A DWearableDialogHelper.java123 * Applies the button icons setup in the helper to the buttons in the dialog.
129 * @param dialog the AlertDialog to style with the helper.
131 public void apply(@NonNull AlertDialog dialog) { argument
132 applyButton(dialog.getButton(DialogInterface.BUTTON_POSITIVE), getPositiveIcon());
133 applyButton(dialog.getButton(DialogInterface.BUTTON_NEGATIVE), getNegativeIcon());
134 applyButton(dialog.getButton(DialogInterface.BUTTON_NEUTRAL), getNeutralIcon());
204 final AlertDialog dialog = super.create();
205 dialog.create();
206 mHelper.apply(dialog);
207 return dialog;
[all...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DRemoteDeviceNameDialogFragmentTest.java75 * Helper method to set the mock device's name and show the dialog.
78 * @return the dialog created
89 AlertDialog dialog = startDialog(deviceName);
90 EditText editText = (EditText) dialog.findViewById(R.id.edittext);
95 Button positiveButton = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
97 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE);
105 AlertDialog dialog = startDialog(deviceNameInitial);
109 Button positiveButton = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
110 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE);
116 EditText editText = (EditText) dialog
[all...]
/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;

Completed in 3147 milliseconds

1234567891011>>