Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAlertDialog.java323 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() method in AlertDialog
324 mAlert.setButton(whichButton, text, null, msg); in setButton()
337 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() method in AlertDialog
338 mAlert.setButton(whichButton, text, listener, null); in setButton()
346 public void setButton(CharSequence text, Message msg) { in setButton() method in AlertDialog
347 setButton(BUTTON_POSITIVE, text, msg); in setButton()
356 setButton(BUTTON_NEGATIVE, text, msg); in setButton2()
365 setButton(BUTTON_NEUTRAL, text, msg); in setButton3()
378 public void setButton(CharSequence text, final OnClickListener listener) { in setButton() method in AlertDialog
379 setButton(BUTTON_POSITIVE, text, listener); in setButton()
[all …]
DTimePickerDialog.java124 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog()
125 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in TimePickerDialog()
DDatePickerDialog.java124 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in DatePickerDialog()
125 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.java84 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton()
88 setButton(BUTTON_NEGATIVE, mContext.getString(resId), onClick); in setNegativeButton()
92 setButton(BUTTON_NEUTRAL, mContext.getString(resId), onClick); in setNeutralButton()
/frameworks/base/services/core/java/com/android/server/am/
DStrictModeViolationDialog.java66 setButton(DialogInterface.BUTTON_POSITIVE, in StrictModeViolationDialog()
71 setButton(DialogInterface.BUTTON_NEGATIVE, in StrictModeViolationDialog()
DAppWaitingForDebuggerDialog.java54 setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app)); in AppWaitingForDebuggerDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java59 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog()
61 setButton(DialogInterface.BUTTON_NEGATIVE, in SafetyWarningDialog()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java101 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.launch), null, in bindUi()
103 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.done), in bindUi()
DInstallFailed.java118 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.done), in onCreate()
DInstallStaging.java64 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in onCreate()
DInstallInstalling.java101 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in onCreate()
DPackageInstallerActivity.java414 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.install), in bindUi()
425 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in bindUi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java137 setButton(BUTTON_WIPE, in ResetSessionDialog()
139 setButton(BUTTON_DONTWIPE, in ResetSessionDialog()
/frameworks/base/services/core/java/com/android/server/wm/
DFactoryErrorDialog.java33 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
DActivityTaskManagerService.java5485 d.setButton(DialogInterface.BUTTON_POSITIVE, in showSystemReadyErrorDialogsIfNeeded()
5504 d.setButton(DialogInterface.BUTTON_POSITIVE, in showSystemReadyErrorDialogsIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DChallengeDialogs.kt88 setButton( in <lambda>()
100 setButton( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java300 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mContext.getString(R.string.cancel), in showResetRequest()
302 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showResetRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooter.java347 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog()
348 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getNegativeButton(), this); in createDialog()
393 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getSettingsButton(), this); in createOrganizationDialogView()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java377 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController
1131 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
1135 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
1139 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/statusbar/policy/
DUserSwitcherController.java1109 setButton(DialogInterface.BUTTON_NEGATIVE, in ExitGuestDialog()
1111 setButton(DialogInterface.BUTTON_POSITIVE, in ExitGuestDialog()
1146 setButton(DialogInterface.BUTTON_NEGATIVE, in AddUserDialog()
1148 setButton(DialogInterface.BUTTON_POSITIVE, in AddUserDialog()
/frameworks/base/core/api/
Dcurrent.txt4441 method public void setButton(int, CharSequence, android.os.Message);
4442 … method public void setButton(int, CharSequence, android.content.DialogInterface.OnClickListener);
4443 method @Deprecated public void setButton(CharSequence, android.os.Message);
4444 …method @Deprecated public void setButton(CharSequence, android.content.DialogInterface.OnClickList…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.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…