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.java1359 int[] viewXY = new int[2]; in testUpdateDimensionAndAlignAnchorViewWithOffsets() local
1381 mPopupWindow.getContentView().getLocationOnScreen(viewXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1384 assertEquals(anchorXY[0] + 20 + viewInWindowOff[0], viewXY[0]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1385 assertEquals(anchorXY[1] + anchorView.getHeight() + 50 + viewInWindowOff[1], viewXY[1]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1395 mPopupWindow.getContentView().getLocationOnScreen(viewXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1398 assertEquals(anchorXY[0] + 10 + viewInWindowOff[0], viewXY[0]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1399 assertEquals(anchorXY[1] + anchorView.getHeight() + 50 + viewInWindowOff[1], viewXY[1]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1411 mPopupWindow.getContentView().getLocationOnScreen(viewXY); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1414 assertEquals(newXY[0] + viewInWindowOff[0], viewXY[0]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()
1415 assertEquals(newXY[1] + anotherView.getHeight() + viewInWindowOff[1], viewXY[1]); in testUpdateDimensionAndAlignAnchorViewWithOffsets()