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.java1675 int[] layoutLocation = new int[] { -1, -1 }; in testGetLocationInWindow() local
1676 layout.getLocationInWindow(layoutLocation); in testGetLocationInWindow()
1680 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
1681 assertEquals(layoutLocation[1], location[1]); in testGetLocationInWindow()
1685 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
1686 assertEquals(layoutLocation[1] + mockView.getHeight(), location[1]); in testGetLocationInWindow()
1707 int[] layoutLocation = new int[] { -1, -1 }; in testGetLocationOnScreen() local
1708 layout.getLocationOnScreen(layoutLocation); in testGetLocationOnScreen()
1712 assertEquals(layoutLocation[0], location[0]); in testGetLocationOnScreen()
1713 assertEquals(layoutLocation[1], location[1]); in testGetLocationOnScreen()
[all …]