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.java2289 int[] layoutLocation = new int[]{-1, -1}; in testGetLocationInWindow() local
2290 layout.getLocationInWindow(layoutLocation); in testGetLocationInWindow()
2294 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
2295 assertEquals(layoutLocation[1], location[1]); in testGetLocationInWindow()
2299 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
2300 assertEquals(layoutLocation[1] + mockView.getHeight(), location[1]); in testGetLocationInWindow()
2325 final int[] layoutLocation = new int[]{-1, -1}; in testGetLocationOnScreen() local
2326 layout.getLocationOnScreen(layoutLocation); in testGetLocationOnScreen()
2330 assertEquals(layoutLocation[0], location[0]); in testGetLocationOnScreen()
2331 assertEquals(layoutLocation[1], location[1]); in testGetLocationOnScreen()
[all …]