Home
last modified time | relevance | path

Searched refs:setButton (Results 1 – 25 of 34) 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.java120 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog()
121 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/
DUserUtil.java43 setButton(DialogInterface.BUTTON_NEGATIVE, in RemoveUserDialog()
45 setButton(DialogInterface.BUTTON_POSITIVE, in RemoveUserDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java55 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton()
59 setButton(BUTTON_NEGATIVE, mContext.getString(resId), onClick); in setNegativeButton()
/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/
DGuestResumeSessionReceiver.java160 setButton(BUTTON_WIPE, in ResetSessionDialog()
162 setButton(BUTTON_DONTWIPE, in ResetSessionDialog()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertDialog.java206 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() method in AlertDialog
207 mAlert.setButton(whichButton, text, null, msg); in setButton()
221 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() method in AlertDialog
222 mAlert.setButton(whichButton, text, listener, null); in setButton()
DAlertController.java300 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController
843 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
847 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
851 dialog.setButton(DialogInterface.BUTTON_NEUTRAL, mNeutralButtonText, in apply()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java144 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog()
146 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getSettingsButton(), this); in createDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java231 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, context.getString(R.string.cancel), in showResetRequest()
233 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showResetRequest()
DNavBarTuner.java526 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showWidthDialog()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DAlertDialogTest.java1146 mAlertDialog.setButton(DialogInterface.BUTTON_POSITIVE, positiveButtonText, in verifyDialogButtonsPostCreation()
1150 mAlertDialog.setButton(DialogInterface.BUTTON_NEGATIVE, negativeButtonText, in verifyDialogButtonsPostCreation()
1154 mAlertDialog.setButton(DialogInterface.BUTTON_NEUTRAL, neutralButtonText, in verifyDialogButtonsPostCreation()
1209 mAlertDialog.setButton(DialogInterface.BUTTON_POSITIVE, positiveButtonText, in verifyDialogButtonsPostCreationMessage()
1213 mAlertDialog.setButton(DialogInterface.BUTTON_NEGATIVE, negativeButtonText, in verifyDialogButtonsPostCreationMessage()
1217 mAlertDialog.setButton(DialogInterface.BUTTON_NEUTRAL, neutralButtonText, in verifyDialogButtonsPostCreationMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java817 setButton(DialogInterface.BUTTON_NEGATIVE, in ExitGuestDialog()
819 setButton(DialogInterface.BUTTON_POSITIVE, in ExitGuestDialog()
843 setButton(DialogInterface.BUTTON_NEGATIVE, in AddUserDialog()
845 setButton(DialogInterface.BUTTON_POSITIVE, in AddUserDialog()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java323 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController
1000 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
1004 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
1008 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…
D23.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…
/frameworks/support/v7/mediarouter/api/
D23.1.0.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…
D23.0.0.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…
D23.1.1.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.txt158 method public void setButton(int, java.lang.CharSequence, android.os.Message);
159 …method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickL…

12