Home
last modified time | relevance | path

Searched refs:getPointerId (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/support/v4/java/android/support/v4/view/
DMotionEventCompat.java32 public int getPointerId(MotionEvent event, int pointerIndex); in getPointerId() method
55 public int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId() method in MotionEventCompat.BaseMotionEventVersionImpl
111 public int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId() method in MotionEventCompat.EclairMotionEventVersionImpl
112 return MotionEventCompatEclair.getPointerId(event, pointerIndex); in getPointerId()
486 public static int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId() method in MotionEventCompat
487 return IMPL.getPointerId(event, pointerIndex); in getPointerId()
DGestureDetectorCompat.java265 final int id1 = MotionEventCompat.getPointerId(ev, upIndex); in onTouchEvent()
271 final int id2 = MotionEventCompat.getPointerId(ev, i); in onTouchEvent()
371 final int pointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java69 mTrackingPointer = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
87 final int upPointer = event.getPointerId(event.getActionIndex()); in onInterceptTouchEvent()
90 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent()
91 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
DPanelView.java241 mTrackingPointer = event.getPointerId(pointerIndex); in onTouchEvent()
281 final int upPointer = event.getPointerId(event.getActionIndex()); in onTouchEvent()
284 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onTouchEvent()
287 mTrackingPointer = event.getPointerId(newIndex); in onTouchEvent()
460 mTrackingPointer = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
491 final int upPointer = event.getPointerId(event.getActionIndex()); in onInterceptTouchEvent()
494 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent()
495 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
DNotificationPanelView.java591 mTrackingPointer = event.getPointerId(pointerIndex); in onQsIntercept()
615 final int upPointer = event.getPointerId(event.getActionIndex()); in onQsIntercept()
618 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onQsIntercept()
619 mTrackingPointer = event.getPointerId(newIndex); in onQsIntercept()
868 mTrackingPointer = event.getPointerId(pointerIndex); in onQsTouch()
886 final int upPointer = event.getPointerId(event.getActionIndex()); in onQsTouch()
889 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onQsTouch()
892 mTrackingPointer = event.getPointerId(newIndex); in onQsTouch()
/frameworks/support/v4/eclair/android/support/v4/view/
DMotionEventCompatEclair.java28 public static int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId() method in MotionEventCompatEclair
29 return event.getPointerId(pointerIndex); in getPointerId()
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBallsView.java78 mRender.newTouchPosition(0, 0, 0, ev.getPointerId(0)); in onTouchEvent()
83 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
91 int id = ev.getPointerId(p); in onTouchEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java163 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onInterceptTouchEvent()
169 final int pointerId = MotionEventCompat.getPointerId(ev, pointerIndex); in onInterceptTouchEvent()
174 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex); in onInterceptTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java373 final int pointerId = event.getPointerId(pointerIndex); in onDoubleTapAndHold()
411 final int pointerId = event.getPointerId(pointerIndex); in onDoubleTap()
625 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateTouchExploring()
723 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateDragging()
735 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateDragging()
834 final int pointerId = prototype.getPointerId(i); in sendDownForAllNotInjectedPointers()
888 final int pointerId = prototype.getPointerId(i); in sendUpForInjectedDownPointers()
909 final int pointerId = prototype.getPointerId(prototype.getActionIndex()); in sendActionDownAndUp()
1337 final int pointerId = event.getPointerId(event.getActionIndex()); in onMotionEvent()
1344 final int pointerId = event.getPointerId(event.getActionIndex()); in onMotionEvent()
[all …]
DGestureUtils.java50 && first.getPointerId(first.getActionIndex()) in isSamePointerContext()
51 == second.getPointerId(second.getActionIndex())); in isSamePointerContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DClassifierData.java45 int id = event.getPointerId(i); in update()
63 int id = event.getPointerId(i); in cleanUp()
DAccelerationClassifier.java52 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); in onTouchEvent()
DSpeedAnglesClassifier.java57 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java177 mActiveTouchId = ev.getPointerId(0); in onInterceptTouchEvent()
184 mActiveTouchId = ev.getPointerId(actionIndex); in onInterceptTouchEvent()
188 int pointerId = ev.getPointerId(actionIndex); in onInterceptTouchEvent()
192 mActiveTouchId = ev.getPointerId(newActionIndex); in onInterceptTouchEvent()
DPointerLocationView.java429 final int id = event.getPointerId(i); in logMotionEvent()
435 final int id = event.getPointerId(i); in logMotionEvent()
554 final int id = event.getPointerId(index); in onPointerEvent()
585 final int id = event.getPointerId(i); in onPointerEvent()
598 final int id = event.getPointerId(i); in onPointerEvent()
632 final int id = event.getPointerId(index); in onPointerEvent()
643 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0); in onPointerEvent()
DResolverDrawerLayout.java258 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
297 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
310 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
334 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
395 final int pointerId = ev.getPointerId(pointerIndex);
402 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java846 final int pointerId = MotionEventCompat.getPointerId(ev, i); in saveLastMotion()
970 final int pointerId = MotionEventCompat.getPointerId(ev, 0); in shouldInterceptTouchEvent()
988 final int pointerId = MotionEventCompat.getPointerId(ev, actionIndex); in shouldInterceptTouchEvent()
1016 final int pointerId = MotionEventCompat.getPointerId(ev, i); in shouldInterceptTouchEvent()
1066 final int pointerId = MotionEventCompat.getPointerId(ev, actionIndex); in shouldInterceptTouchEvent()
1106 final int pointerId = MotionEventCompat.getPointerId(ev, 0); in processTouchEvent()
1124 final int pointerId = MotionEventCompat.getPointerId(ev, actionIndex); in processTouchEvent()
1169 final int pointerId = MotionEventCompat.getPointerId(ev, i); in processTouchEvent()
1197 final int pointerId = MotionEventCompat.getPointerId(ev, actionIndex); in processTouchEvent()
1203 final int id = MotionEventCompat.getPointerId(ev, i); in processTouchEvent()
DSwipeRefreshLayout.java683 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onInterceptTouchEvent()
996 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent()
1024 mActivePointerId = MotionEventCompat.getPointerId(ev, pointerIndex); in onTouchEvent()
1148 final int pointerId = MotionEventCompat.getPointerId(ev, pointerIndex); in onSecondaryPointerUp()
1153 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex); in onSecondaryPointerUp()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp316 ASSERT_EQ(1, event->getPointerId(0)); in assertEqualsEventWithHistory()
318 ASSERT_EQ(2, event->getPointerId(1)); in assertEqualsEventWithHistory()
466 ASSERT_EQ(event.getPointerId(0), copy.getPointerId(0)); in TEST_F()
467 ASSERT_EQ(event.getPointerId(1), copy.getPointerId(1)); in TEST_F()
/frameworks/support/design/src/android/support/design/widget/
DHeaderBehavior.java74 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onInterceptTouchEvent()
132 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java536 final int id1 = ev.getPointerId(upIndex); in onTouchEvent()
542 final int id2 = ev.getPointerId(i); in onTouchEvent()
643 final int pointerId = ev.getPointerId(0); in onTouchEvent()
DInputEventConsistencyVerifier.java367 mTouchEventStreamPointers = 1 << event.getPointerId(0); in onTouchEvent()
411 final int id = event.getPointerId(actionIndex); in onTouchEvent()
428 final int id = event.getPointerId(actionIndex); in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java160 final int pointerId = event.getPointerId(pointerIndex); in captureDown()
190 final int pointerId = move.getPointerId(p); in detectSwipe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java239 mActivePointerId = ev.getPointerId(0); in handleTouchEvent()
249 mActivePointerId = ev.getPointerId(index); in handleTouchEvent()
313 int pointerId = ev.getPointerId(pointerIndex); in handleTouchEvent()
317 mActivePointerId = ev.getPointerId(newPointerIndex); in handleTouchEvent()
/frameworks/base/docs/html/training/gestures/
Dmulti.jd86 android.view.MotionEvent#getPointerId getPointerId()} method to obtain a
98 mActivePointerId = event.getPointerId(0);

123