Home
last modified time | relevance | path

Searched refs:anchorXY (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java751 int[] anchorXY = new int[2]; in testShowAsDropDownWithOffsets() local
757 upperAnchor.getLocationOnScreen(anchorXY); in testShowAsDropDownWithOffsets()
768 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()
769 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()
776 int[] anchorXY = new int[2]; in testOverlapAnchor() local
782 upperAnchor.getLocationOnScreen(anchorXY); in testOverlapAnchor()
793 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()
794 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
1427 int[] anchorXY = new int[2]; in testUpdateDimensionAndAlignAnchorViewWithOffsets() local
1439 anchorView.getLocationOnScreen(anchorXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
[all …]
DListPopupWindowTest.java275 int[] anchorXY = new int[2]; in verifyAnchoring() local
285 upperAnchor.getLocationOnScreen(anchorXY); in verifyAnchoring()
289 int expectedListViewOnScreenX = anchorXY[0] + listViewInWindowXY[0] + horizontalOffset; in verifyAnchoring()
304 int expectedListViewOnScreenY = anchorXY[1] + listViewInWindowXY[1] in verifyAnchoring()