Searched refs:offsetInScreen (Results 1 – 2 of 2) sorted by relevance
131 int offsetInScreen[] = new int[2]; in collectStartAction() local132 view.getLocationOnScreen(offsetInScreen); in collectStartAction()133 mPointerEvent.startX = (int)(event.getX() + offsetInScreen[0]); in collectStartAction()134 mPointerEvent.startY = (int)(event.getY() + offsetInScreen[1]); in collectStartAction()146 int offsetInScreen[] = new int[2]; in collectEndAction() local147 view.getLocationOnScreen(offsetInScreen); in collectEndAction()148 mPointerEvent.endX = (int)(event.getX() + offsetInScreen[0]); in collectEndAction()149 mPointerEvent.endY = (int)(event.getY() + offsetInScreen[1]); in collectEndAction()
143 int offsetInScreen[] = new int[2]; in collectStartAction() local144 view.getLocationOnScreen(offsetInScreen); in collectStartAction()146 (int)(event.getX(pointerIndex) + offsetInScreen[0]); in collectStartAction()148 (int)(event.getY(pointerIndex) + offsetInScreen[1]); in collectStartAction()160 int offsetInScreen[] = new int[2]; in collectEndAction() local161 view.getLocationOnScreen(offsetInScreen); in collectEndAction()163 (int)(event.getX(pointerIndex) + offsetInScreen[0]); in collectEndAction()165 (int)(event.getY(pointerIndex) + offsetInScreen[1]); in collectEndAction()