Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DAlertDialog.java307 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() method in AlertDialog
308 mAlert.setButton(whichButton, text, null, msg); in setButton()
321 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() method in AlertDialog
322 mAlert.setButton(whichButton, text, listener, null); in setButton()
330 public void setButton(CharSequence text, Message msg) { in setButton() method in AlertDialog
331 setButton(BUTTON_POSITIVE, text, msg); in setButton()
340 setButton(BUTTON_NEGATIVE, text, msg); in setButton2()
349 setButton(BUTTON_NEUTRAL, text, msg); in setButton3()
362 public void setButton(CharSequence text, final OnClickListener listener) { in setButton() method in AlertDialog
363 setButton(BUTTON_POSITIVE, text, listener); in setButton()
[all …]
DTimePickerDialog.java123 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog()
124 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.java1527 d.setButton(DialogInterface.BUTTON_POSITIVE, mContext.getText(R.string.ok), in handleMessage()
1539 d.setButton(DialogInterface.BUTTON_POSITIVE, mContext.getText(R.string.ok), in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java51 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog()
53 setButton(DialogInterface.BUTTON_NEGATIVE, in SafetyWarningDialog()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertDialog.java194 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() method in AlertDialog
195 mAlert.setButton(whichButton, text, null, msg); in setButton()
208 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() method in AlertDialog
209 mAlert.setButton(whichButton, text, listener, null); in setButton()
DAlertController.java302 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController
697 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
701 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
705 dialog.setButton(DialogInterface.BUTTON_NEUTRAL, mNeutralButtonText, in apply()
/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/qs/
DQSFooter.java142 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog()
144 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getNegativeButton(), this); in createDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java175 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, context.getString(R.string.cancel), in showResetRequest()
177 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showResetRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java620 setButton(DialogInterface.BUTTON_NEGATIVE, in ExitGuestDialog()
622 setButton(DialogInterface.BUTTON_POSITIVE, in ExitGuestDialog()
646 setButton(DialogInterface.BUTTON_NEGATIVE, in AddUserDialog()
648 setButton(DialogInterface.BUTTON_POSITIVE, in AddUserDialog()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java321 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController
989 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
993 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
997 dialog.setButton(DialogInterface.BUTTON_NEUTRAL, mNeutralButtonText, in apply()
/frameworks/support/v7/appcompat/api/
D22.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…
D22.2.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…
D22.2.1.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…
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…
D23.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…
/frameworks/support/v7/mediarouter/api/
D23.txt166 method public void setButton(int, java.lang.CharSequence, android.os.Message);
167 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…
Dcurrent.txt166 method public void setButton(int, java.lang.CharSequence, android.os.Message);
167 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…

12