Home
last modified time | relevance | path

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

12

/frameworks/native/include/input/
DInput.h468 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const { in getPointerProperties()
472 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId()
476 inline int32_t getToolType(size_t pointerIndex) const { in getToolType()
486 inline float getRawX(size_t pointerIndex) const { in getRawX()
490 inline float getRawY(size_t pointerIndex) const { in getRawY()
496 inline float getX(size_t pointerIndex) const { in getX()
500 inline float getY(size_t pointerIndex) const { in getY()
504 inline float getPressure(size_t pointerIndex) const { in getPressure()
508 inline float getSize(size_t pointerIndex) const { in getSize()
512 inline float getTouchMajor(size_t pointerIndex) const { in getTouchMajor()
[all …]
/frameworks/base/core/java/android/view/
DMotionEvent.java1532 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords()
1534 int pointerIndex, PointerProperties outPointerProperties); in nativeGetPointerProperties()
1545 private static native int nativeGetPointerId(long nativePtr, int pointerIndex); in nativeGetPointerId()
1547 private static native int nativeGetToolType(long nativePtr, int pointerIndex); in nativeGetToolType()
1553 int axis, int pointerIndex, int historyPos); in nativeGetRawAxisValue()
1556 int axis, int pointerIndex, int historyPos); in nativeGetAxisValue()
2321 public final int getPointerId(int pointerIndex) { in getPointerId()
2339 public final int getToolType(int pointerIndex) { in getToolType()
2366 public final float getX(int pointerIndex) { in getX()
2381 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/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/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java156 int pointerIndex = ev.getActionIndex(); in onTouchEvent() local
182 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onTouchEvent() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java365 final int pointerIndex = mLastMotionEvent.getActionIndex(); in cacheLastEvent() local
388 final int pointerIndex = event.getActionIndex(); in detectMovement() local
403 final int pointerIndex = mLastMotionEvent.getActionIndex(); in sendClick() local
DTouchExplorer.java370 final int pointerIndex = event.getActionIndex(); in onDoubleTapAndHold() local
416 final int pointerIndex = event.getActionIndex(); in onDoubleTap() local
554 final int pointerIndex = event.findPointerIndex(pointerId); in handleMotionEventStateTouchExploring() local
706 final int pointerIndex = event.findPointerIndex(mDraggingPointerId); in handleMotionEventStateDragging() local
1044 private int computeInjectionAction(int actionMasked, int pointerIndex) { in computeInjectionAction()
1644 private void handleReceivedPointerDown(int pointerIndex, MotionEvent event) { in handleReceivedPointerDown()
1668 private void handleReceivedPointerUp(int pointerIndex, MotionEvent event) { in handleReceivedPointerUp()
/frameworks/base/core/java/android/widget/
DButton.java175 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
DImageButton.java101 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
DTabWidget.java538 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon()
DStackView.java632 int pointerIndex = ev.findPointerIndex(mActivePointerId); in onInterceptTouchEvent() local
DHorizontalScrollView.java592 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent() local
810 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local
DScrollView.java632 final int pointerIndex = ev.findPointerIndex(activePointerId); in onInterceptTouchEvent() local
878 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> in onSecondaryPointerUp() local
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsView.java82 int pointerIndex = ev.getActionIndex(); in onTouchEvent() local
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp158 static bool validatePointerIndex(JNIEnv* env, jint pointerIndex, size_t pointerCount) { in validatePointerIndex()
422 jlong nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) { in android_view_MotionEvent_nativeGetPointerCoords()
445 jlong nativePtr, jint pointerIndex, jobject outPointerPropertiesObj) { in android_view_MotionEvent_nativeGetPointerProperties()
502 jlong nativePtr, jint pointerIndex) { in android_view_MotionEvent_nativeGetPointerId()
512 jlong nativePtr, jint pointerIndex) { in android_view_MotionEvent_nativeGetToolType()
537 jint pointerIndex, jint historyPos) { in android_view_MotionEvent_nativeGetRawAxisValue()
556 jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) { in android_view_MotionEvent_nativeGetAxisValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java65 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent() local
DPanelView.java295 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onTouchEvent() local
559 int pointerIndex = event.findPointerIndex(mTrackingPointer); in onInterceptTouchEvent() local
/frameworks/native/libs/input/
DInput.cpp335 size_t pointerIndex, size_t historicalIndex) const { in getHistoricalRawPointerCoords()
339 float MotionEvent::getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex, in getHistoricalRawAxisValue()
344 float MotionEvent::getHistoricalAxisValue(int32_t axis, size_t pointerIndex, in getHistoricalAxisValue()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java172 int pointerIndex = event.getActionIndex(); in onInterceptTouchEvent() local
210 int pointerIndex = event.findPointerIndex(mActivePointerId); in onTouchEvent() local
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java196 private void captureDown(MotionEvent event, int pointerIndex) { in captureDown()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java387 final int pointerIndex = ev.getActionIndex(); in onTouchEvent() local
DSwipeDismissLayout.java215 int pointerIndex = ev.findPointerIndex(mActiveTouchId); in onInterceptTouchEvent() local
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java918 final int pointerIndex = motionEvent.findPointerIndex(mActivePointerId); in findSwipedView() local
942 boolean checkSelectForSwipe(int action, MotionEvent motionEvent, int pointerIndex) { in checkSelectForSwipe()
1130 void updateDxDy(MotionEvent ev, int directionFlags, int pointerIndex) { in updateDxDy()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java319 int pointerIndex = ev.getActionIndex(); in handleTouchEvent() local
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp161 uint32_t pointerIndex = 0; in createMotionEventStream() local

12