Searched refs:viewOnScreenXY (Results 1 – 6 of 6) sorted by relevance
111 final int[] viewOnScreenXY = new int[2]; in emulateTapOnView() local112 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateTapOnView()113 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView()114 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateTapOnView()158 final int[] viewOnScreenXY = new int[2]; in emulateDoubleTapOnView() local159 anchorView.getLocationOnScreen(viewOnScreenXY); in emulateDoubleTapOnView()160 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView()161 int yOnScreen = viewOnScreenXY[1] + offsetY; in emulateDoubleTapOnView()567 final int[] viewOnScreenXY = new int[2]; in emulateFlingGesture() local568 view.getLocationOnScreen(viewOnScreenXY); in emulateFlingGesture()[all …]
551 int[] viewOnScreenXY = new int[2]; in testShowAsDropDown_ClipToScreen_Overlap_OutOfScreen() local559 popup.getContentView().getLocationOnScreen(viewOnScreenXY); in testShowAsDropDown_ClipToScreen_Overlap_OutOfScreen()560 assertEquals(appFrameLeft, viewOnScreenXY[0]); in testShowAsDropDown_ClipToScreen_Overlap_OutOfScreen()561 assertEquals(appFrameTop, viewOnScreenXY[1]); in testShowAsDropDown_ClipToScreen_Overlap_OutOfScreen()752 int[] viewOnScreenXY = new int[2]; in testShowAsDropDownWithOffsets() local766 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testShowAsDropDownWithOffsets()768 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()769 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()777 int[] viewOnScreenXY = new int[2]; in testOverlapAnchor() local791 mPopupWindow.getContentView().getLocationOnScreen(viewOnScreenXY); in testOverlapAnchor()[all …]
542 final int[] viewOnScreenXY = new int[2]; in getScreenCoords() local543 textView.getLocationOnScreen(viewOnScreenXY); in getScreenCoords()546 return new Point(viewOnScreenXY[0] + x, viewOnScreenXY[1] + y); in getScreenCoords()
7773 final int[] viewOnScreenXY = new int[2]; in testClickableSpanOnClickDragOutside() local7774 mTextView.getLocationOnScreen(viewOnScreenXY); in testClickableSpanOnClickDragOutside()7777 swipeCoordinates.put(0, new Point(viewOnScreenXY[0] + spanDetails.mXPosOutside, in testClickableSpanOnClickDragOutside()7778 viewOnScreenXY[1] + spanDetails.mYPosOutside)); in testClickableSpanOnClickDragOutside()7779 swipeCoordinates.put(1, new Point(viewOnScreenXY[0] + spanDetails.mXPosOutside + 50, in testClickableSpanOnClickDragOutside()7780 viewOnScreenXY[1] + spanDetails.mYPosOutside + 50)); in testClickableSpanOnClickDragOutside()8876 int[] viewOnScreenXY = new int[2]; in testSmartSelection_dragSelection() local8877 mTextView.getLocationOnScreen(viewOnScreenXY); in testSmartSelection_dragSelection()8878 int startX = start.x + viewOnScreenXY[0]; in testSmartSelection_dragSelection()8879 int startY = start.y + viewOnScreenXY[1]; in testSmartSelection_dragSelection()
1587 final int[] viewOnScreenXY = new int[2]; in testEmbeddedWindowCanTransferTouchGestureToHost() local1588 mSurfaceView.getLocationOnScreen(viewOnScreenXY); in testEmbeddedWindowCanTransferTouchGestureToHost()1589 final int injectedX = viewOnScreenXY[0] + 1; in testEmbeddedWindowCanTransferTouchGestureToHost()1590 final int injectedY = viewOnScreenXY[1] + 1; in testEmbeddedWindowCanTransferTouchGestureToHost()
4775 final int[] viewOnScreenXY = new int[2]; in startDragAndDrop() local4777 decorView.getLocationOnScreen(viewOnScreenXY); in startDragAndDrop()4778 int xOnScreen = viewOnScreenXY[0] + decorView.getWidth() / 2; in startDragAndDrop()4779 int yOnScreen = viewOnScreenXY[1] + decorView.getHeight() / 2; in startDragAndDrop()