Home
last modified time | relevance | path

Searched refs:containingRect (Results 1 – 3 of 3) sorted by relevance

/cts/tests/framework/base/activitymanager/src/android/server/am/
DActivityManagerManifestLayoutTests.java117 final Rect containingRect = mWindowState.getContainingFrame(); in testMinimalSize() local
119 assertEquals("Min width is incorrect", minWidth, containingRect.width()); in testMinimalSize()
120 assertEquals("Min height is incorrect", minHeight, containingRect.height()); in testMinimalSize()
141 final Rect containingRect = mWindowState.getContainingFrame(); in testLayout() local
157 vGravity, hGravity, expectedWidthPx, expectedHeightPx, containingRect, appRect); in testLayout()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java633 Rect containingRect = new Rect(); in testShowAtLocation() local
657 upperAnchor.getWindowDisplayFrame(containingRect); in testShowAtLocation()
661 assertEquals(containingRect.left + popupContentViewInWindowXY[0] + xOff, in testShowAtLocation()
663 assertEquals(containingRect.top + popupContentViewInWindowXY[1] + yOff, in testShowAtLocation()
945 Rect containingRect = new Rect(); in testUpdatePositionAndDimension() local
964 containerView.getWindowDisplayFrame(containingRect); in testUpdatePositionAndDimension()
983 assertEquals(containingRect.left + viewInWindowXY[0] + 20, fstXY[0]); in testUpdatePositionAndDimension()
984 assertEquals(containingRect.top + viewInWindowXY[1] + 50, fstXY[1]); in testUpdatePositionAndDimension()
995 assertEquals(containingRect.left + viewInWindowXY[0] + 4, sndXY[0]); in testUpdatePositionAndDimension()
996 assertEquals(containingRect.top + viewInWindowXY[1], sndXY[1]); in testUpdatePositionAndDimension()
/cts/tests/app/src/android/app/cts/
DDialogTest.java476 final Rect containingRect = new Rect(); in testTouchEvent() local
477 mActivity.getWindow().getDecorView().getWindowVisibleDisplayFrame(containingRect); in testTouchEvent()
478 final int x = containingRect.left + 1; in testTouchEvent()
479 final int y = containingRect.top + 1; in testTouchEvent()