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.java2411 int[] layoutLocation = new int[]{-1, -1}; in testGetLocationInWindow() local
2412 layout.getLocationInWindow(layoutLocation); in testGetLocationInWindow()
2416 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
2417 assertEquals(layoutLocation[1], location[1]); in testGetLocationInWindow()
2421 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
2422 assertEquals(layoutLocation[1] + mockView.getHeight(), location[1]); in testGetLocationInWindow()
2447 final int[] layoutLocation = new int[]{-1, -1}; in testGetLocationOnScreen() local
2448 layout.getLocationOnScreen(layoutLocation); in testGetLocationOnScreen()
2452 assertEquals(layoutLocation[0], location[0]); in testGetLocationOnScreen()
2453 assertEquals(layoutLocation[1], location[1]); in testGetLocationOnScreen()
[all …]