Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2281 int[] layoutLocation = new int[]{-1, -1}; in testGetLocationInWindow() local
2282 layout.getLocationInWindow(layoutLocation); in testGetLocationInWindow()
2286 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
2287 assertEquals(layoutLocation[1], location[1]); in testGetLocationInWindow()
2291 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
2292 assertEquals(layoutLocation[1] + mockView.getHeight(), location[1]); in testGetLocationInWindow()
2317 final int[] layoutLocation = new int[]{-1, -1}; in testGetLocationOnScreen() local
2318 layout.getLocationOnScreen(layoutLocation); in testGetLocationOnScreen()
2322 assertEquals(layoutLocation[0], location[0]); in testGetLocationOnScreen()
2323 assertEquals(layoutLocation[1], location[1]); in testGetLocationOnScreen()
[all …]