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.java40 int[] xyRoot = new int[2]; in assertOnScreen() local
41 origin.getLocationOnScreen(xyRoot); in assertOnScreen()
43 int y = xy[1] - xyRoot[1]; in assertOnScreen()
62 int[] xyRoot = new int[2]; in assertOffScreenBelow() local
63 origin.getLocationOnScreen(xyRoot); in assertOffScreenBelow()
65 int y = xy[1] - xyRoot[1]; in assertOffScreenBelow()
82 int[] xyRoot = new int[2]; in assertOffScreenAbove() local
83 origin.getLocationOnScreen(xyRoot); in assertOffScreenAbove()
85 int y = xy[1] - xyRoot[1]; in assertOffScreenAbove()
102 int[] xyRoot = new int[2]; in assertHasScreenCoordinates() local
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisibleTest.java203 int[] xyRoot = new int[2]; in assertOnBottomEdgeOfScreen() local
204 origin.getLocationOnScreen(xyRoot); in assertOnBottomEdgeOfScreen()
207 int bottomOfRoot = xyRoot[1] + origin.getHeight(); in assertOnBottomEdgeOfScreen()
224 int[] xyRoot = new int[2]; in assertOnTopEdgeOfScreen() local
225 origin.getLocationOnScreen(xyRoot); in assertOnTopEdgeOfScreen()
228 int bottomOfRoot = xyRoot[1] + origin.getHeight(); in assertOnTopEdgeOfScreen()
231 assertTrue(bottom > xyRoot[1]); in assertOnTopEdgeOfScreen()
233 assertTrue(xy[1] < xyRoot[1]); in assertOnTopEdgeOfScreen()