Searched refs:viewOnScreenXY (Results 1 – 3 of 3) sorted by relevance
60 final int[] viewOnScreenXY = new int[2]; in emulateTapOnView() local61 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateTapOnView()62 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView()63 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateTapOnView()98 final int[] viewOnScreenXY = new int[2]; in emulateDoubleTapOnView() local99 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateDoubleTapOnView()100 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView()101 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateDoubleTapOnView()307 final int[] viewOnScreenXY = new int[2]; in emulateFlingGesture() local308 view.getLocationOnScreen(viewOnScreenXY); in emulateFlingGesture()[all …]
669 int[] viewOnScreenXY = new int[2]; in testShowAsDropDownWithOffsets() local683 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testShowAsDropDownWithOffsets()685 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()686 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()694 int[] viewOnScreenXY = new int[2]; in testOverlapAnchor() local708 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testOverlapAnchor()710 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()711 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
6593 final int[] viewOnScreenXY = new int[2]; in testClickableSpanOnClickDragOutside() local6594 mTextView.getLocationOnScreen(viewOnScreenXY); in testClickableSpanOnClickDragOutside()6597 swipeCoordinates.put(0, new Point(viewOnScreenXY[0] + spanDetails.mXPosOutside, in testClickableSpanOnClickDragOutside()6598 viewOnScreenXY[1] + spanDetails.mYPosOutside)); in testClickableSpanOnClickDragOutside()6599 swipeCoordinates.put(1, new Point(viewOnScreenXY[0] + spanDetails.mXPosOutside + 50, in testClickableSpanOnClickDragOutside()6600 viewOnScreenXY[1] + spanDetails.mYPosOutside + 50)); in testClickableSpanOnClickDragOutside()7498 int[] viewOnScreenXY = new int[2]; in testSmartSelection_dragSelection() local7499 mTextView.getLocationOnScreen(viewOnScreenXY); in testSmartSelection_dragSelection()7500 int startX = start.x + viewOnScreenXY[0]; in testSmartSelection_dragSelection()7501 int startY = start.y + viewOnScreenXY[1]; in testSmartSelection_dragSelection()