Searched refs:locationOnScreen (Results 1 – 4 of 4) sorted by relevance
92 final int[] locationOnScreen = new int[2]; in testSetFitInsetsTypesInner() local93 childWindowRoot.getLocationOnScreen(locationOnScreen); in testSetFitInsetsTypesInner()94 assertEquals(insets.left, locationOnScreen[0]); in testSetFitInsetsTypesInner()95 assertEquals(insets.top, locationOnScreen[1]); in testSetFitInsetsTypesInner()97 mainWindowRoot.getWidth() - locationOnScreen[0] - childWindowRoot.getWidth()); in testSetFitInsetsTypesInner()99 mainWindowRoot.getHeight()- locationOnScreen[1] - childWindowRoot.getHeight()); in testSetFitInsetsTypesInner()138 final int[] locationOnScreen = new int[2]; in testSetFitInsetsSidesInner() local139 childWindowRoot.getLocationOnScreen(locationOnScreen); in testSetFitInsetsSidesInner()140 assertEquals((sides & Side.LEFT) != 0 ? insets.left : 0, locationOnScreen[0]); in testSetFitInsetsSidesInner()141 assertEquals((sides & Side.TOP) != 0 ? insets.top : 0, locationOnScreen[1]); in testSetFitInsetsSidesInner()[all …]
177 final int[] locationOnScreen = new int[2]; in onLayoutChange() local178 v.getLocationOnScreen(locationOnScreen); in onLayoutChange()179 mOnLayoutBoundsInScreen.offset(locationOnScreen[0], locationOnScreen[1]); in onLayoutChange()
41 val locationOnScreen = IntArray(2) in fling() constant43 view.getLocationOnScreen(locationOnScreen) in fling()46 val screenX = locationOnScreen[0] in fling()47 val screenY = locationOnScreen[1] in fling()71 val locationOnScreen = IntArray(2) in dragStretches() constant73 view.getLocationOnScreen(locationOnScreen) in dragStretches()76 val screenX = locationOnScreen[0] in dragStretches()77 val screenY = locationOnScreen[1] in dragStretches()105 val locationOnScreen = IntArray(2) in dragAndHoldExecute() constant107 view.getLocationOnScreen(locationOnScreen) in dragAndHoldExecute()[all …]
1285 int[] locationOnScreen = new int[2]; in testScrollAfterStretch() local1287 mListViewStretch.getLocationOnScreen(locationOnScreen); in testScrollAfterStretch()1290 int screenX = locationOnScreen[0]; in testScrollAfterStretch()1291 int screenY = locationOnScreen[1]; in testScrollAfterStretch()