Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java68 mTrackingPointer = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
94 final int upPointer = event.getPointerId(event.getActionIndex()); in onInterceptTouchEvent()
97 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent()
98 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
DPanelView.java298 mTrackingPointer = event.getPointerId(pointerIndex); in onTouchEvent()
338 final int upPointer = event.getPointerId(event.getActionIndex()); in onTouchEvent()
341 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onTouchEvent()
344 mTrackingPointer = event.getPointerId(newIndex); in onTouchEvent()
562 mTrackingPointer = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
595 final int upPointer = event.getPointerId(event.getActionIndex()); in onInterceptTouchEvent()
598 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent()
599 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
/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/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/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java371 final int pointerId = event.getPointerId(pointerIndex); in onDoubleTapAndHold()
417 final int pointerId = event.getPointerId(pointerIndex); in onDoubleTap()
639 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateTouchExploring()
747 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateDragging()
759 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateDragging()
862 final int pointerId = prototype.getPointerId(i); in sendDownForAllNotInjectedPointers()
915 final int pointerId = prototype.getPointerId(i); in sendUpForInjectedDownPointers()
936 final int pointerId = prototype.getPointerId(prototype.getActionIndex()); in sendActionDownAndUp()
1377 final int pointerId = event.getPointerId(event.getActionIndex()); in onMotionEvent()
1384 final int pointerId = event.getPointerId(event.getActionIndex()); in onMotionEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java97 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
157 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
161 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java186 mActiveTouchId = ev.getPointerId(0); in onInterceptTouchEvent()
193 mActiveTouchId = ev.getPointerId(actionIndex); in onInterceptTouchEvent()
197 int pointerId = ev.getPointerId(actionIndex); in onInterceptTouchEvent()
201 mActiveTouchId = ev.getPointerId(newActionIndex); in onInterceptTouchEvent()
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.java301 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
347 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
360 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
388 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
461 final int pointerId = ev.getPointerId(pointerIndex);
468 mActivePointerId = ev.getPointerId(newPointerIndex);
/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.cpp324 ASSERT_EQ(1, event->getPointerId(0)); in assertEqualsEventWithHistory()
326 ASSERT_EQ(2, event->getPointerId(1)); in assertEqualsEventWithHistory()
479 ASSERT_EQ(event.getPointerId(0), copy.getPointerId(0)); in TEST_F()
480 ASSERT_EQ(event.getPointerId(1), copy.getPointerId(1)); in TEST_F()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java239 mActivePointerId = ev.getPointerId(0); in handleTouchEvent()
249 mActivePointerId = ev.getPointerId(index); in handleTouchEvent()
320 int pointerId = ev.getPointerId(pointerIndex); in handleTouchEvent()
324 mActivePointerId = ev.getPointerId(newPointerIndex); in handleTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java197 final int pointerId = event.getPointerId(pointerIndex); in captureDown()
231 final int pointerId = move.getPointerId(p); in detectSwipe()
/frameworks/base/core/java/android/view/
DGestureDetector.java566 final int id1 = ev.getPointerId(upIndex); in onTouchEvent()
572 final int id2 = ev.getPointerId(i); in onTouchEvent()
738 final int pointerId = ev.getPointerId(0); in onTouchEvent()
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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java174 mActivePointerId = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
227 int pointerId = event.getPointerId(index); in onTouchEvent()
233 mActivePointerId = event.getPointerId(newPointerIndex); 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()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java306 mActivePointerId = event.getPointerId(0);
388 final int pointerId = event.getPointerId(pointerIndex);
393 mActivePointerId = event.getPointerId(newPointerIndex);
995 mActivePointerId = motionEvent.getPointerId(0); in checkSelectForSwipe()
2256 int pointerId = e.getPointerId(0); in onLongPress()

12