Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DViewAsserts.java48 int[] xyRoot = new int[2]; in assertOnScreen() local
49 origin.getLocationOnScreen(xyRoot); in assertOnScreen()
51 int y = xy[1] - xyRoot[1]; in assertOnScreen()
70 int[] xyRoot = new int[2]; in assertOffScreenBelow() local
71 origin.getLocationOnScreen(xyRoot); in assertOffScreenBelow()
73 int y = xy[1] - xyRoot[1]; in assertOffScreenBelow()
90 int[] xyRoot = new int[2]; in assertOffScreenAbove() local
91 origin.getLocationOnScreen(xyRoot); in assertOffScreenAbove()
93 int y = xy[1] - xyRoot[1]; in assertOffScreenAbove()
110 int[] xyRoot = new int[2]; in assertHasScreenCoordinates() local
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisibleTest.java205 int[] xyRoot = new int[2]; in assertOnBottomEdgeOfScreen() local
206 origin.getLocationOnScreen(xyRoot); in assertOnBottomEdgeOfScreen()
209 int bottomOfRoot = xyRoot[1] + origin.getHeight(); in assertOnBottomEdgeOfScreen()
226 int[] xyRoot = new int[2]; in assertOnTopEdgeOfScreen() local
227 origin.getLocationOnScreen(xyRoot); in assertOnTopEdgeOfScreen()
230 int bottomOfRoot = xyRoot[1] + origin.getHeight(); in assertOnTopEdgeOfScreen()
233 assertTrue(bottom > xyRoot[1]); in assertOnTopEdgeOfScreen()
235 assertTrue(xy[1] < xyRoot[1]); in assertOnTopEdgeOfScreen()