Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DListPopupWindowTest.java148 final int[] popupInWindowXY = new int[2]; in testAnchoring() local
153 mListPopupWindow.getListView().getLocationInWindow(popupInWindowXY); in testAnchoring()
156 assertEquals("Anchoring X", anchorOnScreenXY[0] + popupInWindowXY[0], popupOnScreenXY[0]); in testAnchoring()
157 assertEquals("Anchoring Y", anchorOnScreenXY[1] + popupInWindowXY[1] + mButton.getHeight(), in testAnchoring()
DPopupMenuTest.java326 final int[] popupInWindowXY = getPopupLocationInWindow();
337 final int y = anchorOnScreenXY[1] + popupInWindowXY[1] + mButton.getHeight()
343 assertEquals("Anchoring X", anchorOnScreenXY[0] + popupInWindowXY[0],
346 anchorOnScreenXY[1] + popupInWindowXY[1] + mButton.getHeight() - popupPadding.top,