Home
last modified time | relevance | path

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

123

/frameworks/support/v4/java/android/support/v4/view/
DMotionEventCompat.java31 public int getPointerId(MotionEvent event, int pointerIndex); in getPointerId() method
50 public int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId() method in MotionEventCompat.BaseMotionEventVersionImpl
86 public int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId() method in MotionEventCompat.EclairMotionEventVersionImpl
87 return MotionEventCompatEclair.getPointerId(event, pointerIndex); in getPointerId()
209 public static int getPointerId(MotionEvent event, int pointerIndex) { in getPointerId() method in MotionEventCompat
210 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/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
DFountainFboView.java62 mRender.newTouchPosition(0, 0, 0, ev.getPointerId(0)); in onTouchEvent()
67 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
74 int id = ev.getPointerId(p); in onTouchEvent()
/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/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestView.java86 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
112 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
120 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
DFountainView.java77 mRender.newTouchPosition(0, 0, 0, ev.getPointerId(0)); in onTouchEvent()
82 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
89 int id = ev.getPointerId(p); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
DFountainView.java77 mRender.newTouchPosition(0, 0, 0, ev.getPointerId(0)); in onTouchEvent()
82 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
89 int id = ev.getPointerId(p); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOSyncView.java92 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
118 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
126 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
DFBOTestView.java92 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
118 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
126 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/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/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestAppView.java101 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
127 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
135 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelView.java119 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
145 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
153 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DStackTapPointerEventListener.java52 mPointerId = motionEvent.getPointerId(0); in onPointerEvent()
72 if (mPointerId == motionEvent.getPointerId(index)) { in onPointerEvent()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java158 mActiveTouchId = ev.getPointerId(0); in onInterceptTouchEvent()
165 mActiveTouchId = ev.getPointerId(actionIndex); in onInterceptTouchEvent()
169 int pointerId = ev.getPointerId(actionIndex); in onInterceptTouchEvent()
173 mActiveTouchId = ev.getPointerId(newActionIndex); in onInterceptTouchEvent()
DResolverDrawerLayout.java183 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
222 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
235 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
259 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
320 final int pointerId = ev.getPointerId(pointerIndex);
327 mActivePointerId = ev.getPointerId(newPointerIndex);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java138 mActivePointerId = ev.getPointerId(0); in onInterceptTouchEvent()
213 mActivePointerId = ev.getPointerId(0); in onTouchEvent()
230 mActivePointerId = ev.getPointerId(index); in onTouchEvent()
306 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent()
310 mActivePointerId = ev.getPointerId(newPointerIndex); in onTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGestureUtils.java50 && first.getPointerId(first.getActionIndex()) in isSamePointerContext()
51 == second.getPointerId(second.getActionIndex())); in isSamePointerContext()
DTouchExplorer.java621 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateTouchExploring()
713 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateDragging()
725 final int pointerId = event.getPointerId(event.getActionIndex()); in handleMotionEventStateDragging()
879 final int pointerId = prototype.getPointerId(i); in sendDownForAllNotInjectedPointers()
933 final int pointerId = prototype.getPointerId(i); in sendUpForInjectedDownPointers()
954 final int pointerId = prototype.getPointerId(prototype.getActionIndex()); in sendActionDownAndUp()
1162 final int pointerId = secondTapUp.getPointerId(secondTapUp.getActionIndex()); in onDoubleTap()
1326 final int pointerId = mEvent.getPointerId(mEvent.getActionIndex()); in run()
1559 final int pointerId = event.getPointerId(event.getActionIndex()); in onMotionEvent()
1566 final int pointerId = event.getPointerId(event.getActionIndex()); in onMotionEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java228 mTrackingPointer = event.getPointerId(pointerIndex); in onTouchEvent()
269 final int upPointer = event.getPointerId(event.getActionIndex()); in onTouchEvent()
272 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onTouchEvent()
275 mTrackingPointer = event.getPointerId(newIndex); in onTouchEvent()
409 mTrackingPointer = event.getPointerId(pointerIndex); in onInterceptTouchEvent()
439 final int upPointer = event.getPointerId(event.getActionIndex()); in onInterceptTouchEvent()
442 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent()
443 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java845 final int pointerId = MotionEventCompat.getPointerId(ev, i); in saveLastMotion()
965 final int pointerId = MotionEventCompat.getPointerId(ev, 0); in shouldInterceptTouchEvent()
983 final int pointerId = MotionEventCompat.getPointerId(ev, actionIndex); in shouldInterceptTouchEvent()
1009 final int pointerId = MotionEventCompat.getPointerId(ev, i); in shouldInterceptTouchEvent()
1055 final int pointerId = MotionEventCompat.getPointerId(ev, actionIndex); in shouldInterceptTouchEvent()
1095 final int pointerId = MotionEventCompat.getPointerId(ev, 0); in processTouchEvent()
1113 final int pointerId = MotionEventCompat.getPointerId(ev, actionIndex); in processTouchEvent()
1155 final int pointerId = MotionEventCompat.getPointerId(ev, i); in processTouchEvent()
1179 final int pointerId = MotionEventCompat.getPointerId(ev, actionIndex); in processTouchEvent()
1185 final int id = MotionEventCompat.getPointerId(ev, i); in processTouchEvent()
DSwipeRefreshLayout.java645 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onInterceptTouchEvent()
718 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent()
786 mActivePointerId = MotionEventCompat.getPointerId(ev, index); in onTouchEvent()
939 final int pointerId = MotionEventCompat.getPointerId(ev, pointerIndex); in onSecondaryPointerUp()
944 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/base/policy/src/com/android/internal/policy/impl/
DSystemGesturesPointerEventListener.java116 final int pointerId = event.getPointerId(pointerIndex);
146 final int pointerId = move.getPointerId(p);
/frameworks/base/core/java/android/view/
DGestureDetector.java496 final int id1 = ev.getPointerId(upIndex); in onTouchEvent()
502 final int id2 = ev.getPointerId(i); in onTouchEvent()
603 final int pointerId = ev.getPointerId(0); in onTouchEvent()

123