/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
H A D | DragDetector.java | 89 if (ev.findPointerIndex(mDragPointerId) == -1) { in onMotionEvent() 92 final int dragPointerIndex = ev.findPointerIndex(mDragPointerId); in onMotionEvent()
|
H A D | CaptionWindowDecorViewModel.java | 277 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 D | DesktopModeWindowDecorViewModel.java | 455 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 D | DragResizeInputListener.java | 415 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 D | PipTouchState.java | 150 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 D | TwoFingersDownOrSwipe.java | 116 final int moveActionIndex = moveEvent.findPointerIndex(downPointerId); in distance()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | SecondFingerMultiTap.java | 147 int pointerIndex = rawEvent.findPointerIndex(mSecondFingerPointerId); in isSecondFingerInsideSlop()
|
H A D | TouchExplorer.java | 683 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 D | EventDispatcher.java | 199 final int remappedIndex = event.findPointerIndex(mLongPressingPointerId); in offsetEvent()
|
H A D | MultiFingerSwipe.java | 252 int index = rawEvent.findPointerIndex(mPointerIds[pointerIndex]); in onMove()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | ForwardingListener.java | 182 final int activePointerIndex = srcEvent.findPointerIndex(mActivePointerId); in onTouchObserved()
|
H A D | DropDownListView.java | 186 final int activeIndex = event.findPointerIndex(activePointerId); in onForwardedEvent()
|
H A D | HorizontalScrollView.java | 607 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 D | StackView.java | 634 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() 716 int pointerIndex = ev.findPointerIndex(mActivePointerId); 814 int pointerIndex = ev.findPointerIndex(mActivePointerId);
|
H A D | ScrollView.java | 659 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 D | HeadsUpTouchHelper.java | 65 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A D | ItemTouchHelper.java | 329 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 D | SwipeDetector.java | 239 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 1859 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 D | HandwritingInitiator.java | 201 final int pointerIndex = motionEvent.findPointerIndex(mState.mStylusPointerId); in onTouchEvent()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSecurityContainer.java | 484 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 D | CropView.java | 184 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackScrollLayout.java | 3544 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 D | QuickSettingsController.java | 1679 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onTouch() 1749 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onIntercept()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 774 return jint(event->findPointerIndex(pointerId)); in android_view_MotionEvent_nativeFindPointerIndex()
|