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.java683 int[] viewInWindowXY = new int[2]; in testShowAsDropDownWithOffsets() local
697 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); 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()
708 int[] viewInWindowXY = new int[2]; in testOverlapAnchor() local
722 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); in testOverlapAnchor()
723 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()
724 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
1257 int[] viewInWindowXY = new int[2]; in testUpdatePositionAndDimension() local
1276 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); in testUpdatePositionAndDimension()
[all …]