Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java1039 int[] viewXY = new int[2]; in testUpdateDimensionAndAlignAnchorViewWithOffsets() local
1061 mPopupWindow.getContentView().getLocationOnScreen(viewXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1064 assertEquals(anchorXY[0] + 20 + viewInWindowOff[0], viewXY[0]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1065 assertEquals(anchorXY[1] + anchorView.getHeight() + 50 + viewInWindowOff[1], viewXY[1]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1075 mPopupWindow.getContentView().getLocationOnScreen(viewXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1078 assertEquals(anchorXY[0] + 10 + viewInWindowOff[0], viewXY[0]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1079 assertEquals(anchorXY[1] + anchorView.getHeight() + 50 + viewInWindowOff[1], viewXY[1]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1091 mPopupWindow.getContentView().getLocationOnScreen(viewXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1094 assertEquals(newXY[0] + viewInWindowOff[0], viewXY[0]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1095 assertEquals(newXY[1] + anotherView.getHeight() + viewInWindowOff[1], viewXY[1]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()