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.java681 int[] anchorXY = new int[2]; in testShowAsDropDownWithOffsets() local
687 upperAnchor.getLocationOnScreen(anchorXY); in testShowAsDropDownWithOffsets()
698 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()
699 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()
706 int[] anchorXY = new int[2]; in testOverlapAnchor() local
712 upperAnchor.getLocationOnScreen(anchorXY); in testOverlapAnchor()
723 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()
724 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
1357 int[] anchorXY = new int[2]; in testUpdateDimensionAndAlignAnchorViewWithOffsets() local
1369 anchorView.getLocationOnScreen(anchorXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
[all …]
DListPopupWindowTest.java259 int[] anchorXY = new int[2]; in verifyAnchoring() local
269 upperAnchor.getLocationOnScreen(anchorXY); in verifyAnchoring()
273 int expectedListViewOnScreenX = anchorXY[0] + listViewInWindowXY[0] + horizontalOffset; in verifyAnchoring()
287 int expectedListViewOnScreenY = anchorXY[1] + listViewInWindowXY[1] in verifyAnchoring()