Searched refs:MockView (Results 1 – 5 of 5) sorted by relevance
301 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testOnAnimation()316 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testGetParent()356 assertTrue(view instanceof MockView); in testFindViewById()366 assertTrue(requiredView instanceof MockView); in testRequireViewById()390 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTouchDelegate()416 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testMouseEventCallsGetPointerIcon()442 final MockView view2 = (MockView) mActivity.findViewById(R.id.scroll_view); in testMouseEventCallsGetPointerIcon()576 MockView mockView = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTag()577 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag()606 final MockView mockView = new MockView(mActivity); in testOnSizeChanged()[all …]
35 public class MockView extends View { class81 public MockView(Context context) { in MockView() method in MockView85 public MockView(Context context, AttributeSet attrs) { in MockView() method in MockView89 public MockView(Context context, AttributeSet attrs, int defStyle) { in MockView() method in MockView
158 View v1 = new MockView(mContext); in testAddKeyboardNavigationClusters()160 View v2 = new MockView(mContext); in testAddKeyboardNavigationClusters()769 MockView mv = new MockView(mContext); in testFitSystemWindows()774 static class MockView extends ViewGroup { class in ViewGroupTest779 public MockView(Context context) { in MockView() method in ViewGroupTest.MockView804 MockView child = new MockView(mContext); in testFocusableViewAvailable()816 MockView child = new MockView(mContext); in testFocusSearch()1092 MockView child = new MockView(mContext); in testMeasureChild()1136 MockView child = new MockView(mContext); in testMeasureChildWithMargins()1501 MockView child = new MockView(mContext); in testRequestDisallowInterceptTouchEvent()[all …]
652 MockView childView = (MockView) mListView.getChildAt(0); in testRequestLayoutCallsMeasure()883 private class MockView extends View { class in ListViewTest887 public MockView(Context context) { in MockView() method in ListViewTest.MockView906 return new MockView(getContext()); in getView()
680 final MockView v = new MockView(mContext); in testContextMenu()1070 private static class MockView extends View { class in DialogTest1074 public MockView(Context context) { in MockView() method in DialogTest.MockView