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

12345

/packages/apps/Settings/src/com/android/settings/vpn/
H A DVpnProfileActor.java30 * Returns true if a connect dialog is needed before establishing a
36 * Creates the view in the connect dialog.
41 * Validates the inputs in the dialog.
42 * @param dialog the connect dialog
45 String validateInputs(Dialog dialog); argument
49 * @param dialog the connect dialog
51 void connect(Dialog dialog); argument
/packages/apps/Phone/src/com/android/phone/
H A DTimeConsumingPreferenceActivity.java40 ProgressDialog dialog = new ProgressDialog(this);
41 dialog.setTitle(getText(R.string.updating_title));
42 dialog.setIndeterminate(true);
46 dialog.setCancelable(true);
47 dialog.setOnCancelListener(this);
48 dialog.setMessage(getText(R.string.reading_settings));
49 return dialog;
51 dialog.setCancelable(false);
52 dialog.setMessage(getText(R.string.updating_settings));
53 return dialog;
110 onClick(DialogInterface dialog, int which) argument
154 onCancel(DialogInterface dialog) argument
[all...]
H A DNetworkSetting.java58 //dialog ids
198 public void onCancel(DialogInterface dialog) { argument
268 ProgressDialog dialog = new ProgressDialog(this);
271 // It would be more efficient to reuse this dialog by moving
276 dialog.setMessage(mNetworkSelectMsg);
277 dialog.setCancelable(false);
278 dialog.setIndeterminate(true);
281 dialog.setMessage(getResources().getString(R.string.register_automatically));
282 dialog.setCancelable(false);
283 dialog
299 onPrepareDialog(int id, Dialog dialog) argument
[all...]
H A DEditPinPreference.java33 * for the dialog.
58 * Overridden to setup the correct dialog layout, as well as setting up
63 // set the dialog layout
66 View dialog = super.onCreateDialogView();
74 return dialog;
105 * Externally visible method to bring up the dialog to
106 * for multi-step / multi-dialog requests (like changing
H A DEmergencyCallHandler.java69 public ProgressDialog dialog; field in class:EmergencyCallHandler.EmergencyCallInfo
89 eci.dialog.dismiss();
98 eci.dialog.dismiss();
117 eci.dialog = constructDialog(retryCount);
182 * create the dialog and hand it back to caller.
190 // create a system dialog that will persist outside this activity.
199 // show the dialog
H A DEmergencyCallbackModeExitDialog.java48 * Displays dialog that enables users to exit Emergency Callback Mode
54 /** Intent to trigger the Emergency Callback Mode exit dialog */
98 // Register receiver for intent closing the dialog
157 // Show dialog
167 * Shows Emergency Callback Mode dialog and starts countdown timer
200 * Creates dialog that enables users to exit Emergency Callback Mode
214 public void onClick(DialogInterface dialog,int whichButton) {
218 // Show progress dialog
225 public void onClick(DialogInterface dialog, int whichButton) {
242 public void onClick(DialogInterface dialog, in
287 onDismiss(DialogInterface dialog) argument
[all...]
H A DEmergencyDialer.java115 private String mLastNumber; // last number we tried to dial. Used to restore error dialog.
514 // erase the number and throw up an alert dialog.
569 AlertDialog dialog = null;
571 // construct dialog
572 dialog = new AlertDialog.Builder(this)
578 // blur stuff behind the dialog
579 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
581 return dialog;
585 protected void onPrepareDialog(int id, Dialog dialog) { argument
586 super.onPrepareDialog(id, dialog);
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DEditPinPreference.java65 Dialog dialog = getDialog();
66 return dialog != null && dialog.isShowing();
78 Dialog dialog = getDialog();
79 if (dialog == null || !dialog.isShowing()) {
H A DSecuritySettings.java393 public void onClick(DialogInterface dialog, int button) { argument
400 public void onDismiss(DialogInterface dialog) { argument
403 if (!checkPassword((Dialog) dialog)) {
404 ((Dialog) dialog).show();
415 private boolean checkPassword(Dialog dialog) { argument
416 String oldPassword = getText(dialog, R.id.old_password);
417 String newPassword = getText(dialog, R.id.new_password);
418 String confirmPassword = getText(dialog, R.id.confirm_password);
421 showError(dialog, R.string.credentials_password_empty);
424 return !checkError(dialog, unloc
441 checkError(Dialog dialog, int error) argument
464 getText(Dialog dialog, int viewId) argument
470 showError(Dialog dialog, int stringId, Object... formatArgs) argument
[all...]
H A DAccessibilitySettings.java217 AlertDialog dialog = (new AlertDialog.Builder(this))
224 public void onClick(DialogInterface dialog, int which) {
232 public void onClick(DialogInterface dialog, int which) {
237 dialog.show();
249 AlertDialog dialog = (new AlertDialog.Builder(this))
258 public void onClick(DialogInterface dialog, int which) {
265 public void onClick(DialogInterface dialog, int which) {
270 dialog.show();
347 public void onClick(DialogInterface dialog, int which) {
360 public void onClick(DialogInterface dialog, in
[all...]
H A DUserDictionarySettings.java70 /** The word being edited in the dialog (null means the user is adding a word). */
212 AlertDialog dialog = new AlertDialog.Builder(this)
218 public void onClick(DialogInterface dialog, int which) {
223 public void onClick(DialogInterface dialog, int which) {
227 dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE |
229 return dialog;
234 AlertDialog dialog = (AlertDialog) d;
238 EditText editText = (EditText) dialog.findViewById(R.id.edittext);
H A DDevelopmentSettings.java46 // To track whether Yes was clicked in the adb warning dialog
114 public void onClick(DialogInterface dialog, int which) { argument
124 public void onDismiss(DialogInterface dialog) { argument
H A DSettingsSafetyLegalActivity.java35 * The "dialog" that shows from "Safety information" in the Settings app.
110 public void onClick(DialogInterface dialog, int whichButton) { argument
114 public void onCancel(DialogInterface dialog) { argument
/packages/apps/Calendar/src/com/android/calendar/
H A DEditResponseHelper.java51 public void onClick(DialogInterface dialog, int which) { argument
59 public void onClick(DialogInterface dialog, int which) {
75 AlertDialog dialog = new AlertDialog.Builder(mParent)
83 mAlertDialog = dialog;
88 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
H A DDeleteEventHelper.java35 * deletion, then this pops up a confirmation dialog. If the user confirms,
39 * If a repeating event is selected for deletion, then this pops up dialog
108 public void onClick(DialogInterface dialog, int button) {
123 public void onClick(DialogInterface dialog, int button) {
138 public void onClick(DialogInterface dialog, int button) {
147 * first popping up a dialog asking for confirmation (if the event is
148 * a normal event) or a dialog asking which events to delete (if the
208 // If this is a repeating event, then pop up a dialog asking the
213 // This is a normal event. Pop up a confirmation dialog.
222 // This is a repeating event. Pop up a dialog askin
[all...]
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiAPITest.java111 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) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DPackageInstallerActivity.java44 * The package is first parsed and the user is notified of parse errors via a dialog.
48 * a confirmation dialog (to replace the existing package) is presented to the user.
99 // TODO better fix for this? Remove dialog so that it gets created again
116 public void onClick(DialogInterface dialog, int which) {
120 public void onClick(DialogInterface dialog, int which) {
132 public void onClick(DialogInterface dialog, int which) {
137 public void onClick(DialogInterface dialog, int which) {
149 public void onClick(DialogInterface dialog, int which) {
164 public void onClick(DialogInterface dialog, int which) {
172 public void onClick(DialogInterface dialog, in
269 onCancel(DialogInterface dialog) argument
[all...]
H A DUninstallerActivity.java66 public void onClick(DialogInterface dialog, int which) {
75 // Display uninstall failed dialog
82 public void onClick(DialogInterface dialog, int which) {
153 public void onCancel(DialogInterface dialog) { argument
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCertInstaller.java141 ProgressDialog dialog = new ProgressDialog(this);
142 dialog.setMessage(getString(R.string.extracting_pkcs12));
143 dialog.setIndeterminate(true);
144 dialog.setCancelable(false);
145 return dialog;
153 protected void onPrepareDialog (int dialogId, Dialog dialog) { argument
154 super.onPrepareDialog(dialogId, dialog);
276 public void onClick(DialogInterface dialog, int which) { argument
286 public void onDismiss(DialogInterface dialog) {
327 public void onDismiss(DialogInterface dialog) {
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DLatinIMESettings.java107 // If turning on voice input, show dialog
134 public void onClick(DialogInterface dialog, int whichButton) {
152 // the current language as part of the pop-up confirmation dialog.
173 AlertDialog dialog = builder.create();
174 dialog.setOnDismissListener(this);
176 return dialog;
178 Log.e(TAG, "unknown dialog " + id);
183 public void onDismiss(DialogInterface dialog) { argument
/packages/apps/Contacts/src/com/android/contacts/ui/
H A DContactsPreferencesActivity.java251 public void onClick(DialogInterface dialog, int whichButton) {
252 setSortOrder(dialog);
253 dialog.dismiss();
270 public void onClick(DialogInterface dialog, int whichButton) {
271 setDisplayOrder(dialog);
272 dialog.dismiss();
280 protected void onPrepareDialog(int id, Dialog dialog, Bundle args) { argument
283 setCheckedItem(dialog,
287 setCheckedItem(dialog,
294 private void setCheckedItem(Dialog dialog, in argument
300 setSortOrder(DialogInterface dialog) argument
310 setDisplayOrder(DialogInterface dialog) argument
[all...]
H A DEditContactActivity.java184 // Trigger dialog to pick account type
301 for (Dialog dialog : mManagedDialogs) {
302 dismissDialog(dialog);
351 private void startManagingDialog(Dialog dialog) { argument
353 mManagedDialogs.add(dialog);
360 void showAndManageDialog(Dialog dialog) { argument
361 startManagingDialog(dialog);
362 dialog.show();
368 static void dismissDialog(Dialog dialog) { argument
371 if (dialog !
505 onClick(DialogInterface dialog, int which) argument
789 onClick(DialogInterface dialog, int which) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DExportVCardActivity.java76 public void onClick(DialogInterface dialog, int which) { argument
79 public void onCancel(DialogInterface dialog) { argument
110 public void onClick(DialogInterface dialog, int which) { argument
222 public void onCancel(DialogInterface dialog) { argument
315 protected void onPrepareDialog(int id, Dialog dialog) { argument
317 ((AlertDialog)dialog).setMessage(getErrorReason());
319 ((AlertDialog)dialog).setMessage(
322 super.onPrepareDialog(id, dialog);
342 * an error dialog is shown.
356 // finish() is called via the error dialog
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppBtErrorActivity.java62 // Set up the "dialog"
79 public void onClick(DialogInterface dialog, int which) { argument
/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountSelectionUtil.java70 public void onClick(DialogInterface dialog, int which) { argument
71 dialog.dismiss();
140 public void onCancel(DialogInterface dialog) {
141 dialog.dismiss();

Completed in 185 milliseconds

12345