Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java96 private Window.Callback mWindowCallback; field in WindowTest
114 mWindowCallback = mock(Window.Callback.class); in setup()
115 doReturn(true).when(mWindowCallback).dispatchKeyEvent(any()); in setup()
116 doReturn(true).when(mWindowCallback).dispatchTouchEvent(any()); in setup()
117 doReturn(true).when(mWindowCallback).dispatchTrackballEvent(any()); in setup()
118 doReturn(true).when(mWindowCallback).dispatchGenericMotionEvent(any()); in setup()
119 doReturn(true).when(mWindowCallback).dispatchPopulateAccessibilityEvent(any()); in setup()
120 doReturn(true).when(mWindowCallback).onMenuItemSelected(anyInt(), any()); in setup()
163 mWindow.setCallback(mWindowCallback); in testOpFlags()
164 verify(mWindowCallback, never()).onWindowAttributesChanged(any()); in testOpFlags()
[all …]