Searched refs:MockView (Results 1 – 7 of 7) sorted by relevance
310 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testOnAnimation()325 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testGetParent()365 assertTrue(view instanceof MockView); in testFindViewById()375 assertTrue(requiredView instanceof MockView); in testRequireViewById()399 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTouchDelegate()485 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testMouseEventCallsGetPointerIcon()511 final MockView view2 = (MockView) mActivity.findViewById(R.id.scroll_view); in testMouseEventCallsGetPointerIcon()708 MockView mockView = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTag()709 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag()738 final MockView mockView = new MockView(mActivity); in testOnSizeChanged()[all …]
43 private MockView mView;51 mView = new MockView(mActivityRule.getActivity()); in setup()
38 public class MockView extends View { class85 public MockView(Context context) { in MockView() method in MockView89 public MockView(Context context, AttributeSet attrs) { in MockView() method in MockView93 public MockView(Context context, AttributeSet attrs, int defStyle) { in MockView() method in MockView
169 View v1 = new MockView(mContext); in testAddKeyboardNavigationClusters()171 View v2 = new MockView(mContext); in testAddKeyboardNavigationClusters()773 static class MockView extends ViewGroup { class in ViewGroupTest778 public MockView(Context context) { in MockView() method in ViewGroupTest.MockView798 MockView child = new MockView(mContext); in testFocusableViewAvailable()810 MockView child = new MockView(mContext); in testFocusSearch()1260 MockView child = new MockView(mContext); in testMeasureChild()1304 MockView child = new MockView(mContext); in testMeasureChildWithMargins()1669 MockView child = new MockView(mContext); in testRequestDisallowInterceptTouchEvent()2023 MockView child1 = new MockView(mContext); in testRequestTransparentRegion()[all …]
57 MockView mv = new MockView(mContext); in testFitSystemWindows()78 private class MockView extends View { class in ViewGroupTest80 public MockView(Context context) { in MockView() method in ViewGroupTest.MockView
650 MockView childView = (MockView) mListView.getChildAt(0); in testRequestLayoutCallsMeasure()874 private class MockView extends View { class in ListViewTest878 public MockView(Context context) { in MockView() method in ListViewTest.MockView897 return new MockView(getContext()); in getView()
680 final MockView v = new MockView(mContext); in testContextMenu()1074 private static class MockView extends View { class in DialogTest1078 public MockView(Context context) { in MockView() method in DialogTest.MockView