Home
last modified time | relevance | path

Searched refs:setPositiveButton (Results 1 – 25 of 433) 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()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersDialogProvider.java62 .setPositiveButton(android.R.string.ok, confirmListener) in getConfirmCreateNewUserDialogFragment()
76 .setPositiveButton( in getConfirmExitRetailModeDialogFragment()
92 .setPositiveButton(android.R.string.ok, /* confirmListener= */ null) in getMaxUsersLimitReachedDialogFragment()
110 .setPositiveButton(R.string.confirm_grant_admin, confirmListener) in getConfirmGrantAdminDialogFragment()
134 .setPositiveButton(R.string.delete_button, confirmListener) in getConfirmRemoveLastUserDialogFragment()
154 .setPositiveButton(R.string.choose_new_admin_label, confirmListener) in getConfirmRemoveLastAdminDialogFragment()
173 .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/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()
152 .setPositiveButton(com.android.settingslib.R.string.user_setup_button_setup_now, in createSetupUserDialog()
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/dialogs/
DDialogsActivity.java105 .setPositiveButton("OK", (dialogInterface, which) -> { in showDialog()
134 .setPositiveButton("OK", (dialogInterface, which) -> { in showDialogWithCheckbox()
145 .setPositiveButton("OK", (dialogInterface, i) -> { in showDialogWithTextBox()
153 .setPositiveButton("OK", (dialogInterface, i) -> { in showDialogWithOnlyPositiveButton()
161 .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/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java375 .setPositiveButton(R.string.redirect_ca_certificate_close_button, in createRedirectCaCertificateDialog()
404 .setPositiveButton(android.R.string.ok, (dialog, id) -> { in createSelectCertificateUsageDialog()
419 .setPositiveButton(R.string.invalid_certificate_close_button, in createInvalidCertificateDialog()
454 .setPositiveButton(android.R.string.ok, (dialog, id) -> { in createPkcs12PasswordDialog()
481 .setPositiveButton(android.R.string.ok, (dialog, id) -> { in createNameCertificateDialog()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/
DAlertDialogBuilder.java195 public AlertDialogBuilder setPositiveButton(@StringRes int textId, in setPositiveButton() method in AlertDialogBuilder
197 mBuilder.setPositiveButton(textId, listener); in setPositiveButton()
209 public AlertDialogBuilder setPositiveButton(CharSequence text, in setPositiveButton() method in AlertDialogBuilder
211 mBuilder.setPositiveButton(text, listener); in setPositiveButton()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java307 .setPositiveButton(R.string.allow, (dialog, which) -> proceedAndFinish()) in createDiscoverableConfirmDialog()
321 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialog()
338 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialogWithTimeout()
386 .setPositiveButton(R.string.allow, this::onConfirmDisableBluetooth) in createRequestDisableBluetoothDialog()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vhal/
DVehicleHalFragment.java77 .setPositiveButton(android.R.string.ok, (x, y) -> { }) in onResume()
189 .setPositiveButton(android.R.string.yes, (x, y) -> { }) in getView()
197 .setPositiveButton(android.R.string.yes, (x, y) -> { }) in getView()
/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.java66 .setPositiveButton(R.string.network_connection_timeout_dialog_ok, in onCreateDialog()
71 .setPositiveButton(R.string.okay, (dialog, which) -> getActivity().finish()); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DNetworkRequestErrorDialogFragment.java62 .setPositiveButton(R.string.network_connection_timeout_dialog_ok, in onCreateDialog()
67 .setPositiveButton(R.string.okay, (dialog, which) -> getActivity().finish()); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragment.java66 .setPositiveButton(R.string.network_connection_timeout_dialog_ok, in onCreateDialog()
72 .setPositiveButton(R.string.okay, in onCreateDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DConfirmationDialogFragment.java83 public Builder setPositiveButton(String label, ConfirmListener confirmListener) { in setPositiveButton() method in ConfirmationDialogFragment.Builder
90 public Builder setPositiveButton(@StringRes int label, ConfirmListener confirmListener) { in setPositiveButton() method in ConfirmationDialogFragment.Builder
300 builder.setPositiveButton(mPosLabel, this); 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/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()
/packages/apps/Settings/src/com/android/settings/password/
DSetupSkipDialog.java86 .setPositiveButton(R.string.skip_lock_screen_dialog_button_label, this) in onCreateDialogBuilder()
94 .setPositiveButton(R.string.skip_anyway_button_label, this) in onCreateDialogBuilder()

12345678910>>...18