Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java132 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
190 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.java603 final int pointerIndex = event.findPointerIndex(pointerId); in handleActionMoveStateTouchInteracting()
764 final int pointerIndex = event.findPointerIndex(pointerId); in handleActionMoveStateTouchExploring()
836 if (event.findPointerIndex(mDraggingPointerId) == -1) { in handleMotionEventStateDragging()
1047 final int pointerIndex = event.findPointerIndex(mDraggingPointerId); in computeDraggingPointerIdIfNeeded()
1048 if (event.findPointerIndex(pointerIndex) >= 0) { in computeDraggingPointerIdIfNeeded()
DEventDispatcher.java199 final int remappedIndex = event.findPointerIndex(mLongPressingPointerId); in offsetEvent()
DMultiFingerSwipe.java252 int index = rawEvent.findPointerIndex(mPointerIds[pointerIndex]); in onMove()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java65 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent()
DPanelViewController.java1163 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent()
1269 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onTouch()
/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.java599 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent()
670 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent()
714 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.java638 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent()
775 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent()
895 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java416 int index = event.findPointerIndex(mActivePointerId); in onInterceptTouchEvent()
442 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()
/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/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/systemui/screenshot/
DCropView.java180 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent()
/frameworks/native/include/input/
DInput.h764 ssize_t findPointerIndex(int32_t pointerId) const;
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsController.java420 : event.findPointerIndex(mActivePointerId); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3413 if (ev.findPointerIndex(mActivePointerId) == -1 && action != MotionEvent.ACTION_DOWN) { in onScrollTouch()
3443 final int activePointerIndex = ev.findPointerIndex(mActivePointerId); in onScrollTouch()
3546 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onScrollTouch()
3547 mDownX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onScrollTouch()
3692 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEventScroll()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp756 return jint(event->findPointerIndex(pointerId)); in android_view_MotionEvent_nativeFindPointerIndex()
/frameworks/native/libs/input/
DInput.cpp546 ssize_t MotionEvent::findPointerIndex(int32_t pointerId) const { in findPointerIndex() function in android::MotionEvent

12