Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAlertDialog.java240 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() method in AlertDialog
241 mAlert.setButton(whichButton, text, null, msg); in setButton()
254 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() method in AlertDialog
255 mAlert.setButton(whichButton, text, listener, null); in setButton()
263 public void setButton(CharSequence text, Message msg) { in setButton() method in AlertDialog
264 setButton(BUTTON_POSITIVE, text, msg); in setButton()
273 setButton(BUTTON_NEGATIVE, text, msg); in setButton2()
282 setButton(BUTTON_NEUTRAL, text, msg); in setButton3()
295 public void setButton(CharSequence text, final OnClickListener listener) { in setButton() method in AlertDialog
296 setButton(BUTTON_POSITIVE, text, listener); in setButton()
[all …]
DTimePickerDialog.java111 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog()
112 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in TimePickerDialog()
DDatePickerDialog.java114 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in DatePickerDialog()
115 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in DatePickerDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java59 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton()
63 setButton(BUTTON_NEGATIVE, mContext.getString(resId), onClick); in setNegativeButton()
/frameworks/base/services/core/java/com/android/server/am/
DAppNotRespondingDialog.java78 setButton(DialogInterface.BUTTON_POSITIVE, in AppNotRespondingDialog()
81 setButton(DialogInterface.BUTTON_NEGATIVE, in AppNotRespondingDialog()
86 setButton(DialogInterface.BUTTON_NEUTRAL, in AppNotRespondingDialog()
DStrictModeViolationDialog.java66 setButton(DialogInterface.BUTTON_POSITIVE, in StrictModeViolationDialog()
71 setButton(DialogInterface.BUTTON_NEGATIVE, in StrictModeViolationDialog()
DAppErrorDialog.java62 setButton(DialogInterface.BUTTON_POSITIVE, in AppErrorDialog()
67 setButton(DialogInterface.BUTTON_NEGATIVE, in AppErrorDialog()
DFactoryErrorDialog.java31 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
DAppWaitingForDebuggerDialog.java54 setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app)); in AppWaitingForDebuggerDialog()
DActivityManagerService.java1514 d.setButton(DialogInterface.BUTTON_POSITIVE, mContext.getText(R.string.ok), in handleMessage()
1526 d.setButton(DialogInterface.BUTTON_POSITIVE, mContext.getText(R.string.ok), in handleMessage()
/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.java530 setButton(DialogInterface.BUTTON_NEGATIVE, in ExitGuestDialog()
532 setButton(DialogInterface.BUTTON_POSITIVE, in ExitGuestDialog()
556 setButton(DialogInterface.BUTTON_NEGATIVE, in AddUserDialog()
558 setButton(DialogInterface.BUTTON_POSITIVE, in AddUserDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java141 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog()
143 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getNegativeButton(), this); in createDialog()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java323 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController
969 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
973 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
977 dialog.setButton(DialogInterface.BUTTON_NEUTRAL, mNeutralButtonText, in apply()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanel.java295 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarning()
297 setButton(DialogInterface.BUTTON_NEGATIVE, in SafetyWarning()
/frameworks/base/docs/html/sdk/api_diff/3/
DmissingSinces.txt392 NO DOC BLOCK: android.app.AlertDialog Method setButton(int, java.lang.CharSequence, android.content…
393 NO DOC BLOCK: android.app.AlertDialog Method setButton(int, java.lang.CharSequence, android.os.Mess…
394 NO DOC BLOCK: android.app.AlertDialog Method setButton(java.lang.CharSequence, android.content.Dial…
395 NO DOC BLOCK: android.app.AlertDialog Method setButton(java.lang.CharSequence, android.os.Message)
/frameworks/base/api/
Dsystem-current.txt3808 method public void setButton(int, java.lang.CharSequence, android.os.Message);
3809 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…
3810 method public deprecated void setButton(java.lang.CharSequence, android.os.Message);
3811 …method public deprecated void setButton(java.lang.CharSequence, android.content.DialogInterface.On…
Dcurrent.txt3719 method public void setButton(int, java.lang.CharSequence, android.os.Message);
3720 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…
3721 method public deprecated void setButton(java.lang.CharSequence, android.os.Message);
3722 …method public deprecated void setButton(java.lang.CharSequence, android.content.DialogInterface.On…