Searched refs:locationOnScreen (Results 1 – 4 of 4) sorted by relevance
44 val locationOnScreen = IntArray(2) in fling() constant46 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() constant76 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() constant110 view.getLocationOnScreen(locationOnScreen) in dragAndHoldExecute()[all …]
213 final int[] locationOnScreen = new int[2]; in onLayoutChange() local214 v.getLocationOnScreen(locationOnScreen); in onLayoutChange()215 mOnLayoutBoundsInScreen.offset(locationOnScreen[0], locationOnScreen[1]); in onLayoutChange()
241 final int[] locationOnScreen = new int[2]; in assertMatchesWindowBounds() local242 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()
1307 int[] locationOnScreen = new int[2]; in testScrollAfterStretch() local1309 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() local1550 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()