Home
last modified time | relevance | path

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

12345678910>>...15

/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/profiles/
DProfilesDialogProvider.java62 .setPositiveButton(android.R.string.ok, confirmListener) in getConfirmCreateNewProfileDialogFragment()
76 .setPositiveButton( in getConfirmExitRetailModeDialogFragment()
92 .setPositiveButton(android.R.string.ok, /* confirmListener= */ null) in getMaxProfilesLimitReachedDialogFragment()
110 .setPositiveButton(R.string.confirm_grant_admin, confirmListener) in getConfirmGrantAdminDialogFragment()
134 .setPositiveButton(R.string.delete_button, confirmListener) in getConfirmRemoveLastProfileDialogFragment()
154 .setPositiveButton(R.string.choose_new_admin_label, confirmListener) in getConfirmRemoveLastAdminDialogFragment()
173 .setPositiveButton(R.string.delete_button, confirmListener) in getConfirmRemoveProfileDialogFragment()
/packages/apps/Settings/src/com/android/settings/users/
DUserDialogs.java57 .setPositiveButton(R.string.user_delete_button, onConfirmListener) in createRemoveDialog()
121 .setPositiveButton(R.string.okay, onConfirmListener) in createEnablePhoneCallsAndSmsDialog()
136 .setPositiveButton(R.string.okay, onConfirmListener) in createEnablePhoneCallsDialog()
151 .setPositiveButton(com.android.settingslib.R.string.user_setup_button_setup_now, in createSetupUserDialog()
171 .setPositiveButton( in createResetGuestDialog()
/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/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/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/dialogs/
DDialogsActivity.java111 .setPositiveButton(getString(R.string.ok), (dialogInterface, which) -> { in showDialog()
140 .setPositiveButton(getString(R.string.ok), (dialogInterface, which) -> { in showDialogWithCheckbox()
153 .setPositiveButton("OK", (dialogInterface, i) -> { in showDialogWithTextBox()
162 .setPositiveButton(getString(R.string.ok), (dialogInterface, i) -> { in showDialogWithOnlyPositiveButton()
170 .setPositiveButton(getString(R.string.ok), (dialogInterface, i) -> { in showDialogWithoutTitle()
/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/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java323 .setPositiveButton(R.string.allow, (dialog, which) -> proceedAndFinish()) in createDiscoverableConfirmDialog()
337 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialog()
354 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialogWithTimeout()
411 .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/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()
DWifiAPITest.java115 alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() { in onPreferenceClick()
141 alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() { in onPreferenceClick()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java221 mAlertBuilder.setPositiveButton(R.string.download_ok, this); in setUpDialog()
224 mAlertBuilder.setPositiveButton(R.string.download_succ_ok, this); in setUpDialog()
227 mAlertBuilder.setPositiveButton(R.string.download_fail_ok, this); in setUpDialog()
229 mAlertBuilder.setPositiveButton(R.string.upload_succ_ok, this); in setUpDialog()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/
DAlertDialogBuilder.java264 public AlertDialogBuilder setPositiveButton(@StringRes int textId, in setPositiveButton() method in AlertDialogBuilder
266 mBuilder.setPositiveButton(textId, listener); in setPositiveButton()
278 public AlertDialogBuilder setPositiveButton(CharSequence text, in setPositiveButton() method in AlertDialogBuilder
280 mBuilder.setPositiveButton(text, listener); in setPositiveButton()
/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/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/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/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()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataDialogFragment.java87 .setPositiveButton(android.R.string.ok, this) in onCreateDialog()
113 .setPositiveButton( in onCreateDialog()

12345678910>>...15