Home
last modified time | relevance | path

Searched refs:setPositiveButton (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/packages/services/Telephony/src/com/android/phone/
DTimeConsumingPreferenceActivity.java95 builder.setPositiveButton(R.string.close_dialog, mDismiss); in onCreateDialog()
100 builder.setPositiveButton(R.string.close_dialog, mDismissAndFinish); in onCreateDialog()
104 builder.setPositiveButton(R.string.close_dialog, mDismiss); in onCreateDialog()
108 builder.setPositiveButton(R.string.close_dialog, mDismiss); in onCreateDialog()
112 builder.setPositiveButton(R.string.close_dialog, mDismiss); in onCreateDialog()
116 builder.setPositiveButton(R.string.close_dialog, mDismiss); in onCreateDialog()
120 builder.setPositiveButton(R.string.close_dialog, mDismiss); in onCreateDialog()
126 builder.setPositiveButton(R.string.close_dialog, mDismiss); in onCreateDialog()
DEditPhoneNumberPreference.java266 builder.setPositiveButton(mEnableText, this); in onPrepareDialogBuilder()
269 builder.setPositiveButton(null, null); in onPrepareDialogBuilder()
272 builder.setPositiveButton(mChangeNumberText, this); in onPrepareDialogBuilder()
275 builder.setPositiveButton(mEnableText, this); in onPrepareDialogBuilder()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersDialogProvider.java62 .setPositiveButton(android.R.string.ok, confirmListener) in getConfirmCreateNewUserDialogFragment()
83 .setPositiveButton(R.string.confirm_grant_admin, confirmListener) in getConfirmGrantAdminDialogFragment()
107 .setPositiveButton(R.string.delete_button, confirmListener) in getConfirmRemoveLastUserDialogFragment()
127 .setPositiveButton(R.string.choose_new_admin_label, confirmListener) in getConfirmRemoveLastAdminDialogFragment()
146 .setPositiveButton(R.string.delete_button, confirmListener) in getConfirmRemoveUserDialogFragment()
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
DBlockReportSpamDialogs.java169 .setPositiveButton( in onCreateDialog()
219 .setPositiveButton( in onCreateDialog()
256 .setPositiveButton( in onCreateDialog()
305 .setPositiveButton( in onCreateDialog()
342 .setPositiveButton( in onCreateDialog()
373 .setPositiveButton( in onCreateDialog()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailDialogUtil.java66 b.setPositiveButton(R.string.close_dialog, parent); in getDialog()
71 b.setPositiveButton(R.string.close_dialog, parent); in getDialog()
75 b.setPositiveButton(R.string.alert_dialog_yes, parent); in getDialog()
82 b.setPositiveButton(R.string.ok, parent); in getDialog()
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/dialogs/
DDialogsActivity.java93 .setPositiveButton("OK", (dialogInterface, which) -> { in showDialog()
122 .setPositiveButton("OK", (dialogInterface, which) -> { in showDialogWithCheckbox()
133 .setPositiveButton("OK", (dialogInterface, i) -> { in showDialogWithTextBox()
141 .setPositiveButton("OK", (dialogInterface, i) -> { in showDialogWithOnlyPositiveButton()
149 .setPositiveButton("OK", (dialogInterface, i) -> { in showDialogWithoutTitle()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragment.java82 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
97 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
109 .setPositiveButton(R.string.battery_tip_restrict_app_dialog_ok, this) in onCreateDialog()
138 .setPositiveButton(R.string.battery_tip_unrestrict_app_dialog_ok, this) in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipDialogFragment.java82 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
97 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
109 .setPositiveButton(R.string.battery_tip_restrict_app_dialog_ok, this) in onCreateDialog()
138 .setPositiveButton(R.string.battery_tip_unrestrict_app_dialog_ok, this) in onCreateDialog()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DDialogSamples.java72 builder.setPositiveButton("OK", (dialoginterface, i) -> { in openDialog()
84 builder.setPositiveButton("OK", (dialoginterface, i) -> { in openDialogWithOnlyPositiveButton()
93 builder.setPositiveButton("OK", (dialoginterface, i) -> { in openDialogWithoutTitle()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/alertdialog/
DAlertDialogTestFragment.java60 .setPositiveButton( in onCreateView()
84 .setPositiveButton( in onCreateView()
108 .setPositiveButton( in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserDialogs.java57 .setPositiveButton(R.string.user_delete_button, onConfirmListener) in createRemoveDialog()
122 .setPositiveButton(R.string.okay, onConfirmListener) in createEnablePhoneCallsAndSmsDialog()
137 .setPositiveButton(R.string.okay, onConfirmListener) in createEnablePhoneCallsDialog()
/packages/apps/Settings/src/com/android/settings/users/
DUserDialogs.java57 .setPositiveButton(R.string.user_delete_button, onConfirmListener) in createRemoveDialog()
122 .setPositiveButton(R.string.okay, onConfirmListener) in createEnablePhoneCallsAndSmsDialog()
137 .setPositiveButton(R.string.okay, onConfirmListener) in createEnablePhoneCallsDialog()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/
DAlertDialogBuilder.java180 public AlertDialogBuilder setPositiveButton(@StringRes int textId, in setPositiveButton() method in AlertDialogBuilder
182 mBuilder.setPositiveButton(textId, listener); in setPositiveButton()
194 public AlertDialogBuilder setPositiveButton(CharSequence text, in setPositiveButton() method in AlertDialogBuilder
196 mBuilder.setPositiveButton(text, listener); in setPositiveButton()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java272 .setPositiveButton(R.string.allow, (dialog, which) -> proceedAndFinish()) in createDiscoverableConfirmDialog()
286 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialog()
303 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialogWithTimeout()
351 .setPositiveButton(R.string.allow, this::onConfirmDisableBluetooth) in createRequestDisableBluetoothDialog()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java405 .setPositiveButton(R.string.redirect_ca_certificate_close_button, in createRedirectCaCertificateDialog()
434 .setPositiveButton(android.R.string.ok, (dialog, id) -> { in createSelectCertificateUsageDialog()
449 .setPositiveButton(R.string.invalid_certificate_close_button, in createInvalidCertificateDialog()
484 .setPositiveButton(android.R.string.ok, (dialog, id) -> { in createPkcs12PasswordDialog()
511 .setPositiveButton(android.R.string.ok, (dialog, id) -> { in createNameCertificateDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DConfirmationDialogFragment.java80 public Builder setPositiveButton(String label, ConfirmListener confirmListener) { in setPositiveButton() method in ConfirmationDialogFragment.Builder
87 public Builder setPositiveButton(@StringRes int label, ConfirmListener confirmListener) { in setPositiveButton() method in ConfirmationDialogFragment.Builder
242 builder.setPositiveButton(mPosLabel, this); in onCreateDialog()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java217 mAlertBuilder.setPositiveButton(R.string.download_ok, this); in setUpDialog()
220 mAlertBuilder.setPositiveButton(R.string.download_succ_ok, this); in setUpDialog()
223 mAlertBuilder.setPositiveButton(R.string.download_fail_ok, this); in setUpDialog()
225 mAlertBuilder.setPositiveButton(R.string.upload_succ_ok, this); in setUpDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkRequestErrorDialogFragment.java67 .setPositiveButton(R.string.network_connection_timeout_dialog_ok, in onCreateDialog()
72 .setPositiveButton(R.string.okay, (dialog, which) -> getActivity().finish()); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DNetworkRequestErrorDialogFragment.java66 .setPositiveButton(R.string.network_connection_timeout_dialog_ok, in onCreateDialog()
71 .setPositiveButton(R.string.okay, (dialog, which) -> getActivity().finish()); in onCreateDialog()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DTrampolineActivity.java173 builder.setPositiveButton(R.string.keep_queued_download, null); in onCreateDialog()
176 builder.setPositiveButton(R.string.start_now_download, in onCreateDialog()
256 builder.setPositiveButton( in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragment.java70 .setPositiveButton(R.string.network_connection_timeout_dialog_ok, in onCreateDialog()
76 .setPositiveButton(R.string.okay, in onCreateDialog()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ui/
DTrustedDeviceActivity.java568 .setPositiveButton(getString(R.string.continue_button), mOnConfirmListener) in onCreateDialog()
594 .setPositiveButton(getString(R.string.continue_button), mOnConfirmListener) in onCreateDialog()
611 .setPositiveButton(getString(R.string.ok), null) in onCreateDialog()
624 .setPositiveButton(getString(R.string.ok), null) in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DButtonActionDialogFragment.java105 .setPositiveButton(R.string.app_disable_dlg_positive, this) in createDialog()
112 .setPositiveButton(R.string.dlg_ok, this) in createDialog()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DErrorDialogActivity.java88 .setMessage(msg).setPositiveButton(android.R.string.ok, clickListener) in showGenericErrorDialog()
103 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in showMissingVoicemailErrorDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DButtonActionDialogFragment.java105 .setPositiveButton(R.string.app_disable_dlg_positive, this) in createDialog()
112 .setPositiveButton(R.string.dlg_ok, this) in createDialog()

12345678910>>...18