Searched refs:grandParent (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 1017 MockViewGroup grandParent = new MockViewGroup(mContext); in testOnDescendantInvalidated() local 1019 grandParent.addView(parent); in testOnDescendantInvalidated() 1020 mCtsActivityRule.getActivity().setContentView(grandParent); in testOnDescendantInvalidated() 1023 grandParent.isOnDescendantInvalidatedCalled = false; in testOnDescendantInvalidated() 1028 assertTrue(grandParent.isOnDescendantInvalidatedCalled); in testOnDescendantInvalidated() 1031 grandParent.isOnDescendantInvalidatedCalled = false; in testOnDescendantInvalidated() 1033 grandParent.invalidateChild(child, new Rect(0, 0, 1, 1)); in testOnDescendantInvalidated() 1036 assertTrue(grandParent.isOnDescendantInvalidatedCalled); in testOnDescendantInvalidated()
|
D | ViewTest.java | 3230 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in testRequestRectangleOnScreen5() local 3232 grandParent.addView(parent); in testRequestRectangleOnScreen5() 3237 assertEquals(new Rect(15, 16, 17, 19), grandParent.getLastRequestedChildRectOnScreen()); in testRequestRectangleOnScreen5() 3242 assertEquals(new Rect(14, 14, 16, 17), grandParent.getLastRequestedChildRectOnScreen()); in testRequestRectangleOnScreen5() 3249 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in requestRectangleOnScreenTest() local 3251 grandParent.addView(parent); in requestRectangleOnScreenTest() 3255 assertEquals(new Rect(10, 10, 12, 13), grandParent.getLastRequestedChildRectOnScreen()); in requestRectangleOnScreenTest() 3265 assertEquals(new Rect(9, 8, 11, 11), grandParent.getLastRequestedChildRectOnScreen()); in requestRectangleOnScreenTest() 3275 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in testRequestRectangleOnScreenWithScale() local 3277 grandParent.addView(parent); in testRequestRectangleOnScreenWithScale() [all …]
|