Home
last modified time | relevance | path

Searched refs:whichButton (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DTestableAlertDialog.kt112 whichButton: Int, in setButton()
116 super.setButton(whichButton, text, listener) in setButton()
117 when (whichButton) { in setButton()
130 fun clickButton(whichButton: Int) { in clickButton()
132 when (whichButton) { in clickButton()
136 else -> throw IllegalArgumentException("Wrong button $whichButton") in clickButton()
138 listener?.onClick(this, whichButton) in clickButton()
/frameworks/base/core/java/android/app/
DAlertDialog.java242 public Button getButton(int whichButton) { in getButton() argument
243 return mAlert.getButton(whichButton); in getButton()
323 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() argument
324 mAlert.setButton(whichButton, text, null, msg); in setButton()
337 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() argument
338 mAlert.setButton(whichButton, text, listener, null); in setButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java441 private void setButton(int whichButton, int resId, OnClickListener onClick, in setButton() argument
444 setButton(whichButton, mContext.getString(resId), onClick); in setButton()
447 setButton(whichButton, mContext.getString(resId), (OnClickListener) null); in setButton()
451 mOnCreateRunnables.add(() -> getButton(whichButton).setOnClickListener( in setButton()
452 view -> onClick.onClick(this, whichButton))); in setButton()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertController.java242 public void setButton(int whichButton, CharSequence text, in setButton() argument
246 msg = mHandler.obtainMessage(whichButton, listener); in setButton()
249 switch (whichButton) { in setButton()
310 public Button getButton(int whichButton) { in getButton() argument
311 switch (whichButton) { in getButton()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DCustomDialogHelper.java147 private void setButton(@LayoutButton int whichButton, @StringRes int resid, in setButton() argument
149 switch (whichButton) { in setButton()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java377 public void setButton(int whichButton, CharSequence text, in setButton() argument
381 msg = mHandler.obtainMessage(whichButton, listener); in setButton()
384 switch (whichButton) { in setButton()
469 public Button getButton(int whichButton) { in getButton() argument
470 switch (whichButton) { in getButton()
/frameworks/base/core/java/android/widget/
DVideoView.java605 public void onClick(DialogInterface dialog, int whichButton) {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...