Searched refs:containingRect (Results 1 – 2 of 2) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ManifestLayoutTests.java | 119 final Rect containingRect = mWindowState.getContainingFrame(); in testMinimalSize() local 121 assertEquals("Min width is incorrect", minWidth, containingRect.width()); in testMinimalSize() 122 assertEquals("Min height is incorrect", minHeight, containingRect.height()); in testMinimalSize() 143 final Rect containingRect = mWindowState.getContainingFrame(); in testLayout() local 159 vGravity, hGravity, expectedWidthPx, expectedHeightPx, containingRect, appRect); in testLayout()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 645 Rect containingRect = new Rect(); in testShowAtLocation() local 669 upperAnchor.getWindowDisplayFrame(containingRect); in testShowAtLocation() 673 …assertEquals(containingRect.left + popupContentViewInWindowXY[0] + xOff, popupContentViewOnScreenX… in testShowAtLocation() 674 …assertEquals(containingRect.top + popupContentViewInWindowXY[1] + yOff, popupContentViewOnScreenXY… in testShowAtLocation() 1258 Rect containingRect = new Rect(); in testUpdatePositionAndDimension() local 1278 containerView.getWindowDisplayFrame(containingRect); in testUpdatePositionAndDimension() 1300 assertEquals(containingRect.left + popupPos.x + viewInWindowXY[0], fstXY[0]); in testUpdatePositionAndDimension() 1301 assertEquals(containingRect.top + popupPos.y + viewInWindowXY[1], fstXY[1]); in testUpdatePositionAndDimension() 1315 assertEquals(containingRect.left + popupPos.x + viewInWindowXY[0], sndXY[0]); in testUpdatePositionAndDimension() 1316 assertEquals(containingRect.top + popupPos.y + viewInWindowXY[1], sndXY[1]); in testUpdatePositionAndDimension()
|