Searched refs:mockView (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 727 MockView mockView = (MockView) mActivity.findViewById(R.id.mock_view); in testAccessTag() local 733 viewData.firstChild = mockView; in testAccessTag() 739 assertNull(mockView.getTag()); in testAccessTag() 740 mockView.setTag(tag); in testAccessTag() 741 assertEquals(tag, mockView.getTag()); in testAccessTag() 747 assertSame(mockView, viewGroup.findViewWithTag(tag)); in testAccessTag() 750 mockView.setTag(null); in testAccessTag() 751 assertNull(mockView.getTag()); in testAccessTag() 757 final MockView mockView = new MockView(mActivity); in testOnSizeChanged() local 758 assertEquals(-1, mockView.getOldWOnSizeChanged()); in testOnSizeChanged() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListViewTest.java | 231 View mockView = mock(View.class); in testSendClickAccessibilityEvent() local 232 mExpandableListView.performItemClick(mockView, 100, 99); in testSendClickAccessibilityEvent() 233 verify(mockView).sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_CLICKED); in testSendClickAccessibilityEvent()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | StylusHandwritingTest.java | 2166 View mockView = mock(View.class); 2167 TestUtils.injectStylusDownEvent(mockView, startX, startY); 2168 TestUtils.injectStylusMoveEvents(mockView, startX, startY, endX, endY, 5); 2202 TestUtils.injectStylusUpEvent(mockView, endX, endY);
|