Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DDragDetector.java89 if (ev.findPointerIndex(mDragPointerId) == -1) { in onMotionEvent()
92 final int dragPointerIndex = ev.findPointerIndex(mDragPointerId); in onMotionEvent()
H A DCaptionWindowDecorViewModel.java277 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
280 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
288 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
291 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
H A DDesktopModeWindowDecorViewModel.java455 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
458 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
480 if (e.findPointerIndex(mDragPointerId) == -1) { in handleMotionEvent()
483 final int dragPointerIdx = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
H A DDragResizeInputListener.java415 int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
425 int dragPointerIndex = e.findPointerIndex(mDragPointerId); in handleMotionEvent()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipTouchState.java150 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
210 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DTwoFingersDownOrSwipe.java116 final int moveActionIndex = moveEvent.findPointerIndex(downPointerId); in distance()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
H A DSecondFingerMultiTap.java147 int pointerIndex = rawEvent.findPointerIndex(mSecondFingerPointerId); in isSecondFingerInsideSlop()
H A DTouchExplorer.java683 final int pointerIndex = event.findPointerIndex(pointerId); in handleActionMoveStateTouchInteracting()
854 final int pointerIndex = event.findPointerIndex(pointerId); in handleActionMoveStateTouchExploring()
926 if (event.findPointerIndex(mDraggingPointerId) == -1) { in handleMotionEventStateDragging()
1156 final int pointerIndex = event.findPointerIndex(mDraggingPointerId); in computeDraggingPointerIdIfNeeded()
1157 if (event.findPointerIndex(pointerIndex) >= 0) { in computeDraggingPointerIdIfNeeded()
H A DEventDispatcher.java199 final int remappedIndex = event.findPointerIndex(mLongPressingPointerId); in offsetEvent()
H A DMultiFingerSwipe.java252 int index = rawEvent.findPointerIndex(mPointerIds[pointerIndex]); in onMove()
/aosp14/frameworks/base/core/java/android/widget/
H A DForwardingListener.java182 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); in onTouchObserved()
H A DDropDownListView.java186 final int activeIndex = event.findPointerIndex(activePointerId); in onForwardedEvent()
H A DHorizontalScrollView.java607 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent()
678 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent()
722 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
H A DStackView.java634 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent()
716 int pointerIndex = ev.findPointerIndex(mActivePointerId);
814 int pointerIndex = ev.findPointerIndex(mActivePointerId);
H A DScrollView.java659 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent()
796 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
913 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DHeadsUpTouchHelper.java65 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent()
/aosp14/frameworks/base/core/java/com/android/internal/widget/helper/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
H A DSwipeDetector.java239 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A 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));
/aosp14/frameworks/base/core/java/android/view/
H A DHandwritingInitiator.java201 final int pointerIndex = motionEvent.findPointerIndex(mState.mStylusPointerId); in onTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java484 int index = event.findPointerIndex(mActivePointerId); in onInterceptTouchEvent()
514 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DCropView.java184 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayout.java3544 if (ev.findPointerIndex(mActivePointerId) == -1 && action != MotionEvent.ACTION_DOWN) { in onScrollTouch()
3574 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onScrollTouch()
3677 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onScrollTouch()
3678 mDownX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onScrollTouch()
3851 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEventScroll()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DQuickSettingsController.java1679 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onTouch()
1749 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onIntercept()
/aosp14/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp774 return jint(event->findPointerIndex(pointerId)); in android_view_MotionEvent_nativeFindPointerIndex()

12