Searched refs:containingRect (Results 1 – 2 of 2) sorted by relevance
122 final Rect containingRect = mWindowState.getContainingFrame(); in testMinimalSize() local126 containingRect.width() + cutoutSize); in testMinimalSize()127 assertEquals("Min height is incorrect", minHeight, containingRect.height()); in testMinimalSize()148 final Rect containingRect = mWindowState.getContainingFrame(); in testLayout() local167 containingRect, stableBounds); in testLayout()
691 Rect containingRect = new Rect(); in testShowAtLocation() local715 upperAnchor.getWindowDisplayFrame(containingRect); in testShowAtLocation()719 …assertEquals(containingRect.left + popupContentViewInWindowXY[0] + xOff, popupContentViewOnScreenX… in testShowAtLocation()720 …assertEquals(containingRect.top + popupContentViewInWindowXY[1] + yOff, popupContentViewOnScreenXY… in testShowAtLocation()1304 Rect containingRect = new Rect(); in testUpdatePositionAndDimension() local1324 containerView.getWindowDisplayFrame(containingRect); in testUpdatePositionAndDimension()1346 assertEquals(containingRect.left + popupPos.x + viewInWindowXY[0], fstXY[0]); in testUpdatePositionAndDimension()1347 assertEquals(containingRect.top + popupPos.y + viewInWindowXY[1], fstXY[1]); in testUpdatePositionAndDimension()1361 assertEquals(containingRect.left + popupPos.x + viewInWindowXY[0], sndXY[0]); in testUpdatePositionAndDimension()1362 assertEquals(containingRect.top + popupPos.y + viewInWindowXY[1], sndXY[1]); in testUpdatePositionAndDimension()