Home
last modified time | relevance | path

Searched refs:setButton (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/app/
DAlertDialog.java320 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 …]
DTimePickerDialog.java122 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog()
123 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in TimePickerDialog()
DDatePickerDialog.java122 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/
DSystemUIDialog.java67 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/
DUserUtil.java43 setButton(DialogInterface.BUTTON_NEGATIVE, in RemoveUserDialog()
45 setButton(DialogInterface.BUTTON_POSITIVE, in RemoveUserDialog()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DAlertDialog.java210 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()
DAlertController.java320 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/
DStrictModeViolationDialog.java66 setButton(DialogInterface.BUTTON_POSITIVE, in StrictModeViolationDialog()
71 setButton(DialogInterface.BUTTON_NEGATIVE, in StrictModeViolationDialog()
DFactoryErrorDialog.java31 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
DAppWaitingForDebuggerDialog.java54 setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app)); in AppWaitingForDebuggerDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java52 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog()
54 setButton(DialogInterface.BUTTON_NEGATIVE, in SafetyWarningDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java92 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/
DGuestResumeSessionReceiver.java160 setButton(BUTTON_WIPE, in ResetSessionDialog()
162 setButton(BUTTON_DONTWIPE, in ResetSessionDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java837 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/
DAlertDialogTest.java1182 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/
DAlertController.java365 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()
DMediaRouteControllerDialog.java141 setButton(BUTTON_NEGATIVE, res.getString(R.string.media_route_controller_disconnect), in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooter.java266 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog()
278 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getSettingsButton(), this); in createDialog()
/frameworks/support/v7/appcompat/api/
Dcurrent.txt162 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/
D27.1.0.txt162 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…
D28.0.0-alpha1.txt162 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…
Dcurrent.txt162 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…
D26.0.0.txt162 method public void setButton(int, java.lang.CharSequence, android.os.Message);
163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…
D26.1.0.txt162 method public void setButton(int, java.lang.CharSequence, android.os.Message);
163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…
D27.0.0.txt162 method public void setButton(int, java.lang.CharSequence, android.os.Message);
163 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…

123