Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java753 int[] viewInWindowXY = new int[2]; in testShowAsDropDownWithOffsets() local
767 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); 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()
778 int[] viewInWindowXY = new int[2]; in testOverlapAnchor() local
792 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); in testOverlapAnchor()
793 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()
794 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
1327 int[] viewInWindowXY = new int[2]; in testUpdatePositionAndDimension() local
1346 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); in testUpdatePositionAndDimension()
[all …]