Home
last modified time | relevance | path

Searched refs:findPointerIndex (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java89 if (ev.findPointerIndex(mDragPointerId) == -1) { in onMotionEvent()
92 final int dragPointerIndex = ev.findPointerIndex(mDragPointerId); in onMotionEvent()
DCaptionWindowDecorViewModel.java326 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
332 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
340 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
343 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
DDragResizeInputListener.java429 final int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
447 final int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
DDesktopModeWindowDecorViewModel.java653 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
656 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
672 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
675 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java150 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
210 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchState.java150 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
210 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DTwoFingersDownOrSwipe.java116 final int moveActionIndex = moveEvent.findPointerIndex(downPointerId); in distance()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java140 MotionEventCompat.findPointerIndex(ev, activePointerId); in onInterceptTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DSecondFingerMultiTap.java147 int pointerIndex = rawEvent.findPointerIndex(mSecondFingerPointerId); in isSecondFingerInsideSlop()
DTouchExplorer.java702 final int pointerIndex = event.findPointerIndex(pointerId); in handleActionMoveStateTouchInteracting()
885 final int pointerIndex = event.findPointerIndex(pointerId); in handleActionMoveStateTouchExploring()
957 if (event.findPointerIndex(mDraggingPointerId) == -1) { in handleMotionEventStateDragging()
1189 final int pointerIndex = event.findPointerIndex(mDraggingPointerId); in computeDraggingPointerIdIfNeeded()
1190 if (event.findPointerIndex(pointerIndex) >= 0) { in computeDraggingPointerIdIfNeeded()
DEventDispatcher.java218 final int remappedIndex = event.findPointerIndex(mLongPressingPointerId); in offsetEvent()
DMultiFingerSwipe.java252 int index = rawEvent.findPointerIndex(mPointerIds[pointerIndex]); in onMove()
/frameworks/base/core/java/com/android/internal/policy/
DWearGestureInterceptionDetector.java78 int pointerIndex = ev.findPointerIndex(mActivePointerId); in getIndexForValidPointer()
/frameworks/base/core/java/android/widget/
DForwardingListener.java182 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); in onTouchObserved()
DDropDownListView.java186 final int activeIndex = event.findPointerIndex(activePointerId); in onForwardedEvent()
DHorizontalScrollView.java609 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent()
680 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent()
724 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
DStackView.java634 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent()
716 int pointerIndex = ev.findPointerIndex(mActivePointerId);
814 int pointerIndex = ev.findPointerIndex(mActivePointerId);
DScrollView.java681 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent()
824 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
941 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java71 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java239 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java329 final int index = event.findPointerIndex(mActivePointerId);
357 final int activePointerIndex = event.findPointerIndex(mActivePointerId);
918 final int pointerIndex = motionEvent.findPointerIndex(mActivePointerId); in findSwipedView()
2261 final int index = e.findPointerIndex(mActivePointerId); in onLongPress()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1859 final int pointerIndex = ev.findPointerIndex(activePointerId);
1995 final int pointerIndex = ev.findPointerIndex(mActivePointerId);
2021 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
2045 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
2078 mLastMotionX = ev.getX(ev.findPointerIndex(mActivePointerId));
/frameworks/native/libs/input/tests/
DTouchResampling_test.cpp185 ssize_t motionEventPointerIndex = motionEvent->findPointerIndex(entry.pointers[p].id); in consumeInputEventEntries()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java297 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId); in onInterceptTouchEvent()
333 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java487 int index = event.findPointerIndex(mActivePointerId); in onInterceptTouchEvent()
517 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()

12