Home
last modified time | relevance | path

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

12345678910>>...18

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfilesDialogProvider.java63 .setPositiveButton(android.R.string.ok, confirmListener) in getConfirmCreateNewProfileDialogFragment()
77 .setPositiveButton( in getConfirmExitRetailModeDialogFragment()
93 .setPositiveButton(android.R.string.ok, /* confirmListener= */ null) in getMaxProfilesLimitReachedDialogFragment()
111 .setPositiveButton(R.string.confirm_grant_admin, confirmListener) in getConfirmGrantAdminDialogFragment()
135 .setPositiveButton(R.string.delete_button, confirmListener) in getConfirmRemoveLastProfileDialogFragment()
155 .setPositiveButton(R.string.choose_new_admin_label, confirmListener) in getConfirmRemoveLastAdminDialogFragment()
174 .setPositiveButton(R.string.delete_button, confirmListener) in getConfirmRemoveProfileDialogFragment()
/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/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/
DDialogManager.java61 .setPositiveButton( in showOptOutDialog()
89 .setPositiveButton( in showBlockTopicDialog()
112 .setPositiveButton( in showUnblockTopicDialog()
141 .setPositiveButton( in showResetTopicDialog()
173 .setPositiveButton( in showBlockAppDialog()
193 .setPositiveButton( in showUnblockAppDialog()
225 .setPositiveButton( in showResetAppDialog()
/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/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/apps/Settings/src/com/android/settings/users/
DUserDialogs.java63 .setPositiveButton(R.string.user_delete_button, onConfirmListener) in createRemoveDialog()
143 .setPositiveButton(R.string.okay, onConfirmListener) in createEnablePhoneCallsAndSmsDialog()
158 .setPositiveButton(com.android.settingslib.R.string.user_setup_button_setup_now, in createSetupUserDialog()
178 .setPositiveButton( in createResetGuestDialog()
199 .setPositiveButton( in createRemoveGuestDialog()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DPerformanceTestingFragment.kt101 builder.setPositiveButton(android.R.string.ok) { dialog, _ -> in <lambda>()
107 return@setPositiveButton in <lambda>()
134 builder.setPositiveButton(android.R.string.ok) { dialog, _ -> in <lambda>()
140 return@setPositiveButton in <lambda>()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DDialogSamples.java71 builder.setPositiveButton("OK", (dialoginterface, i) -> { in openDialog()
83 builder.setPositiveButton("OK", (dialoginterface, i) -> { in openDialogWithOnlyPositiveButton()
92 builder.setPositiveButton("OK", (dialoginterface, i) -> { in openDialogWithoutTitle()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragment.java82 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
98 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
114 .setPositiveButton( in onCreateDialog()
147 .setPositiveButton(R.string.battery_tip_unrestrict_app_dialog_ok, this) in onCreateDialog()
/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/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogFactory.java215 public AudioSharingDialogFactory.DialogBuilder setPositiveButton( in setPositiveButton() method in AudioSharingDialogFactory.DialogBuilder
217 mBuilder.setPositiveButton(labelRes, listener); in setPositiveButton()
229 public AudioSharingDialogFactory.DialogBuilder setPositiveButton( in setPositiveButton() method in AudioSharingDialogFactory.DialogBuilder
231 mBuilder.setPositiveButton(label, listener); in setPositiveButton()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/networkrequest/
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/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/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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityViaNfc.java75 .setPositiveButton(android.R.string.ok, createDialogOnClickListener()) in createCantSetupDeviceDialog()
86 .setPositiveButton(android.R.string.ok, createDialogOnClickListener()) in createDeviceAlreadySetupDialog()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DButtonActionDialogFragment.java108 .setPositiveButton(R.string.app_disable_dlg_positive, this) in createDialog()
115 .setPositiveButton(R.string.dlg_ok, this) in createDialog()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionHelper.kt41 setPositiveButton(R.string.allow) { _, _ -> in <lambda>()
62 setPositiveButton(R.string.allow) { _, _ -> onAllow() } in <lambda>()
/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/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java334 .setPositiveButton(R.string.allow, (dialog, which) -> proceedAndFinish()) in createDiscoverableConfirmDialog()
348 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialog()
365 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialogWithTimeout()
422 .setPositiveButton(R.string.allow, this::onConfirmDisableBluetooth) in createRequestDisableBluetoothDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DEnergySaverFragment.java124 .setPositiveButton( in onPreferenceChange()
142 .setPositiveButton( in onPreferenceChange()
176 .setPositiveButton(R.string.settings_confirm, in showConfirmChangeSettingDialog()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollErrorDialog.kt107 setPositiveButton( in Context()
116 setPositiveButton( in Context()
/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/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/common/widget/
DFingerprintErrorDialog.kt53 .setPositiveButton(R.string.security_settings_fingerprint_enroll_dialog_try_again) { in <lambda>()
65 builder.setPositiveButton(R.string.security_settings_fingerprint_enroll_dialog_ok) { in <lambda>()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DCancelActivity.java94 .setPositiveButton(R.string.yes_button, new RequestCancelListener()) in onCreateDialog()
104 .setPositiveButton(android.R.string.ok, mCancelListener); in onCreateDialog()

12345678910>>...18