Home
last modified time | relevance | path

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

12

/frameworks/native/include/input/
DInput.h421 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const { in getPointerProperties()
425 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId()
429 inline int32_t getToolType(size_t pointerIndex) const { in getToolType()
439 inline float getRawX(size_t pointerIndex) const { in getRawX()
443 inline float getRawY(size_t pointerIndex) const { in getRawY()
449 inline float getX(size_t pointerIndex) const { in getX()
453 inline float getY(size_t pointerIndex) const { in getY()
457 inline float getPressure(size_t pointerIndex) const { in getPressure()
461 inline float getSize(size_t pointerIndex) const { in getSize()
465 inline float getTouchMajor(size_t pointerIndex) const { in getTouchMajor()
[all …]
/frameworks/support/v4/java/android/support/v4/view/
DMotionEventCompat.java32 public int getPointerId(MotionEvent event, int pointerIndex); in getPointerId()
33 public float getX(MotionEvent event, int pointerIndex); in getX()
34 public float getY(MotionEvent event, int pointerIndex); in getY()
38 float getAxisValue(MotionEvent event, int axis, int pointerIndex); in getAxisValue()
55 public int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId()
63 public float getX(MotionEvent event, int pointerIndex) { in getX()
70 public float getY(MotionEvent event, int pointerIndex) { in getY()
92 public float getAxisValue(MotionEvent event, int axis, int pointerIndex) { in getAxisValue()
111 public int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId()
115 public float getX(MotionEvent event, int pointerIndex) { in getX()
[all …]
/frameworks/support/v4/eclair/android/support/v4/view/
DMotionEventCompatEclair.java28 public static int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId()
31 public static float getX(MotionEvent event, int pointerIndex) { in getX()
34 public static float getY(MotionEvent event, int pointerIndex) { in getY()
/frameworks/base/core/java/android/view/
DMotionEvent.java1477 private static native int nativeGetPointerId(long nativePtr, int pointerIndex); in nativeGetPointerId()
1478 private static native int nativeGetToolType(long nativePtr, int pointerIndex); in nativeGetToolType()
1484 int axis, int pointerIndex, int historyPos); in nativeGetRawAxisValue()
1486 int axis, int pointerIndex, int historyPos); in nativeGetAxisValue()
1488 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords()
1490 int pointerIndex, PointerProperties outPointerProperties); in nativeGetPointerProperties()
2076 public final int getPointerId(int pointerIndex) { in getPointerId()
2094 public final int getToolType(int pointerIndex) { in getToolType()
2121 public final float getX(int pointerIndex) { in getX()
2136 public final float getY(int pointerIndex) { in getY()
[all …]
/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/support/v4/honeycomb_mr1/android/support/v4/view/
DMotionEventCompatHoneycombMr1.java29 static float getAxisValue(MotionEvent event, int axis, int pointerIndex) { in getAxisValue()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java387 final int pointerIndex = mLastMotionEvent.getActionIndex(); in cacheLastEvent() local
410 final int pointerIndex = event.getActionIndex(); in detectMovement() local
425 final int pointerIndex = mLastMotionEvent.getActionIndex(); in sendClick() local
DTouchExplorer.java372 final int pointerIndex = event.getActionIndex(); in onDoubleTapAndHold() local
410 final int pointerIndex = event.getActionIndex(); in onDoubleTap() local
543 final int pointerIndex = event.findPointerIndex(pointerId); in handleMotionEventStateTouchExploring() local
1014 private int computeInjectionAction(int actionMasked, int pointerIndex) { in computeInjectionAction()
1604 private void handleReceivedPointerDown(int pointerIndex, MotionEvent event) { in handleReceivedPointerDown()
1628 private void handleReceivedPointerUp(int pointerIndex, MotionEvent event) { in handleReceivedPointerUp()
DGestureUtils.java38 public static double computeDistance(MotionEvent first, MotionEvent second, int pointerIndex) { in computeDistance()
/frameworks/rs/java/tests/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.java66 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent() local
DPanelView.java238 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onTouchEvent() local
457 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent() local
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp158 static bool validatePointerIndex(JNIEnv* env, jint pointerIndex, size_t pointerCount) { in validatePointerIndex()
568 jlong nativePtr, jint pointerIndex) { in android_view_MotionEvent_nativeGetPointerId()
578 jlong nativePtr, jint pointerIndex) { in android_view_MotionEvent_nativeGetToolType()
614 jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) { in android_view_MotionEvent_nativeGetRawAxisValue()
633 jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) { in android_view_MotionEvent_nativeGetAxisValue()
652 jlong nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) { in android_view_MotionEvent_nativeGetPointerCoords()
675 jlong nativePtr, jint pointerIndex, jobject outPointerPropertiesObj) { in android_view_MotionEvent_nativeGetPointerProperties()
/frameworks/native/libs/input/
DInput.cpp308 size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawPointerCoords()
312 float MotionEvent::getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex, in getHistoricalRawAxisValue()
317 float MotionEvent::getHistoricalAxisValue(int32_t axis, size_t pointerIndex, in getHistoricalAxisValue()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java206 int pointerIndex = ev.findPointerIndex(mActiveTouchId); in onInterceptTouchEvent() local
DResolverDrawerLayout.java333 final int pointerIndex = ev.getActionIndex(); in onTouchEvent() local
/frameworks/support/design/src/android/support/design/widget/
DHeaderBehavior.java86 final int pointerIndex = MotionEventCompat.findPointerIndex(ev, activePointerId); in onInterceptTouchEvent() local
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java159 private void captureDown(MotionEvent event, int pointerIndex) { in captureDown()
/frameworks/support/v4/java/android/support/v4/widget/
DSwipeRefreshLayout.java983 int pointerIndex = -1; in onTouchEvent() local
1147 final int pointerIndex = MotionEventCompat.getActionIndex(ev); in onSecondaryPointerUp() local
DNestedScrollView.java642 final int pointerIndex = MotionEventCompat.findPointerIndex(ev, activePointerId); in onInterceptTouchEvent() local
881 final int pointerIndex = (ev.getAction() & MotionEventCompat.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java925 final int pointerIndex = MotionEventCompat.findPointerIndex(motionEvent, mActivePointerId); in findSwipedView() local
949 private boolean checkSelectForSwipe(int action, MotionEvent motionEvent, int pointerIndex) { in checkSelectForSwipe()
1137 private void updateDxDy(MotionEvent ev, int directionFlags, int pointerIndex) { in updateDxDy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java312 int pointerIndex = ev.getActionIndex(); in handleTouchEvent() local
/frameworks/base/core/java/android/widget/
DStackView.java631 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() local
DHorizontalScrollView.java486 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent() local
704 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local
DScrollView.java520 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent() local
762 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local

12