Searched refs:viewOnScreenXY (Results 1 – 4 of 4) sorted by relevance
90 final int[] viewOnScreenXY = new int[2]; in emulateTapOnView() local91 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateTapOnView()92 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView()93 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateTapOnView()136 final int[] viewOnScreenXY = new int[2]; in emulateDoubleTapOnView() local137 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateDoubleTapOnView()138 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView()139 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateDoubleTapOnView()416 final int[] viewOnScreenXY = new int[2]; in emulateFlingGesture() local417 view.getLocationOnScreen(viewOnScreenXY); in emulateFlingGesture()[all …]
89 final int[] viewOnScreenXY = new int[2]; in emulateTapOnView() local90 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateTapOnView()91 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView()92 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateTapOnView()135 final int[] viewOnScreenXY = new int[2]; in emulateDoubleTapOnView() local136 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateDoubleTapOnView()137 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView()138 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateDoubleTapOnView()415 final int[] viewOnScreenXY = new int[2]; in emulateFlingGesture() local416 view.getLocationOnScreen(viewOnScreenXY); in emulateFlingGesture()[all …]
682 int[] viewOnScreenXY = new int[2]; in testShowAsDropDownWithOffsets() local696 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testShowAsDropDownWithOffsets()698 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()699 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()707 int[] viewOnScreenXY = new int[2]; in testOverlapAnchor() local721 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testOverlapAnchor()723 assertEquals(anchorXY[0] + viewInWindowXY[0], viewOnScreenXY[0]); in testOverlapAnchor()724 assertEquals(anchorXY[1] + viewInWindowXY[1], viewOnScreenXY[1]); in testOverlapAnchor()
7115 final int[] viewOnScreenXY = new int[2]; in testClickableSpanOnClickDragOutside() local7116 mTextView.getLocationOnScreen(viewOnScreenXY); in testClickableSpanOnClickDragOutside()7119 swipeCoordinates.put(0, new Point(viewOnScreenXY[0] + spanDetails.mXPosOutside, in testClickableSpanOnClickDragOutside()7120 viewOnScreenXY[1] + spanDetails.mYPosOutside)); in testClickableSpanOnClickDragOutside()7121 swipeCoordinates.put(1, new Point(viewOnScreenXY[0] + spanDetails.mXPosOutside + 50, in testClickableSpanOnClickDragOutside()7122 viewOnScreenXY[1] + spanDetails.mYPosOutside + 50)); in testClickableSpanOnClickDragOutside()8097 int[] viewOnScreenXY = new int[2]; in testSmartSelection_dragSelection() local8098 mTextView.getLocationOnScreen(viewOnScreenXY); in testSmartSelection_dragSelection()8099 int startX = start.x + viewOnScreenXY[0]; in testSmartSelection_dragSelection()8100 int startY = start.y + viewOnScreenXY[1]; in testSmartSelection_dragSelection()