/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/ |
D | ExitGuestDialog.kt | 100 setButton( 105 setButton( 113 setButton( 118 setButton( 123 setButton(
|
D | AddUserDialog.kt | 92 setButton( 98 setButton(
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | TestableAlertDialogTest.kt | 207 dialog.setButton(BUTTON_POSITIVE, "", listener) in positiveButtonClick() 219 dialog.setButton(BUTTON_POSITIVE, "", listener) in positiveButtonListener_noCalledWhenClickOtherButtons() 232 dialog.setButton(BUTTON_NEGATIVE, "", listener) in negativeButtonClick() 244 dialog.setButton(BUTTON_NEGATIVE, "", listener) in negativeButtonListener_noCalledWhenClickOtherButtons() 257 dialog.setButton(BUTTON_NEUTRAL, "", listener) in neutralButtonClick() 269 dialog.setButton(BUTTON_NEUTRAL, "", listener) in neutralButtonListener_noCalledWhenClickOtherButtons() 282 dialog.setButton(BUTTON_POSITIVE, "", listener) in sameClickListenerCalledCorrectly() 283 dialog.setButton(BUTTON_NEUTRAL, "", listener) in sameClickListenerCalledCorrectly() 284 dialog.setButton(BUTTON_NEGATIVE, "", listener) in sameClickListenerCalledCorrectly()
|
/frameworks/base/core/java/android/app/ |
D | AlertDialog.java | 323 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 …]
|
D | TimePickerDialog.java | 124 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog() 125 setButton(BUTTON_NEGATIVE, themeContext.getString(R.string.cancel), this); in TimePickerDialog()
|
D | DatePickerDialog.java | 124 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/ |
D | GuestResetOrExitSessionReceiver.java | 165 dialog.setButton( in create() 169 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in create() 241 dialog.setButton( in create() 245 dialog.setButton( in create() 257 dialog.setButton( in create() 261 dialog.setButton( in create() 266 dialog.setButton( in create()
|
D | GuestResumeSessionReceiver.java | 165 setButton(BUTTON_WIPE, in ResetSessionDialog() 167 setButton(BUTTON_DONTWIPE, in ResetSessionDialog()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | CustomDialogHelper.java | 101 setButton(POSITIVE_BUTTON, resid, onClickListener); in setPositiveButton() 118 setButton(NEGATIVE_BUTTON, resid, onClickListener); in setNegativeButton() 135 setButton(BACK_BUTTON, resid, onClickListener); in setBackButton() 147 private void setButton(@LayoutButton int whichButton, @StringRes int resid, in setButton() method in CustomDialogHelper
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/ |
D | TestableAlertDialog.kt | 111 override fun setButton( in setButton() method 116 super.setButton(whichButton, text, listener) in setButton()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | StrictModeViolationDialog.java | 66 setButton(DialogInterface.BUTTON_POSITIVE, in StrictModeViolationDialog() 71 setButton(DialogInterface.BUTTON_NEGATIVE, in StrictModeViolationDialog()
|
D | AppWaitingForDebuggerDialog.java | 56 setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app)); in AppWaitingForDebuggerDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 406 setButton(BUTTON_POSITIVE, resId, onClick, dismissOnClick); in setPositiveButton() 422 setButton(BUTTON_NEGATIVE, resId, onClick, dismissOnClick); in setNegativeButton() 438 setButton(BUTTON_NEUTRAL, resId, onClick, dismissOnClick); in setNeutralButton() 441 private void setButton(int whichButton, int resId, OnClickListener onClick, in setButton() method in SystemUIDialog 444 setButton(whichButton, mContext.getString(resId), onClick); in setButton() 447 setButton(whichButton, mContext.getString(resId), (OnClickListener) null); in setButton()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/ |
D | SensorUseDialog.kt | 66 setButton(BUTTON_POSITIVE, 69 setButton(BUTTON_NEGATIVE,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 59 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog() 61 setButton(DialogInterface.BUTTON_NEGATIVE, in SafetyWarningDialog()
|
D | CsdWarningDialog.java | 125 setButton(DialogInterface.BUTTON_POSITIVE, in CsdWarningDialog() 127 setButton(DialogInterface.BUTTON_NEGATIVE, in CsdWarningDialog()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | FactoryErrorDialog.java | 33 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/ |
D | ControlsSettingsDialogManager.kt | 217 setButton(DialogInterface.BUTTON_NEUTRAL, context.getText(msgId), listener) in AlertDialog() 224 setButton(DialogInterface.BUTTON_POSITIVE, context.getText(msgId), listener) in AlertDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ChallengeDialogs.kt | 88 setButton( in <lambda>() 100 setButton( in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/devicepolicy/ |
D | ScreenCaptureDisabledDialogDelegate.kt | 53 dialog.setButton(BUTTON_POSITIVE, resources.getString(android.R.string.ok)) { _, _ -> in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 311 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, mContext.getString(R.string.cancel), in showResetRequest() 313 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showResetRequest()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertController.java | 377 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()
|
D | MediaRouteControllerDialog.java | 141 setButton(BUTTON_NEGATIVE, res.getString(R.string.media_route_controller_disconnect), in onCreate()
|
/frameworks/base/packages/SystemUI/docs/ |
D | dialogs.md | 25 * `SystemUIDialog.set<Positive|Negative|Neutral>Button` or `AlertDialog.setButton`: this will use
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooterUtils.java | 454 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog() 455 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, mShouldUseSettingsButton.get() in createDialog()
|