Searched defs:whichButton (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 165 * @param whichButton The identifier of the button that should be returned. 170 public Button getButton(int whichButton) { argument 171 return mAlert.getButton(whichButton); 233 * @param whichButton Which button to set the message for, can be one of 240 public void setButton(int whichButton, CharSequence text, Message msg) { argument 241 mAlert.setButton(whichButton, text, null, msg); 247 * @param whichButton Which button to set the listener on, can be one of 254 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument 255 mAlert.setButton(whichButton, text, listener, null);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 315 * @param whichButton Which button, can be one of 323 public void setButton(int whichButton, CharSequence text, argument 327 msg = mHandler.obtainMessage(whichButton, listener); 330 switch (whichButton) { 409 public Button getButton(int whichButton) { argument 410 switch (whichButton) {
|
Completed in 99 milliseconds