Searched refs:cancelListener (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | View_UsingViewsTest.java | 269 MockOnFocusChangeListener cancelListener = new MockOnFocusChangeListener(); in testSetFocus() local 275 mButtonCancel.setOnFocusChangeListener(cancelListener); in testSetFocus() 291 assertFalse(cancelListener.hasFocus()); in testSetFocus() 305 assertTrue(cancelListener.hasFocus()); in testSetFocus() 315 assertFalse(cancelListener.hasFocus()); in testSetFocus()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DialogStubActivity.java | 253 OnCancelListener cancelListener = new OnCancelListener() { in getAlertDialogCancelableInstance() local 258 return new MockAlertDialog(this, cancelable, cancelListener); in getAlertDialogCancelableInstance() 365 … public MockAlertDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in MockAlertDialog() argument 366 super(context, cancelable, cancelListener); in MockAlertDialog()
|
D | TestDialog.java | 93 public TestDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in TestDialog() argument 94 super(context, cancelable, cancelListener); in TestDialog()
|