Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java643 int[] popupContentViewInWindowXY = new int[2]; in testShowAtLocation() local
658 mPopupWindow.getContentView().getLocationInWindow(popupContentViewInWindowXY); in testShowAtLocation()
659 assertEquals(0, popupContentViewInWindowXY[0]); in testShowAtLocation()
660 assertEquals(0, popupContentViewInWindowXY[1]); in testShowAtLocation()
667 mPopupWindow.getContentView().getLocationInWindow(popupContentViewInWindowXY); in testShowAtLocation()
671 assertTrue(popupContentViewInWindowXY[0] >= 0); in testShowAtLocation()
672 assertTrue(popupContentViewInWindowXY[1] >= 0); in testShowAtLocation()
673 …assertEquals(containingRect.left + popupContentViewInWindowXY[0] + xOff, popupContentViewOnScreenX… in testShowAtLocation()
674 …assertEquals(containingRect.top + popupContentViewInWindowXY[1] + yOff, popupContentViewOnScreenXY… in testShowAtLocation()