Home
last modified time | relevance | path

Searched refs:locationOnScreen (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt44 val locationOnScreen = IntArray(2) in fling() constant
46 view.getLocationOnScreen(locationOnScreen) in fling()
49 val screenX = locationOnScreen[0] in fling()
50 val screenY = locationOnScreen[1] in fling()
74 val locationOnScreen = IntArray(2) in dragStretches() constant
76 view.getLocationOnScreen(locationOnScreen) in dragStretches()
79 val screenX = locationOnScreen[0] in dragStretches()
80 val screenY = locationOnScreen[1] in dragStretches()
108 val locationOnScreen = IntArray(2) in dragAndHoldExecute() constant
110 view.getLocationOnScreen(locationOnScreen) in dragAndHoldExecute()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowMetricsTestHelper.java213 final int[] locationOnScreen = new int[2]; in onLayoutChange() local
214 v.getLocationOnScreen(locationOnScreen); in onLayoutChange()
215 mOnLayoutBoundsInScreen.offset(locationOnScreen[0], locationOnScreen[1]); in onLayoutChange()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsLayoutTests.java241 final int[] locationOnScreen = new int[2]; in assertMatchesWindowBounds() local
242 rootView.getLocationOnScreen(locationOnScreen); in assertMatchesWindowBounds()
243 assertEquals(locationOnScreen[0] /* expected x */, windowMetricsBounds.left); in assertMatchesWindowBounds()
244 assertEquals(locationOnScreen[1] /* expected y */, windowMetricsBounds.top); in assertMatchesWindowBounds()
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java1307 int[] locationOnScreen = new int[2]; in testScrollAfterStretch() local
1309 mListViewStretch.getLocationOnScreen(locationOnScreen); in testScrollAfterStretch()
1312 int screenX = locationOnScreen[0]; in testScrollAfterStretch()
1313 int screenY = locationOnScreen[1]; in testScrollAfterStretch()
1548 int[] locationOnScreen = new int[2]; in executeWhileDragging() local
1550 mListViewStretch.getLocationOnScreen(locationOnScreen); in executeWhileDragging()
1553 int screenX = locationOnScreen[0] + mListViewStretch.getWidth() / 2; in executeWhileDragging()
1554 int screenY = locationOnScreen[1] + mListViewStretch.getHeight() / 2; in executeWhileDragging()