Searched defs:whichButton (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/app/
H A DAlertDialog.java234 * @param whichButton The identifier of the button that should be returned.
239 public Button getButton(int whichButton) { argument
240 return mAlert.getButton(whichButton);
313 * @param whichButton Which button to set the message for, can be one of
320 public void setButton(int whichButton, CharSequence text, Message msg) { argument
321 mAlert.setButton(whichButton, text, null, msg);
327 * @param whichButton Which button to set the listener on, can be one of
334 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
335 mAlert.setButton(whichButton, text, listener, null);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DAlertDialog.java125 * @param whichButton The identifier of the button that should be returned.
130 public Button getButton(int whichButton) { argument
131 return mAlert.getButton(whichButton);
203 * @param whichButton Which button to set the message for, can be one of
210 public void setButton(int whichButton, CharSequence text, Message msg) { argument
211 mAlert.setButton(whichButton, text, null, msg, null);
218 * @param whichButton Which button to set the listener on, can be one of
225 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
226 mAlert.setButton(whichButton, text, listener, null, null);
234 * @param whichButton Whic
242 setButton(int whichButton, CharSequence text, Drawable icon, OnClickListener listener) argument
[all...]
H A DAlertController.java310 * @param whichButton Which button, can be one of
320 public void setButton(int whichButton, CharSequence text, argument
324 msg = mHandler.obtainMessage(whichButton, listener);
327 switch (whichButton) {
407 public Button getButton(int whichButton) { argument
408 switch (whichButton) {
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java357 * @param whichButton Which button, can be one of
365 public void setButton(int whichButton, CharSequence text, argument
369 msg = mHandler.obtainMessage(whichButton, listener);
372 switch (whichButton) {
453 public Button getButton(int whichButton) { argument
454 switch (whichButton) {

Completed in 324 milliseconds