Home
last modified time | relevance | path

Searched refs:hostViewLocation (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/transition/api14/android/support/transition/
DViewOverlayApi14.java208 int[] hostViewLocation = new int[2]; in add() local
210 mHostView.getLocationOnScreen(hostViewLocation); in add()
211 ViewCompat.offsetLeftAndRight(child, parentLocation[0] - hostViewLocation[0]); in add()
212 ViewCompat.offsetTopAndBottom(child, parentLocation[1] - hostViewLocation[1]); in add()
254 int[] hostViewLocation = new int[2]; in dispatchDraw() local
256 mRequestingView.getLocationOnScreen(hostViewLocation); in dispatchDraw()
257 canvas.translate(hostViewLocation[0] - contentViewLocation[0], in dispatchDraw()
258 hostViewLocation[1] - contentViewLocation[1]); in dispatchDraw()
284 int[] hostViewLocation = new int[2]; in getOffset() local
286 mRequestingView.getLocationOnScreen(hostViewLocation); in getOffset()
[all …]
/frameworks/base/core/java/android/view/
DViewOverlay.java189 int[] hostViewLocation = new int[2]; in add() local
191 mHostView.getLocationOnScreen(hostViewLocation); in add()
192 child.offsetLeftAndRight(parentLocation[0] - hostViewLocation[0]); in add()
193 child.offsetTopAndBottom(parentLocation[1] - hostViewLocation[1]); in add()