Searched refs:cancelListener (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | View_UsingViewsTest.java | 276 View.OnFocusChangeListener cancelListener = mock(View.OnFocusChangeListener.class); in testSetFocus() local 282 mButtonCancel.setOnFocusChangeListener(cancelListener); in testSetFocus() 300 verifyZeroInteractions(cancelListener); in testSetFocus() 311 verifyZeroInteractions(cancelListener); in testSetFocus() 320 verify(cancelListener, times(1)).onFocusChange(mButtonCancel, true); in testSetFocus() 333 verify(cancelListener, times(1)).onFocusChange(mButtonCancel, false); in testSetFocus() 347 verifyZeroInteractions(cancelListener); in testSetFocus() 355 verifyZeroInteractions(cancelListener); 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() 364 … public MockAlertDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in MockAlertDialog() argument 365 super(context, cancelable, cancelListener); in MockAlertDialog()
|
D | TestDialog.java | 95 public TestDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in TestDialog() argument 96 super(context, cancelable, cancelListener); in TestDialog()
|