Home
last modified time | relevance | path

Searched refs:setButton (Results 1 – 22 of 22) 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.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/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.java75 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.launch), null, in onCreate()
77 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.done), in onCreate()
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()
DPackageInstallerActivity.java384 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.install), in bindUi()
395 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in bindUi()
DInstallInstalling.java101 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java90 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, context.getString(R.string.cancel), in showResetRequest()
92 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/services/core/java/com/android/server/wm/
DFactoryErrorDialog.java33 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
DActivityTaskManagerService.java6469 d.setButton(DialogInterface.BUTTON_POSITIVE, in showSystemReadyErrorDialogsIfNeeded()
6488 d.setButton(DialogInterface.BUTTON_POSITIVE, in showSystemReadyErrorDialogsIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java841 setButton(DialogInterface.BUTTON_NEGATIVE, in ExitGuestDialog()
843 setButton(DialogInterface.BUTTON_POSITIVE, in ExitGuestDialog()
869 setButton(DialogInterface.BUTTON_NEGATIVE, in AddUserDialog()
871 setButton(DialogInterface.BUTTON_POSITIVE, in AddUserDialog()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java378 public void setButton(int whichButton, CharSequence text, in setButton() method in AlertController
1102 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
1106 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mNegativeButtonText, in apply()
1110 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.java270 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog()
282 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getSettingsButton(), this); in createDialog()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...