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.java603 int[] anchorXY = new int[2]; in testShowAsDropDownWithOffsets() local
609 upperAnchor.getLocationOnScreen(anchorXY); in testShowAsDropDownWithOffsets()
620 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()
621 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()
627 int[] anchorXY = new int[2]; in testOverlapAnchor() local
633 upperAnchor.getLocationOnScreen(anchorXY); in testOverlapAnchor()
644 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()
645 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
884 int[] anchorXY = new int[2]; in testUpdateDimensionAndAlignAnchorViewWithOffsets() local
896 anchorView.getLocationOnScreen(anchorXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
[all …]
DListPopupWindowTest.java206 int[] anchorXY = new int[2]; in verifyAnchoring() local
214 upperAnchor.getLocationOnScreen(anchorXY); in verifyAnchoring()
217 int expectedListViewOnScreenX = anchorXY[0] + listViewInWindowXY[0] + horizontalOffset; in verifyAnchoring()
223 int expectedListViewOnScreenY = anchorXY[1] + listViewInWindowXY[1] in verifyAnchoring()