Home
last modified time | relevance | path

Searched defs:pointerIndex (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/native/include/input/
DInput.h713 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const { in getPointerProperties()
717 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId()
721 inline ToolType getToolType(size_t pointerIndex) const { in getToolType()
740 inline float getRawX(size_t pointerIndex) const { in getRawX()
744 inline float getRawY(size_t pointerIndex) const { in getRawY()
754 inline float getX(size_t pointerIndex) const { in getX()
762 inline float getY(size_t pointerIndex) const { in getY()
766 inline float getPressure(size_t pointerIndex) const { in getPressure()
770 inline float getSize(size_t pointerIndex) const { in getSize()
774 inline float getTouchMajor(size_t pointerIndex) const { in getTouchMajor()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DMultiFingerSwipe.java130 int pointerIndex = rawEvent.getPointerCount() - 1; in onDown() local
181 int pointerIndex = mCurrentFingerCount - 1; in onPointerDown() local
219 final int pointerIndex = Arrays.binarySearch(mPointerIds, pointerId); in onPointerUp() local
250 Slog.d(getGestureName(), "Processing move on finger " + pointerIndex); in onMove() local
259 "Finger " + pointerIndex + " not found in this event. skipping."); in onMove() local
326 final int pointerIndex = Arrays.binarySearch(mPointerIds, pointerId); in onUp() local
DEventDispatcher.java255 private int computeInjectionAction(int actionMasked, int pointerIndex) { in computeInjectionAction()
410 final int pointerIndex = event.getActionIndex(); in longPressWithTouchEvents() local
428 final int pointerIndex = event.getActionIndex(); in clickWithTouchEvents() local
DSecondFingerMultiTap.java147 int pointerIndex = rawEvent.findPointerIndex(mSecondFingerPointerId); in isSecondFingerInsideSlop() local
DTouchState.java520 private void handleReceivedPointerDown(int pointerIndex, MotionEvent event) { in handleReceivedPointerDown()
539 private void handleReceivedPointerUp(int pointerIndex, MotionEvent event) { in handleReceivedPointerUp()
DTouchExplorer.java702 final int pointerIndex = event.findPointerIndex(pointerId); in handleActionMoveStateTouchInteracting() local
885 final int pointerIndex = event.findPointerIndex(pointerId); in handleActionMoveStateTouchExploring() local
1189 final int pointerIndex = event.findPointerIndex(mDraggingPointerId); in computeDraggingPointerIdIfNeeded() local
/frameworks/base/core/java/android/view/
DMotionEvent.java1816 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords()
1818 int pointerIndex, PointerProperties outPointerProperties); in nativeGetPointerProperties()
1829 private static native int nativeGetPointerId(long nativePtr, int pointerIndex); in nativeGetPointerId()
1831 private static native int nativeGetToolType(long nativePtr, int pointerIndex); in nativeGetToolType()
1837 int axis, int pointerIndex, int historyPos); in nativeGetRawAxisValue()
1840 int axis, int pointerIndex, int historyPos); in nativeGetAxisValue()
2720 public final int getPointerId(int pointerIndex) { in getPointerId()
2738 public @ToolType int getToolType(int pointerIndex) { in getToolType()
2772 public final float getX(int pointerIndex) { in getX()
2794 public final float getY(int pointerIndex) { in getY()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java74 abstract float getDisplacement(MotionEvent ev, int pointerIndex, PointF refPoint); in getDisplacement()
79 abstract float getActiveTouchSlop(MotionEvent ev, int pointerIndex, PointF downPos); in getActiveTouchSlop()
196 private boolean shouldScrollStart(MotionEvent ev, int pointerIndex) { in shouldScrollStart()
239 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java139 final int pointerIndex = in onInterceptTouchEvent() local
168 final int pointerIndex = MotionEventCompat.getActionIndex(ev); in onInterceptTouchEvent() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java183 int pointerIndex = ev.getActionIndex(); in onTouchEvent() local
210 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchState.java183 int pointerIndex = ev.getActionIndex(); in onTouchEvent() local
210 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java376 final int pointerIndex = mLastMotionEvent.getActionIndex(); in cacheLastEvent() local
399 final int pointerIndex = event.getActionIndex(); in detectMovement() local
414 final int pointerIndex = mLastMotionEvent.getActionIndex(); in sendClick() local
/frameworks/native/services/inputflinger/tests/
DTestEventMatchers.h282 explicit WithCoordsMatcher(size_t pointerIndex, float x, float y) in WithCoordsMatcher()
332 inline WithCoordsMatcher WithPointerCoords(size_t pointerIndex, float x, float y) { in WithPointerCoords()
340 explicit WithRawCoordsMatcher(size_t pointerIndex, float rawX, float rawY) in WithRawCoordsMatcher()
376 inline WithRawCoordsMatcher WithPointerRawCoords(size_t pointerIndex, float rawX, float rawY) { in WithPointerRawCoords()
424 for (size_t pointerIndex = 0; pointerIndex < event.getPointerCount(); pointerIndex++) { in MatchAndExplain() local
439 for (size_t pointerIndex = 0; pointerIndex < event.pointerCoords.size(); pointerIndex++) { in MatchAndExplain() local
476 for (size_t pointerIndex = 0; pointerIndex < event.getPointerCount(); pointerIndex++) { in MatchAndExplain() local
/frameworks/base/core/java/android/widget/
DButton.java180 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
DImageButton.java107 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
DTabWidget.java560 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
/frameworks/base/core/java/com/android/internal/policy/
DWearGestureInterceptionDetector.java78 int pointerIndex = ev.findPointerIndex(mActivePointerId); in getIndexForValidPointer() local
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsView.java82 int pointerIndex = ev.getActionIndex(); in onTouchEvent() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java71 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent() local
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp168 static bool validatePointerIndex(JNIEnv* env, jint pointerIndex, const MotionEvent& event) { in validatePointerIndex()
423 jlong nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) { in android_view_MotionEvent_nativeGetPointerCoords()
472 jlong nativePtr, jint pointerIndex, jobject outPointerPropertiesObj) { in android_view_MotionEvent_nativeGetPointerProperties()
528 jlong nativePtr, jint pointerIndex) { in android_view_MotionEvent_nativeGetPointerId()
537 jlong nativePtr, jint pointerIndex) { in android_view_MotionEvent_nativeGetToolType()
560 jint pointerIndex, jint historyPos) { in android_view_MotionEvent_nativeGetRawAxisValue()
577 jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) { in android_view_MotionEvent_nativeGetAxisValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DTouchEventGenerator.java156 public static MotionEvent movePointer(MotionEvent originalEvent, int pointerIndex, in movePointer()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java310 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java300 private void captureDown(MotionEvent event, int pointerIndex) { in captureDown()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java449 final int pointerIndex = ev.getActionIndex(); in onTouchEvent() local
/frameworks/native/libs/input/
DInput.cpp706 size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawPointerCoords()
721 float MotionEvent::getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex, in getHistoricalRawAxisValue()
727 float MotionEvent::getHistoricalAxisValue(int32_t axis, size_t pointerIndex, in getHistoricalAxisValue()

12