/frameworks/support/v4/java/android/support/v4/view/ |
D | MotionEventCompat.java | 32 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()
|
D | GestureDetectorCompat.java | 265 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/ |
D | HeadsUpTouchHelper.java | 69 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()
|
D | PanelView.java | 241 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()
|
D | NotificationPanelView.java | 591 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/ |
D | MotionEventCompatEclair.java | 28 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/ |
D | BallsView.java | 78 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/ |
D | PhotoViewPager.java | 163 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/ |
D | TouchExplorer.java | 373 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 …]
|
D | GestureUtils.java | 50 && first.getPointerId(first.getActionIndex()) in isSamePointerContext() 51 == second.getPointerId(second.getActionIndex())); in isSamePointerContext()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | ClassifierData.java | 45 int id = event.getPointerId(i); in update() 63 int id = event.getPointerId(i); in cleanUp()
|
D | AccelerationClassifier.java | 52 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); in onTouchEvent()
|
D | SpeedAnglesClassifier.java | 57 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 177 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()
|
D | PointerLocationView.java | 429 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()
|
D | ResolverDrawerLayout.java | 258 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/ |
D | ViewDragHelper.java | 846 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()
|
D | SwipeRefreshLayout.java | 683 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/ |
D | InputEvent_test.cpp | 316 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/ |
D | HeaderBehavior.java | 74 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onInterceptTouchEvent() 132 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 536 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()
|
D | InputEventConsistencyVerifier.java | 367 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/ |
D | SystemGesturesPointerEventListener.java | 160 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/ |
D | TaskStackViewTouchHandler.java | 239 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/ |
D | multi.jd | 86 android.view.MotionEvent#getPointerId getPointerId()} method to obtain a 98 mActivePointerId = event.getPointerId(0);
|