Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A 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()
H A DCaptionWindowDecorViewModel.java215 private int mDragPointerId = -1; field in CaptionWindowDecorViewModel.CaptionTouchEventListener
270 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
277 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
278 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
280 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
288 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
289 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
291 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
H A DDragResizeInputListener.java93 private int mDragPointerId = -1; field in DragResizeInputListener
402 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
415 int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
425 int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
430 mDragPointerId = -1; in handleMotionEvent()
H A DDesktopModeWindowDecorViewModel.java332 private int mDragPointerId = -1; field in DesktopModeWindowDecorViewModel.DesktopModeTouchEventListener
444 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
455 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
456 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
458 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
480 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
481 mDragPointerId = e.getPointerId(0); in handleMotionEvent()
483 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()