Searched refs:screenCoords (Results 1 – 1 of 1) sorted by relevance
231 int screenCoords[] = new int[2]; in dispatchTouchEvent() local232 currentFocus.getLocationOnScreen(screenCoords); in dispatchTouchEvent()233 float x = event.getRawX() + currentFocus.getLeft() - screenCoords[0]; in dispatchTouchEvent()234 float y = event.getRawY() + currentFocus.getTop() - screenCoords[1]; in dispatchTouchEvent()