Home
last modified time | relevance | path

Searched refs:grandParent (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java1185 MockViewGroup grandParent = new MockViewGroup(mContext); in testOnDescendantInvalidated() local
1187 grandParent.addView(parent); in testOnDescendantInvalidated()
1188 mCtsActivityRule.getActivity().setContentView(grandParent); in testOnDescendantInvalidated()
1191 grandParent.isOnDescendantInvalidatedCalled = false; in testOnDescendantInvalidated()
1196 assertTrue(grandParent.isOnDescendantInvalidatedCalled); in testOnDescendantInvalidated()
1199 grandParent.isOnDescendantInvalidatedCalled = false; in testOnDescendantInvalidated()
1201 grandParent.invalidateChild(child, new Rect(0, 0, 1, 1)); in testOnDescendantInvalidated()
1204 assertTrue(grandParent.isOnDescendantInvalidatedCalled); in testOnDescendantInvalidated()
DViewTest.java3484 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in testRequestRectangleOnScreen5() local
3486 grandParent.addView(parent); in testRequestRectangleOnScreen5()
3491 assertEquals(new Rect(15, 16, 17, 19), grandParent.getLastRequestedChildRectOnScreen()); in testRequestRectangleOnScreen5()
3496 assertEquals(new Rect(14, 14, 16, 17), grandParent.getLastRequestedChildRectOnScreen()); in testRequestRectangleOnScreen5()
3503 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in requestRectangleOnScreenTest() local
3505 grandParent.addView(parent); in requestRectangleOnScreenTest()
3509 assertEquals(new Rect(10, 10, 12, 13), grandParent.getLastRequestedChildRectOnScreen()); in requestRectangleOnScreenTest()
3519 assertEquals(new Rect(9, 8, 11, 11), grandParent.getLastRequestedChildRectOnScreen()); in requestRectangleOnScreenTest()
3529 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in testRequestRectangleOnScreenWithScale() local
3531 grandParent.addView(parent); in testRequestRectangleOnScreenWithScale()
[all …]