Searched refs:dragPointerIndex (Results 1 – 2 of 2) sorted by relevance
92 final int dragPointerIndex = ev.findPointerIndex(mDragPointerId); in onMotionEvent() local94 float dx = ev.getRawX(dragPointerIndex) - mInputDownPoint.x; in onMotionEvent()95 float dy = ev.getRawY(dragPointerIndex) - mInputDownPoint.y; in onMotionEvent()
429 final int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent() local430 if (dragPointerIndex < 0) { in handleMotionEvent()437 final float rawX = e.getRawX(dragPointerIndex); in handleMotionEvent()438 final float rawY = e.getRawY(dragPointerIndex); in handleMotionEvent()447 final int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent() local448 if (dragPointerIndex < 0) { in handleMotionEvent()456 e.getRawX(dragPointerIndex), e.getRawY(dragPointerIndex)); in handleMotionEvent()