Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java68 mTrackingPointer = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
97 final int upPointer = event.getPointerId(event.getActionIndex()); in onInterceptTouchEvent()
100 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent()
101 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
DPanelViewController.java1105 mTrackingPointer = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
1138 final int upPointer = event.getPointerId(event.getActionIndex()); in onInterceptTouchEvent()
1141 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent()
1142 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
1212 mTrackingPointer = event.getPointerId(pointerIndex); in onTouch()
1253 final int upPointer = event.getPointerId(event.getActionIndex()); in onTouch()
1256 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onTouch()
1259 mTrackingPointer = event.getPointerId(newIndex); in onTouch()
/frameworks/rs/tests/java_api/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/gestures/
DEventDispatcher.java272 final int pointerId = prototype.getPointerId(i); in sendDownForAllNotInjectedPointers()
298 final int pointerId = prototype.getPointerId(i); in sendUpForInjectedDownPointers()
312 final int pointerId = event.getPointerId(pointerIndex); in longPressWithTouchEvents()
333 final int pointerId = event.getPointerId(pointerIndex); in clickWithTouchEvents()
401 final int pointerId = prototype.getPointerId(prototype.getActionIndex()); in sendActionDownAndUp()
DTouchState.java129 final int pointerId = event.getPointerId(event.getActionIndex()); in onInjectedMotionEvent()
471 final int pointerId = event.getPointerId(pointerIndex); in handleReceivedPointerDown()
489 final int pointerId = event.getPointerId(pointerIndex); in handleReceivedPointerUp()
DMultiFingerSwipe.java140 final int pointerId = rawEvent.getPointerId(actionIndex); in onDown()
187 final int pointerId = rawEvent.getPointerId(actionIndex); in onPointerDown()
226 final int pointerId = event.getPointerId(actionIndex); in onPointerUp()
361 final int pointerId = event.getPointerId(actionIndex); in onUp()
DSecondFingerMultiTap.java72 mSecondFingerPointerId = event.getPointerId(index); in onPointerDown()
DTouchExplorer.java598 final int pointerId = event.getPointerId(event.getActionIndex()); in handleActionUp()
766 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateDragging()
779 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateDragging()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DClassifierData.java59 int id = event.getPointerId(i); in update()
79 int id = event.getPointerId(i); in cleanUp()
DAccelerationClassifier.java52 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); in onTouchEvent()
DSpeedAnglesClassifier.java63 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); in onTouchEvent()
DAnglesClassifier.java77 Stroke stroke = mClassifierData.getStroke(event.getPointerId(i)); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java100 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
160 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
164 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java214 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
228 int ptrId = ev.getPointerId(ptrIdx); in onTouchEvent()
235 mActivePointerId = ev.getPointerId(newPointerIdx); in onTouchEvent()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp338 ASSERT_EQ(1, event->getPointerId(0)); in assertEqualsEventWithHistory()
340 ASSERT_EQ(2, event->getPointerId(1)); in assertEqualsEventWithHistory()
493 ASSERT_EQ(event.getPointerId(0), copy.getPointerId(0)); in TEST_F()
494 ASSERT_EQ(event.getPointerId(1), copy.getPointerId(1)); in TEST_F()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java469 final int id = event.getPointerId(i); in logMotionEvent()
475 final int id = event.getPointerId(i); in logMotionEvent()
594 final int id = event.getPointerId(index); in onPointerEvent()
625 final int id = event.getPointerId(i); in onPointerEvent()
638 final int id = event.getPointerId(i); in onPointerEvent()
672 final int id = event.getPointerId(index); in onPointerEvent()
689 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0); in onPointerEvent()
DResolverDrawerLayout.java325 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
380 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
393 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
423 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
498 final int pointerId = ev.getPointerId(pointerIndex);
505 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java207 final int pointerId = event.getPointerId(pointerIndex); in captureDown()
241 final int pointerId = move.getPointerId(p); in detectSwipe()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java371 mTouchEventStreamPointers = 1 << event.getPointerId(0); in onTouchEvent()
415 final int id = event.getPointerId(actionIndex); in onTouchEvent()
432 final int id = event.getPointerId(actionIndex); in onTouchEvent()
DGestureDetector.java594 final int id1 = ev.getPointerId(upIndex); in onTouchEvent()
600 final int id2 = ev.getPointerId(i); in onTouchEvent()
766 final int pointerId = ev.getPointerId(0); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DForwardingListener.java169 mActivePointerId = srcEvent.getPointerId(0); in onTouchObserved()
DHorizontalScrollView.java624 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
650 mActivePointerId = ev.getPointerId(index); in onInterceptTouchEvent()
695 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
812 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp()
819 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
DScrollView.java671 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
756 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
861 mActivePointerId = ev.getPointerId(index); in onTouchEvent()
880 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp()
887 mActivePointerId = ev.getPointerId(newPointerIndex); in onSecondaryPointerUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java147 p.id = ev.getPointerId(i); in motionEventToProto()

12