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.java2117 int[] layoutLocation = new int[]{-1, -1}; in testGetLocationInWindow() local
2118 layout.getLocationInWindow(layoutLocation); in testGetLocationInWindow()
2122 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
2123 assertEquals(layoutLocation[1], location[1]); in testGetLocationInWindow()
2127 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
2128 assertEquals(layoutLocation[1] + mockView.getHeight(), location[1]); in testGetLocationInWindow()
2153 final int[] layoutLocation = new int[]{-1, -1}; in testGetLocationOnScreen() local
2154 layout.getLocationOnScreen(layoutLocation); in testGetLocationOnScreen()
2158 assertEquals(layoutLocation[0], location[0]); in testGetLocationOnScreen()
2159 assertEquals(layoutLocation[1], location[1]); in testGetLocationOnScreen()
[all …]