Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DViewTest.java338 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testOnAnimation()
353 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testGetParent()
393 assertTrue(view instanceof MockView); in testFindViewById()
403 assertTrue(requiredView instanceof MockView); in testRequireViewById()
427 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTouchDelegate()
513 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testMouseEventCallsGetPointerIcon()
527 final MockView view2 = (MockView) mActivity.findViewById(R.id.scroll_view); in testMouseEventCallsGetPointerIcon()
727 MockView mockView = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTag()
728 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag()
757 final MockView mockView = new MockView(mActivity); in testOnSizeChanged()
[all …]
DViewGroup_ScrollCaptureTest.java246 final MockView view1 = new MockView(context, 0, 0, 200, 25); in testDispatchScrollCaptureSearch_toChildren()
250 final MockView view2 = new MockView(context, 0, 25, 150, 100); in testDispatchScrollCaptureSearch_toChildren()
256 final MockView view3 = new MockView(context, 0, 100, 200, 200); in testDispatchScrollCaptureSearch_toChildren()
261 final MockView view4 = new MockView(context, 150, 25, 200, 100, View.INVISIBLE); in testDispatchScrollCaptureSearch_toChildren()
267 final MockView view5 = new MockView(context, 150, 100, 200, 200); in testDispatchScrollCaptureSearch_toChildren()
343 final MockView view1 = new MockView(context, 0, -100, 200, 100); in testOnScrollCaptureSearch_withPadding()
346 final MockView view2 = new MockView(context, 0, 0, 200, 200); in testOnScrollCaptureSearch_withPadding()
374 public static final class MockView extends View { class in ViewGroup_ScrollCaptureTest
383 MockView(Context context) { in MockView() method in ViewGroup_ScrollCaptureTest.MockView
387 MockView(Context context, int left, int top, int right, int bottom) { in MockView() method in ViewGroup_ScrollCaptureTest.MockView
[all …]
DView_DragShadowBuilderTest.java49 private MockView mView;
62 mView = new MockView(mActivityRule.getActivity()); in setup()
DView_ForceLayout.java52 private MockView mChild1;
53 private MockView mChild2;
65 mChild1 = new MockView(context); in setup()
66 mChild2 = new MockView(context); in setup()
DMockView.java38 public class MockView extends View { class
86 public MockView(Context context) { in MockView() method in MockView
90 public MockView(Context context, AttributeSet attrs) { in MockView() method in MockView
94 public MockView(Context context, AttributeSet attrs, int defStyle) { in MockView() method in MockView
DViewGroupTest.java178 View v1 = new MockView(mContext); in testAddKeyboardNavigationClusters()
180 View v2 = new MockView(mContext); in testAddKeyboardNavigationClusters()
785 static class MockView extends ViewGroup { class in ViewGroupTest
790 public MockView(Context context) { in MockView() method in ViewGroupTest.MockView
810 MockView child = new MockView(mContext); in testFocusableViewAvailable()
822 MockView child = new MockView(mContext); in testFocusSearch()
1273 MockView child = new MockView(mContext); in testMeasureChild()
1317 MockView child = new MockView(mContext); in testMeasureChildWithMargins()
1682 MockView child = new MockView(mContext); in testRequestDisallowInterceptTouchEvent()
2054 MockView child1 = new MockView(mContext); in testRequestTransparentRegion()
[all …]
/cts/tests/tests/view/sdk28/src/android/view/cts/sdk28/
DViewGroupTest.java57 MockView mv = new MockView(mContext); in testFitSystemWindows()
78 private class MockView extends View { class in ViewGroupTest
80 public MockView(Context context) { in MockView() method in ViewGroupTest.MockView
/cts/tests/app/src/android/app/cts/
DDialogTest.java643 final MockView v = new MockView(mContext); in testContextMenu()
1027 private static class MockView extends View { class in DialogTest
1031 public MockView(Context context) { in MockView() method in DialogTest.MockView
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java693 MockView childView = (MockView) mListView.getChildAt(0); in testRequestLayoutCallsMeasure()
917 private class MockView extends View { class in ListViewTest
921 public MockView(Context context) { in MockView() method in ListViewTest.MockView
940 return new MockView(getContext()); in getView()