Home
last modified time | relevance | path

Searched refs:BUTTON_NEGATIVE (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/content/
DDialogInterface.java30 int BUTTON_NEGATIVE = -2; field
41 int BUTTON2 = BUTTON_NEGATIVE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DUserUtil.java43 setButton(DialogInterface.BUTTON_NEGATIVE, in RemoveUserDialog()
54 if (which == BUTTON_NEGATIVE) { in onClick()
/frameworks/base/core/java/android/app/
DTimePickerDialog.java125 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in TimePickerDialog()
178 case BUTTON_NEGATIVE: in onClick()
DDatePickerDialog.java125 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in DatePickerDialog()
177 case BUTTON_NEGATIVE: in onClick()
DAlertDialog.java356 setButton(BUTTON_NEGATIVE, text, msg); in setButton2()
392 setButton(BUTTON_NEGATIVE, text, listener); in setButton2()
/frameworks/base/services/core/java/com/android/server/am/
DStrictModeViolationDialog.java71 setButton(DialogInterface.BUTTON_NEGATIVE, in StrictModeViolationDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java1109 setButton(DialogInterface.BUTTON_NEGATIVE, in ExitGuestDialog()
1123 int penalty = which == BUTTON_NEGATIVE ? FalsingManager.NO_PENALTY in onClick()
1128 if (which == BUTTON_NEGATIVE) { in onClick()
1146 setButton(DialogInterface.BUTTON_NEGATIVE, in AddUserDialog()
1155 int penalty = which == BUTTON_NEGATIVE ? FalsingManager.NO_PENALTY in onClick()
1160 if (which == BUTTON_NEGATIVE) { in onClick()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java46 private static final int NEGATIVE_BUTTON = AlertDialog.BUTTON_NEGATIVE;
DHarmfulAppWarningActivity.java103 case DialogInterface.BUTTON_NEGATIVE: in onClick()
DAlertController.java173 case DialogInterface.BUTTON_NEGATIVE: in handleMessage()
391 case DialogInterface.BUTTON_NEGATIVE: in setButton()
473 case DialogInterface.BUTTON_NEGATIVE: in getButton()
1135 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
DMediaRouteControllerDialog.java141 setButton(BUTTON_NEGATIVE, res.getString(R.string.media_route_controller_disconnect), in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java101 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in onCreate()
183 mCancelButton = mAlert.getButton(DialogInterface.BUTTON_NEGATIVE); in onCreate()
DInstallSuccess.java103 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.done), in bindUi()
DInstallStaging.java64 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java61 setButton(DialogInterface.BUTTON_NEGATIVE, in SafetyWarningDialog()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DAlwaysOnDisconnectedDialog.java93 case BUTTON_NEGATIVE: in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java119 public static final int BUTTON_WIPE = BUTTON_NEGATIVE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java88 setButton(BUTTON_NEGATIVE, mContext.getString(resId), onClick); in setNegativeButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooter.java336 if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick()
348 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getNegativeButton(), this); in createDialog()
393 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getSettingsButton(), this); in createOrganizationDialogView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DChallengeDialogs.kt101 DialogInterface.BUTTON_NEGATIVE, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivity.kt207 BUTTON_NEGATIVE -> { in <lambda>()
/frameworks/base/core/java/android/preference/
DDialogPreference.java313 mWhichButtonClicked = DialogInterface.BUTTON_NEGATIVE; in showDialog()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DEditUserInfoControllerTest.java158 dialog.getButton(Dialog.BUTTON_NEGATIVE).performClick(); in cancelCallback_isCalled_whenNegativeClicked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DUserSwitcherControllerTest.kt189 .getButton(DialogInterface.BUTTON_NEGATIVE).performClick() in testRemoveGuest_cancelButtonPressed_isNotLogged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java300 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mContext.getString(R.string.cancel), in showResetRequest()

12