Home
last modified time | relevance | path

Searched refs:mDragPointerId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java46 private int mDragPointerId; field in DragDetector
81 mDragPointerId = ev.getPointerId(0); in onMotionEvent()
89 if (ev.findPointerIndex(mDragPointerId) == -1) { in onMotionEvent()
90 mDragPointerId = ev.getPointerId(0); in onMotionEvent()
92 final int dragPointerIndex = ev.findPointerIndex(mDragPointerId); in onMotionEvent()
125 mDragPointerId = -1; in resetState()
DCaptionWindowDecorViewModel.java260 private int mDragPointerId = -1; field in CaptionWindowDecorViewModel.CaptionTouchEventListener
319 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
326 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
327 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
332 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
340 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
341 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
343 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
DDragResizeInputListener.java292 private int mDragPointerId = -1; field in DragResizeInputListener.TaskResizeInputEventReceiver
403 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
429 final int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
447 final int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
464 mDragPointerId = -1; in handleMotionEvent()
DDesktopModeWindowDecorViewModel.java405 private int mDragPointerId = -1; field in DesktopModeWindowDecorViewModel.DesktopModeTouchEventListener
639 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
653 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
654 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
656 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
672 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
673 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
675 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()