Searched refs:cancelListener (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | View_UsingViewsTest.java | 277 View.OnFocusChangeListener cancelListener = mock(View.OnFocusChangeListener.class); in testSetFocus() local 283 mButtonCancel.setOnFocusChangeListener(cancelListener); in testSetFocus() 301 verifyZeroInteractions(cancelListener); in testSetFocus() 312 verifyZeroInteractions(cancelListener); in testSetFocus() 321 verify(cancelListener, times(1)).onFocusChange(mButtonCancel, true); in testSetFocus() 334 verify(cancelListener, times(1)).onFocusChange(mButtonCancel, false); in testSetFocus() 348 verifyZeroInteractions(cancelListener); in testSetFocus() 356 verifyZeroInteractions(cancelListener); in testSetFocus()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DialogStubActivity.java | 254 OnCancelListener cancelListener = new OnCancelListener() { in getAlertDialogCancelableInstance() local 259 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 | 94 public TestDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in TestDialog() argument 95 super(context, cancelable, cancelListener); in TestDialog()
|