Home
last modified time | relevance | path

Searched refs:setNegativeButton (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfilesDialogProvider.java63 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmCreateNewProfileDialogFragment()
78 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmExitRetailModeDialogFragment()
111 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmGrantAdminDialogFragment()
135 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmRemoveLastProfileDialogFragment()
155 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmRemoveLastAdminDialogFragment()
174 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmRemoveProfileDialogFragment()
/packages/apps/Settings/src/com/android/settings/users/
DUserDialogs.java58 .setNegativeButton(android.R.string.cancel, null); in createRemoveDialog()
122 .setNegativeButton(android.R.string.cancel, null) in createEnablePhoneCallsAndSmsDialog()
137 .setNegativeButton(android.R.string.cancel, null) in createEnablePhoneCallsDialog()
153 .setNegativeButton(com.android.settingslib.R.string.user_setup_button_setup_later, in createSetupUserDialog()
174 .setNegativeButton(android.R.string.cancel, null) in createResetGuestDialog()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailDialogUtil.java53 b.setNegativeButton(R.string.close_dialog, parent); in getDialog()
61 b.setNegativeButton(R.string.close_dialog, parent); in getDialog()
76 b.setNegativeButton(R.string.alert_dialog_no, parent); in getDialog()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/alertdialog/
DAlertDialogTestFragment.java66 .setNegativeButton( in onCreateView()
90 .setNegativeButton( in onCreateView()
114 .setNegativeButton( in onCreateView()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/
DAlertDialogBuilder.java292 public AlertDialogBuilder setNegativeButton(@StringRes int textId, in setNegativeButton() method in AlertDialogBuilder
294 mBuilder.setNegativeButton(textId, listener); in setNegativeButton()
306 public AlertDialogBuilder setNegativeButton(CharSequence text, in setNegativeButton() method in AlertDialogBuilder
308 mBuilder.setNegativeButton(text, listener); in setNegativeButton()
815 mBuilder.setNegativeButton(mDefaultButtonText, (dialog, which) -> { in prepareDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java324 .setNegativeButton(R.string.deny, in createDiscoverableConfirmDialog()
338 .setNegativeButton(R.string.deny, in createRequestEnableBluetoothDialog()
355 .setNegativeButton(R.string.deny, in createRequestEnableBluetoothDialogWithTimeout()
412 .setNegativeButton(R.string.deny, in createRequestDisableBluetoothDialog()
DBluetoothPairingDialogFragment.java202 mBuilder.setNegativeButton(getString(android.R.string.cancel), this); in createUserEntryDialog()
280 mBuilder.setNegativeButton(getString(R.string.bluetooth_pairing_decline), this); in createConfirmationDialog()
300 mBuilder.setNegativeButton(getString(android.R.string.cancel), this); in createDisplayPasskeyOrPinDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRemoteBugreportActivity.java56 .setNegativeButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreate()
79 .setNegativeButton(R.string.decline_remote_bugreport_action, in onCreate()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DDialogSamples.java73 }).setNegativeButton("CANCEL", in openDialog()
94 }).setNegativeButton("CANCEL", in openDialogWithoutTitle()
/packages/apps/Settings/src/com/android/settings/
DRemoteBugreportActivity.java57 .setNegativeButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreate()
80 .setNegativeButton(R.string.decline_remote_bugreport_action, in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DButtonActionDialogFragment.java106 .setNegativeButton(R.string.dlg_cancel, null) in createDialog()
113 .setNegativeButton(R.string.dlg_cancel, null) in createDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DConfirmationDialogFragment.java97 public Builder setNegativeButton(String label, RejectListener rejectListener) { in setNegativeButton() method in ConfirmationDialogFragment.Builder
104 public Builder setNegativeButton(@StringRes int label, RejectListener rejectListener) { in setNegativeButton() method in ConfirmationDialogFragment.Builder
303 builder.setNegativeButton(mNegLabel, this); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingDialogFragment.java212 mBuilder.setNegativeButton(getString(android.R.string.cancel), this); in createUserEntryDialog()
291 mBuilder.setNegativeButton(getString(R.string.bluetooth_pairing_decline), this); in createConfirmationDialog()
311 mBuilder.setNegativeButton(getString(android.R.string.cancel), this); in createDisplayPasskeyOrPinDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DRemoteRequestBugreportActivity.java82 .setNegativeButton(android.R.string.ok, arguments -> finish()); in getInitialFragment()
98 .setNegativeButton(R.string.decline_remote_bugreport_action, rejectListener) in getInitialFragment()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiAPITest.java128 alert.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { in onPreferenceClick()
148 alert.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { in onPreferenceClick()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataDialogFragment.java88 .setNegativeButton(android.R.string.cancel, null) in onCreateDialog()
116 .setNegativeButton(R.string.cancel, null) in onCreateDialog()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java373 .setNegativeButton(R.string.account_select_cancel, null); in createAccountPicker()
452 .setNegativeButton(R.string.cloud_sync_cancel, null /* OnClickListener */) in onPreferenceClick()
491 .setNegativeButton(R.string.cloud_sync_cancel, null) in onPreferenceClick()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java197 builder.setNegativeButton(R.string.deny, mRejectListener); in updateUi()
207 builder.setNegativeButton(R.string.deny, mRejectListener); in updateUi()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileDataTogglePreferenceController.java183 .setNegativeButton(android.R.string.cancel, mRejectRefreshListener) in getConfirmDataDisableDialog()
207 .setNegativeButton(android.R.string.cancel, mRejectRefreshListener) in getConfirmMultisimEnableDialog()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragment.java110 .setNegativeButton(android.R.string.cancel, null); in onCreateDialog()
139 .setNegativeButton(R.string.battery_tip_unrestrict_app_dialog_cancel, null) in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/password/
DSetupSkipDialog.java101 .setNegativeButton(R.string.cancel_lock_screen_dialog_button_label, this) in onCreateDialogBuilder()
107 .setNegativeButton(R.string.go_back_button_label, this) in onCreateDialogBuilder()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java494 .setNegativeButton(getActivity().getString(R.string.dlg_cancel), null) in onCreateDialog()
507 .setNegativeButton(getActivity().getString(R.string.dlg_cancel), null) in onCreateDialog()
527 .setNegativeButton(getActivity().getString(R.string.dlg_cancel), null) in onCreateDialog()
536 .setNegativeButton(getActivity().getString(R.string.dlg_cancel), in onCreateDialog()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/dialogs/
DDialogsActivity.java113 .setNegativeButton(getString(R.string.cancel), (dialogInterface, which) -> { in showDialog()
142 .setNegativeButton(getString(R.string.cancel), (dialogInterface, which) -> { in showDialogWithCheckbox()
172 .setNegativeButton(getString(R.string.cancel), (dialogInterface, which) -> { in showDialogWithoutTitle()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DGrantPermissionsWearViewHandler.java157 .setNegativeButton(R.string.grant_dialog_button_deny_dont_ask_again, this) in showDialog()
172 acceptDenyDialog.setNegativeButton(this); in showDialog()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DConfirmationDialogFragmentTest.java110 mDialogFragmentBuilder.setNegativeButton(R.string.test_negative_button_label, null); in buildDialogFragment_negativeButtonSet_positiveAndNeutralButtonNotVisible()
157 mDialogFragmentBuilder.setNegativeButton(R.string.test_negative_button_label, in clickNegativeButton_callsCallbackWithArgs()

12345678910>>...12