Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DViewTest.java314 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testOnAnimation()
329 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testGetParent()
369 assertTrue(view instanceof MockView); in testFindViewById()
379 assertTrue(requiredView instanceof MockView); in testRequireViewById()
403 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTouchDelegate()
489 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); in testMouseEventCallsGetPointerIcon()
515 final MockView view2 = (MockView) mActivity.findViewById(R.id.scroll_view); in testMouseEventCallsGetPointerIcon()
712 MockView mockView = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTag()
713 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag()
742 final MockView mockView = new MockView(mActivity); in testOnSizeChanged()
[all …]
DViewGroup_ScrollCaptureTest.java244 final MockView view1 = new MockView(context, 0, 0, 200, 25); in testDispatchScrollCaptureSearch_toChildren()
248 final MockView view2 = new MockView(context, 0, 25, 150, 100); in testDispatchScrollCaptureSearch_toChildren()
254 final MockView view3 = new MockView(context, 0, 100, 200, 200); in testDispatchScrollCaptureSearch_toChildren()
259 final MockView view4 = new MockView(context, 150, 25, 200, 100, View.INVISIBLE); in testDispatchScrollCaptureSearch_toChildren()
265 final MockView view5 = new MockView(context, 150, 100, 200, 200); in testDispatchScrollCaptureSearch_toChildren()
341 final MockView view1 = new MockView(context, 0, -100, 200, 100); in testOnScrollCaptureSearch_withPadding()
344 final MockView view2 = new MockView(context, 0, 0, 200, 200); in testOnScrollCaptureSearch_withPadding()
372 public static final class MockView extends View { class in ViewGroup_ScrollCaptureTest
381 MockView(Context context) { in MockView() method in ViewGroup_ScrollCaptureTest.MockView
385 MockView(Context context, int left, int top, int right, int bottom) { in MockView() method in ViewGroup_ScrollCaptureTest.MockView
[all …]
DView_DragShadowBuilderTest.java43 private MockView mView;
51 mView = new MockView(mActivityRule.getActivity()); in setup()
DMockView.java38 public class MockView extends View { class
85 public MockView(Context context) { in MockView() method in MockView
89 public MockView(Context context, AttributeSet attrs) { in MockView() method in MockView
93 public MockView(Context context, AttributeSet attrs, int defStyle) { in MockView() method in MockView
DViewGroupTest.java170 View v1 = new MockView(mContext); in testAddKeyboardNavigationClusters()
172 View v2 = new MockView(mContext); in testAddKeyboardNavigationClusters()
777 static class MockView extends ViewGroup { class in ViewGroupTest
782 public MockView(Context context) { in MockView() method in ViewGroupTest.MockView
802 MockView child = new MockView(mContext); in testFocusableViewAvailable()
814 MockView child = new MockView(mContext); in testFocusSearch()
1264 MockView child = new MockView(mContext); in testMeasureChild()
1308 MockView child = new MockView(mContext); in testMeasureChildWithMargins()
1673 MockView child = new MockView(mContext); in testRequestDisallowInterceptTouchEvent()
2027 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.java642 final MockView v = new MockView(mContext); in testContextMenu()
1012 private static class MockView extends View { class in DialogTest
1016 public MockView(Context context) { in MockView() method in DialogTest.MockView
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java675 MockView childView = (MockView) mListView.getChildAt(0); in testRequestLayoutCallsMeasure()
899 private class MockView extends View { class in ListViewTest
903 public MockView(Context context) { in MockView() method in ListViewTest.MockView
922 return new MockView(getContext()); in getView()