Home
last modified time | relevance | path

Searched refs:dragPointerIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java92 final int dragPointerIndex = ev.findPointerIndex(mDragPointerId); in onMotionEvent() local
94 float dx = ev.getRawX(dragPointerIndex) - mInputDownPoint.x; in onMotionEvent()
95 float dy = ev.getRawY(dragPointerIndex) - mInputDownPoint.y; in onMotionEvent()
DDragResizeInputListener.java429 final int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent() local
430 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() local
448 if (dragPointerIndex < 0) { in handleMotionEvent()
456 e.getRawX(dragPointerIndex), e.getRawY(dragPointerIndex)); in handleMotionEvent()