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

/frameworks/base/core/java/android/app/
H A DAlertDialog.java154 * @param whichButton The identifier of the button that should be returned.
159 public Button getButton(int whichButton) { argument
160 return mAlert.getButton(whichButton);
214 * @param whichButton Which button to set the message for, can be one of
221 public void setButton(int whichButton, CharSequence text, Message msg) { argument
222 mAlert.setButton(whichButton, text, null, msg);
228 * @param whichButton Which button to set the listener on, can be one of
235 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
236 mAlert.setButton(whichButton, text, listener, null);
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java290 * @param whichButton Which button, can be one of
298 public void setButton(int whichButton, CharSequence text, argument
302 msg = mHandler.obtainMessage(whichButton, listener);
305 switch (whichButton) {
370 public Button getButton(int whichButton) { argument
371 switch (whichButton) {
/frameworks/base/core/java/android/widget/
H A DVideoView.java519 public void onClick(DialogInterface dialog, int whichButton) {
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java2734 public void onClick(DialogInterface dialog, int whichButton) {

Completed in 68 milliseconds