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.java729 int[] viewInWindowXY = new int[2]; in testShowAsDropDownWithOffsets() local
743 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); in testShowAsDropDownWithOffsets()
744 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()
745 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()
754 int[] viewInWindowXY = new int[2]; in testOverlapAnchor() local
768 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); in testOverlapAnchor()
769 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()
770 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
1303 int[] viewInWindowXY = new int[2]; in testUpdatePositionAndDimension() local
1322 mPopupWindow.getContentView().getLocationInWindow(viewInWindowXY); in testUpdatePositionAndDimension()
[all …]