Searched refs:grandParent (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 1189 MockViewGroup grandParent = new MockViewGroup(mContext); in testOnDescendantInvalidated() local 1191 grandParent.addView(parent); in testOnDescendantInvalidated() 1192 mCtsActivityRule.getActivity().setContentView(grandParent); in testOnDescendantInvalidated() 1195 grandParent.isOnDescendantInvalidatedCalled = false; in testOnDescendantInvalidated() 1200 assertTrue(grandParent.isOnDescendantInvalidatedCalled); in testOnDescendantInvalidated() 1203 grandParent.isOnDescendantInvalidatedCalled = false; in testOnDescendantInvalidated() 1205 grandParent.invalidateChild(child, new Rect(0, 0, 1, 1)); in testOnDescendantInvalidated() 1208 assertTrue(grandParent.isOnDescendantInvalidatedCalled); in testOnDescendantInvalidated()
|
D | ViewTest.java | 3551 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in testRequestRectangleOnScreen5() local 3553 grandParent.addView(parent); in testRequestRectangleOnScreen5() 3558 assertEquals(new Rect(15, 16, 17, 19), grandParent.getLastRequestedChildRectOnScreen()); in testRequestRectangleOnScreen5() 3563 assertEquals(new Rect(14, 14, 16, 17), grandParent.getLastRequestedChildRectOnScreen()); in testRequestRectangleOnScreen5() 3570 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in requestRectangleOnScreenTest() local 3572 grandParent.addView(parent); in requestRectangleOnScreenTest() 3576 assertEquals(new Rect(10, 10, 12, 13), grandParent.getLastRequestedChildRectOnScreen()); in requestRectangleOnScreenTest() 3586 assertEquals(new Rect(9, 8, 11, 11), grandParent.getLastRequestedChildRectOnScreen()); in requestRectangleOnScreenTest() 3596 MockViewGroupParent grandParent = new MockViewGroupParent(mActivity); in testRequestRectangleOnScreenWithScale() local 3598 grandParent.addView(parent); in testRequestRectangleOnScreenWithScale() [all …]
|