Searched refs:popupPos (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 1259 final Point popupPos = new Point(); in testUpdatePositionAndDimension() local 1289 popupPos.set(windowInsets.getStableInsetLeft() + 20, windowInsets.getStableInsetTop() + 50); in testUpdatePositionAndDimension() 1292 mActivityRule.runOnUiThread(() -> mPopupWindow.update(popupPos.x, popupPos.y, 50, 50)); 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() 1303 popupPos.set(windowInsets.getStableInsetLeft() + 4, windowInsets.getStableInsetTop()); in testUpdatePositionAndDimension() 1307 () -> mPopupWindow.update(popupPos.x, popupPos.y, -1, -1, true)); 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()
|