Searched refs:originalLocation (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 1779 final int[] originalLocation = new int[2]; in testPositionAfterAnchorRemoval() local 1780 mPopupWindow.getContentView().getLocationOnScreen(originalLocation); in testPositionAfterAnchorRemoval() 1794 assertPopupLocation(originalLocation, deltaX, deltaY); in testPositionAfterAnchorRemoval() 1802 assertPopupLocation(originalLocation, deltaX, deltaY); in testPositionAfterAnchorRemoval() 1811 assertPopupLocation(originalLocation, deltaX, deltaY); in testPositionAfterAnchorRemoval() 1819 assertPopupLocation(originalLocation, deltaX * 2, deltaY * 2); in testPositionAfterAnchorRemoval() 1953 private void assertPopupLocation(int[] originalLocation, int deltaX, int deltaY) { in assertPopupLocation() argument 1956 assertEquals(originalLocation[0] - deltaX, actualLocation[0]); in assertPopupLocation() 1957 assertEquals(originalLocation[1] - deltaY, actualLocation[1]); in assertPopupLocation()
|