Home
last modified time | relevance | path

Searched refs:dialogBuilder (Results 1 – 7 of 7) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java41 AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(getActivity()); in onCreateDialog() local
76 dialogBuilder.setTitle(appLabel); in onCreateDialog()
77 dialogBuilder.setIcon(dialogInfo.appInfo.loadIcon(pm)); in onCreateDialog()
78 dialogBuilder.setPositiveButton(android.R.string.ok, this); in onCreateDialog()
79 dialogBuilder.setNegativeButton(android.R.string.cancel, this); in onCreateDialog()
80 dialogBuilder.setMessage(messageBuilder.toString()); in onCreateDialog()
81 return dialogBuilder.create(); in onCreateDialog()
/packages/apps/Nfc/src/com/android/nfc/
DBeamShareActivity.java100 AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(this, in showNfcDialogAndExit() local
102 dialogBuilder.setMessage(msgId); in showNfcDialogAndExit()
103 dialogBuilder.setOnCancelListener(new DialogInterface.OnCancelListener() { in showNfcDialogAndExit()
109 dialogBuilder.setPositiveButton(R.string.yes, in showNfcDialogAndExit()
121 dialogBuilder.setNegativeButton(R.string.no, in showNfcDialogAndExit()
128 dialogBuilder.show(); in showNfcDialogAndExit()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningActivity.java186 SimpleDialog.Builder dialogBuilder = new SimpleDialog.Builder() in error() local
193 showDialog(dialogBuilder, resetRequired ? ERROR_DIALOG_RESET : ERROR_DIALOG_OK); in error()
220 SimpleDialog.Builder dialogBuilder = new SimpleDialog.Builder() in showCancelProvisioningDialog() local
226 dialogBuilder.setTitle(R.string.stop_setup_reset_device_question); in showCancelProvisioningDialog()
229 showDialog(dialogBuilder, dialogTag); in showCancelProvisioningDialog()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java167 AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(getActivity()); in onCreateDialog() local
169 dialogBuilder.setCancelable(false); in onCreateDialog()
170 dialogBuilder.setMessage(getActivity().getString(R.string.uninstalling_app, in onCreateDialog()
173 Dialog dialog = dialogBuilder.create(); in onCreateDialog()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentFragment.java88 final Builder dialogBuilder = new AlertDialog.Builder(activity) in onCreateDialog() local
94 dialogBuilder.setPositiveButton(R.string.share_new_message, new OnClickListener() { in onCreateDialog()
102 return dialogBuilder.setNegativeButton(R.string.share_cancel, null) in onCreateDialog()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java174 SimpleDialog.Builder dialogBuilder = new SimpleDialog.Builder() in showErrorAndClose() local
179 showDialog(dialogBuilder, ERROR_AND_CLOSE_DIALOG); in showErrorAndClose()
245 SimpleDialog.Builder dialogBuilder = new SimpleDialog.Builder() in showCurrentLauncherInvalid() local
251 showDialog(dialogBuilder, LAUNCHER_INVALID_DIALOG); in showCurrentLauncherInvalid()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java120 protected void showDialog(DialogBuilder dialogBuilder, String tag) { in showDialog() argument
123 dialogBuilder.build().show(fragmentManager, tag); in showDialog()