Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DAlertDialog.java130 public Button getButton(int whichButton) { in getButton() argument
131 return mAlert.getButton(whichButton); in getButton()
210 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() argument
211 mAlert.setButton(whichButton, text, null, msg, null); in setButton()
225 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() argument
226 mAlert.setButton(whichButton, text, listener, null, null); in setButton()
242 public void setButton(int whichButton, CharSequence text, Drawable icon, in setButton() argument
244 mAlert.setButton(whichButton, text, listener, null, icon); in setButton()
DAlertController.java320 public void setButton(int whichButton, CharSequence text, in setButton() argument
324 msg = mHandler.obtainMessage(whichButton, listener); in setButton()
327 switch (whichButton) { in setButton()
407 public Button getButton(int whichButton) { in getButton() argument
408 switch (whichButton) { in getButton()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentAlertDialogSupport.java96 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
104 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
/frameworks/base/core/java/android/app/
DAlertDialog.java239 public Button getButton(int whichButton) { in getButton() argument
240 return mAlert.getButton(whichButton); in getButton()
320 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton() argument
321 mAlert.setButton(whichButton, text, null, msg); in setButton()
334 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() argument
335 mAlert.setButton(whichButton, text, listener, null); in setButton()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java365 public void setButton(int whichButton, CharSequence text, in setButton() argument
369 msg = mHandler.obtainMessage(whichButton, listener); in setButton()
372 switch (whichButton) { in setButton()
453 public Button getButton(int whichButton) { in getButton() argument
454 switch (whichButton) { in getButton()
/frameworks/base/core/java/android/widget/
DVideoView.java590 public void onClick(DialogInterface dialog, int whichButton) {