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.java689 int[] popupContentViewInWindowXY = new int[2]; in testShowAtLocation() local
704 mPopupWindow.getContentView().getLocationInWindow(popupContentViewInWindowXY); in testShowAtLocation()
705 assertEquals(0, popupContentViewInWindowXY[0]); in testShowAtLocation()
706 assertEquals(0, popupContentViewInWindowXY[1]); in testShowAtLocation()
713 mPopupWindow.getContentView().getLocationInWindow(popupContentViewInWindowXY); in testShowAtLocation()
717 assertTrue(popupContentViewInWindowXY[0] >= 0); in testShowAtLocation()
718 assertTrue(popupContentViewInWindowXY[1] >= 0); in testShowAtLocation()
719 …assertEquals(containingRect.left + popupContentViewInWindowXY[0] + xOff, popupContentViewOnScreenX… in testShowAtLocation()
720 …assertEquals(containingRect.top + popupContentViewInWindowXY[1] + yOff, popupContentViewOnScreenXY… in testShowAtLocation()