Searched refs:viewOnScreenXY (Results 1 – 3 of 3) sorted by relevance
85 final int[] viewOnScreenXY = new int[2]; in emulateTapOnView() local86 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateTapOnView()87 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView()88 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateTapOnView()123 final int[] viewOnScreenXY = new int[2]; in emulateDoubleTapOnView() local124 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateDoubleTapOnView()125 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView()126 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateDoubleTapOnView()381 final int[] viewOnScreenXY = new int[2]; in emulateFlingGesture() local382 view.getLocationOnScreen(viewOnScreenXY); in emulateFlingGesture()[all …]
672 int[] viewOnScreenXY = new int[2]; in testShowAsDropDownWithOffsets() local686 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testShowAsDropDownWithOffsets()688 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()689 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()697 int[] viewOnScreenXY = new int[2]; in testOverlapAnchor() local711 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testOverlapAnchor()713 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()714 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
6756 final int[] viewOnScreenXY = new int[2]; in testClickableSpanOnClickDragOutside() local6757 mTextView.getLocationOnScreen(viewOnScreenXY); in testClickableSpanOnClickDragOutside()6760 swipeCoordinates.put(0, new Point(viewOnScreenXY[0] + spanDetails.mXPosOutside, in testClickableSpanOnClickDragOutside()6761 viewOnScreenXY[1] + spanDetails.mYPosOutside)); in testClickableSpanOnClickDragOutside()6762 swipeCoordinates.put(1, new Point(viewOnScreenXY[0] + spanDetails.mXPosOutside + 50, in testClickableSpanOnClickDragOutside()6763 viewOnScreenXY[1] + spanDetails.mYPosOutside + 50)); in testClickableSpanOnClickDragOutside()7738 int[] viewOnScreenXY = new int[2]; in testSmartSelection_dragSelection() local7739 mTextView.getLocationOnScreen(viewOnScreenXY); in testSmartSelection_dragSelection()7740 int startX = start.x + viewOnScreenXY[0]; in testSmartSelection_dragSelection()7741 int startY = start.y + viewOnScreenXY[1]; in testSmartSelection_dragSelection()