Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/
DDialogInterface.java33 public static final int BUTTON_NEGATIVE = -2; field
50 public static final 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/support/v7/appcompat/tests/src/android/support/v7/app/
DAlertDialogTest.java143 mAlertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).getVisibility()); in testBasicContent()
945 final Button negativeButton = mAlertDialog.getButton(AlertDialog.BUTTON_NEGATIVE); in verifyButtonContent()
1048 case DialogInterface.BUTTON_NEGATIVE: in verifyDialogButtons()
1109 case DialogInterface.BUTTON_NEGATIVE: in verifyDialogButtons()
1150 mAlertDialog.setButton(DialogInterface.BUTTON_NEGATIVE, negativeButtonText, in verifyDialogButtonsPostCreation()
1174 case DialogInterface.BUTTON_NEGATIVE: in verifyDialogButtonsPostCreation()
1213 mAlertDialog.setButton(DialogInterface.BUTTON_NEGATIVE, negativeButtonText, in verifyDialogButtonsPostCreationMessage()
1214 Message.obtain(mockMessageHandler, DialogInterface.BUTTON_NEGATIVE)); in verifyDialogButtonsPostCreationMessage()
1237 case DialogInterface.BUTTON_NEGATIVE: in verifyDialogButtonsPostCreationMessage()
1294 verifyDialogButtons(null, "Negative", null, AlertDialog.BUTTON_NEGATIVE); in testButtons()
[all …]
/frameworks/base/core/java/android/app/
DTimePickerDialog.java121 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in TimePickerDialog()
145 case BUTTON_NEGATIVE: in onClick()
DDatePickerDialog.java123 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in DatePickerDialog()
175 case BUTTON_NEGATIVE: in onClick()
DAlertDialog.java340 setButton(BUTTON_NEGATIVE, text, msg); in setButton2()
376 setButton(BUTTON_NEGATIVE, text, listener); in setButton2()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java128 if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick()
146 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getSettingsButton(), this); in createDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java59 setButton(BUTTON_NEGATIVE, mContext.getString(resId), onClick); in setNegativeButton()
/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/volume/
DSafetyWarningDialog.java54 setButton(DialogInterface.BUTTON_NEGATIVE, in SafetyWarningDialog()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java47 private static final int NEGATIVE_BUTTON = AlertDialog.BUTTON_NEGATIVE;
DAlertController.java162 case DialogInterface.BUTTON_NEGATIVE: in handleMessage()
337 case DialogInterface.BUTTON_NEGATIVE: in setButton()
415 case DialogInterface.BUTTON_NEGATIVE: in getButton()
1004 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java817 setButton(DialogInterface.BUTTON_NEGATIVE, in ExitGuestDialog()
827 if (which == BUTTON_NEGATIVE) { in onClick()
843 setButton(DialogInterface.BUTTON_NEGATIVE, in AddUserDialog()
851 if (which == BUTTON_NEGATIVE) { in onClick()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java155 case DialogInterface.BUTTON_NEGATIVE: in handleMessage()
314 case DialogInterface.BUTTON_NEGATIVE: in setButton()
388 case DialogInterface.BUTTON_NEGATIVE: in getButton()
847 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java148 private static final int BUTTON_WIPE = BUTTON_NEGATIVE;
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceDialogFragmentCompat.java135 mWhichButtonClicked = DialogInterface.BUTTON_NEGATIVE; in onCreateDialog()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceDialogFragment.java136 mWhichButtonClicked = DialogInterface.BUTTON_NEGATIVE; in onCreateDialog()
/frameworks/base/core/java/android/preference/
DDialogPreference.java290 mWhichButtonClicked = DialogInterface.BUTTON_NEGATIVE; in showDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java231 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, context.getString(R.string.cancel), in showResetRequest()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DOpenExternalDirectoryActivity.java435 if (which == DialogInterface.BUTTON_NEGATIVE || intent == null) { in onCreateDialog()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1194 listener.setNegativeButton(d.getButton(DialogInterface.BUTTON_NEGATIVE)); in handleConfirmShortCode()
1652 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java432 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onClick()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7410 field public static final int BUTTON_NEGATIVE = -2; // 0xfffffffe
/frameworks/base/api/
Dcurrent.txt8340 field public static final int BUTTON_NEGATIVE = -2; // 0xfffffffe
Dtest-current.txt8349 field public static final int BUTTON_NEGATIVE = -2; // 0xfffffffe

12