/frameworks/base/core/java/android/app/ |
D | AlertDialog.java | 320 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() method in AlertDialog 321 mAlert.setButton(whichButton, text, null, msg); in setButton() 334 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() method in AlertDialog 335 mAlert.setButton(whichButton, text, listener, null); in setButton() 343 public void setButton(CharSequence text, Message msg) { in setButton() method in AlertDialog 344 setButton(BUTTON_POSITIVE, text, msg); in setButton() 353 setButton(BUTTON_NEGATIVE, text, msg); in setButton2() 362 setButton(BUTTON_NEUTRAL, text, msg); in setButton3() 375 public void setButton(CharSequence text, final OnClickListener listener) { in setButton() method in AlertDialog 376 setButton(BUTTON_POSITIVE, text, listener); in setButton() [all …]
|
D | TimePickerDialog.java | 122 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog() 123 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in TimePickerDialog()
|
D | DatePickerDialog.java | 122 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in DatePickerDialog() 123 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in DatePickerDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 67 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton() 71 setButton(BUTTON_NEGATIVE, mContext.getString(resId), onClick); in setNegativeButton() 75 setButton(BUTTON_NEUTRAL, mContext.getString(resId), onClick); in setNeutralButton()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | UserUtil.java | 43 setButton(DialogInterface.BUTTON_NEGATIVE, in RemoveUserDialog() 45 setButton(DialogInterface.BUTTON_POSITIVE, in RemoveUserDialog()
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
D | AlertDialog.java | 210 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() method in AlertDialog 211 mAlert.setButton(whichButton, text, null, msg, null); in setButton() 225 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() method in AlertDialog 226 mAlert.setButton(whichButton, text, listener, null, null); in setButton() 242 public void setButton(int whichButton, CharSequence text, Drawable icon, in setButton() method in AlertDialog 244 mAlert.setButton(whichButton, text, listener, null, icon); in setButton()
|
D | AlertController.java | 320 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController 951 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply() 955 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply() 959 dialog.setButton(DialogInterface.BUTTON_NEUTRAL, mNeutralButtonText, in apply()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | StrictModeViolationDialog.java | 66 setButton(DialogInterface.BUTTON_POSITIVE, in StrictModeViolationDialog() 71 setButton(DialogInterface.BUTTON_NEGATIVE, in StrictModeViolationDialog()
|
D | FactoryErrorDialog.java | 31 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
|
D | AppWaitingForDebuggerDialog.java | 54 setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app)); in AppWaitingForDebuggerDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 52 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog() 54 setButton(DialogInterface.BUTTON_NEGATIVE, in SafetyWarningDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerService.java | 92 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, context.getString(R.string.cancel), in showResetRequest() 94 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showResetRequest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 160 setButton(BUTTON_WIPE, in ResetSessionDialog() 162 setButton(BUTTON_DONTWIPE, in ResetSessionDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 837 setButton(DialogInterface.BUTTON_NEGATIVE, in ExitGuestDialog() 839 setButton(DialogInterface.BUTTON_POSITIVE, in ExitGuestDialog() 865 setButton(DialogInterface.BUTTON_NEGATIVE, in AddUserDialog() 867 setButton(DialogInterface.BUTTON_POSITIVE, in AddUserDialog()
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
D | AlertDialogTest.java | 1182 mAlertDialog.setButton(DialogInterface.BUTTON_POSITIVE, positiveButtonText, in verifyDialogButtonsPostCreation() 1186 mAlertDialog.setButton(DialogInterface.BUTTON_NEGATIVE, negativeButtonText, in verifyDialogButtonsPostCreation() 1190 mAlertDialog.setButton(DialogInterface.BUTTON_NEUTRAL, neutralButtonText, in verifyDialogButtonsPostCreation() 1245 mAlertDialog.setButton(DialogInterface.BUTTON_POSITIVE, positiveButtonText, in verifyDialogButtonsPostCreationMessage() 1249 mAlertDialog.setButton(DialogInterface.BUTTON_NEGATIVE, negativeButtonText, in verifyDialogButtonsPostCreationMessage() 1253 mAlertDialog.setButton(DialogInterface.BUTTON_NEUTRAL, neutralButtonText, in verifyDialogButtonsPostCreationMessage()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertController.java | 365 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController 1049 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply() 1053 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply() 1057 dialog.setButton(DialogInterface.BUTTON_NEUTRAL, mNeutralButtonText, in apply()
|
D | MediaRouteControllerDialog.java | 141 setButton(BUTTON_NEGATIVE, res.getString(R.string.media_route_controller_disconnect), in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooter.java | 266 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog() 278 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getSettingsButton(), this); in createDialog()
|
/frameworks/support/v7/appcompat/api/ |
D | current.txt | 162 method public void setButton(int, java.lang.CharSequence, android.os.Message); 163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL… 164 …method public void setButton(int, java.lang.CharSequence, android.graphics.drawable.Drawable, andr…
|
/frameworks/support/v7/appcompat/api_legacy/ |
D | 27.1.0.txt | 162 method public void setButton(int, java.lang.CharSequence, android.os.Message); 163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL… 164 …method public void setButton(int, java.lang.CharSequence, android.graphics.drawable.Drawable, andr…
|
D | 28.0.0-alpha1.txt | 162 method public void setButton(int, java.lang.CharSequence, android.os.Message); 163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL… 164 …method public void setButton(int, java.lang.CharSequence, android.graphics.drawable.Drawable, andr…
|
D | current.txt | 162 method public void setButton(int, java.lang.CharSequence, android.os.Message); 163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL… 164 …method public void setButton(int, java.lang.CharSequence, android.graphics.drawable.Drawable, andr…
|
D | 26.0.0.txt | 162 method public void setButton(int, java.lang.CharSequence, android.os.Message); 163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…
|
D | 26.1.0.txt | 162 method public void setButton(int, java.lang.CharSequence, android.os.Message); 163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…
|
D | 27.0.0.txt | 162 method public void setButton(int, java.lang.CharSequence, android.os.Message); 163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…
|