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.java1952 int[] layoutLocation = new int[] { -1, -1 }; in testGetLocationInWindow() local
1953 layout.getLocationInWindow(layoutLocation); in testGetLocationInWindow()
1957 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
1958 assertEquals(layoutLocation[1], location[1]); in testGetLocationInWindow()
1962 assertEquals(layoutLocation[0], location[0]); in testGetLocationInWindow()
1963 assertEquals(layoutLocation[1] + mockView.getHeight(), location[1]); in testGetLocationInWindow()
1983 int[] layoutLocation = new int[] { -1, -1 }; in testGetLocationOnScreen() local
1984 layout.getLocationOnScreen(layoutLocation); in testGetLocationOnScreen()
1988 assertEquals(layoutLocation[0], location[0]); in testGetLocationOnScreen()
1989 assertEquals(layoutLocation[1], location[1]); in testGetLocationOnScreen()
[all …]