Home
last modified time | relevance | path

Searched refs:pointerId (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/support/v4/java/android/support/v4/view/
DVelocityTrackerCompat.java30 public float getXVelocity(VelocityTracker tracker, int pointerId); in getXVelocity() argument
31 public float getYVelocity(VelocityTracker tracker, int pointerId); in getYVelocity() argument
39 public float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() argument
43 public float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() argument
53 public float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() argument
54 return VelocityTrackerCompatHoneycomb.getXVelocity(tracker, pointerId); in getXVelocity()
57 public float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() argument
58 return VelocityTrackerCompatHoneycomb.getYVelocity(tracker, pointerId); in getYVelocity()
81 public static float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() argument
82 return IMPL.getXVelocity(tracker, pointerId); in getXVelocity()
[all …]
DMotionEventCompat.java30 public int findPointerIndex(MotionEvent event, int pointerId); in findPointerIndex() argument
42 public int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex() argument
43 if (pointerId == 0) { in findPointerIndex()
82 public int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex() argument
83 return MotionEventCompatEclair.findPointerIndex(event, pointerId); in findPointerIndex()
200 public static int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex() argument
201 return IMPL.findPointerIndex(event, pointerId); in findPointerIndex()
DGestureDetectorCompat.java363 final int pointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent() local
366 velocityTracker, pointerId); in onTouchEvent()
368 velocityTracker, pointerId); in onTouchEvent()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java455 final int pointerId = receivedTracker.getPrimaryActivePointerId(); in handleMotionEventStateTouchExploring() local
456 final int pointerIdBits = (1 << pointerId); in handleMotionEventStateTouchExploring()
466 final int pointerId = receivedTracker.getPrimaryActivePointerId(); in handleMotionEventStateTouchExploring() local
467 final int pointerIndex = event.findPointerIndex(pointerId); in handleMotionEventStateTouchExploring()
468 final int pointerIdBits = (1 << pointerId); in handleMotionEventStateTouchExploring()
484 final float deltaX = receivedTracker.getReceivedPointerDownX(pointerId) in handleMotionEventStateTouchExploring()
486 final float deltaY = receivedTracker.getReceivedPointerDownY(pointerId) in handleMotionEventStateTouchExploring()
496 Math.abs(mVelocityTracker.getXVelocity(pointerId)), in handleMotionEventStateTouchExploring()
497 Math.abs(mVelocityTracker.getYVelocity(pointerId))); in handleMotionEventStateTouchExploring()
527 receivedTracker.getReceivedPointerDownX(pointerId) in handleMotionEventStateTouchExploring()
[all …]
/frameworks/support/v4/honeycomb/android/support/v4/view/
DVelocityTrackerCompatHoneycomb.java25 public static float getXVelocity(VelocityTracker tracker, int pointerId) { in getXVelocity() argument
26 return tracker.getXVelocity(pointerId); in getXVelocity()
28 public static float getYVelocity(VelocityTracker tracker, int pointerId) { in getYVelocity() argument
29 return tracker.getYVelocity(pointerId); in getYVelocity()
/frameworks/support/v4/eclair/android/support/v4/view/
DMotionEventCompatEclair.java25 public static int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex() argument
26 return event.findPointerIndex(pointerId); in findPointerIndex()
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
DFountainFboView.java67 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
68 mRender.newTouchPosition(0, 0, 0, pointerId); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestView.java112 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
113 if (pointerId == mActivePointerId) { in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
DFountainView.java85 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
86 mRender.newTouchPosition(0, 0, 0, pointerId); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
DFountainView.java82 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
83 mRender.newTouchPosition(0, 0, 0, pointerId); in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestView.java118 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
119 if (pointerId == mActivePointerId) { in onTouchEvent()
DFBOSyncView.java118 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
119 if (pointerId == mActivePointerId) { in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
DBallsView.java83 int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
84 mRender.newTouchPosition(0, 0, 0, pointerId); in onTouchEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java169 final int pointerId = MotionEventCompat.getPointerId(ev, pointerIndex); in onInterceptTouchEvent() local
170 if (pointerId == mActivePointerId) { in onInterceptTouchEvent()
/frameworks/ex/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java168 final int pointerId = MotionEventCompat.getPointerId(ev, pointerIndex); in onInterceptTouchEvent() local
169 if (pointerId == mActivePointerId) { in onInterceptTouchEvent()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestAppView.java127 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
128 if (pointerId == mActivePointerId) { in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelView.java145 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
146 if (pointerId == mActivePointerId) { in onTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java593 final int pointerId = ev.getPointerId(0); in onTouchEvent() local
595 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
596 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent()
DMotionEvent.java1353 private static native int nativeFindPointerIndex(int nativePtr, int pointerId); in nativeFindPointerIndex() argument
1965 public final int findPointerIndex(int pointerId) { in findPointerIndex() argument
1966 return nativeFindPointerIndex(mNativePtr, pointerId); in findPointerIndex()
/frameworks/base/docs/html/training/gestures/
Dmovement.jd106 int pointerId = event.getPointerId(index);
131 pointerId));
134 pointerId));
Dscale.jd162 final int pointerId = MotionEventCompat.getPointerId(ev, pointerIndex);
164 if (pointerId == mActivePointerId) {
/frameworks/base/libs/androidfw/
DInput.cpp393 ssize_t MotionEvent::findPointerIndex(int32_t pointerId) const { in findPointerIndex()
396 if (mPointerProperties.itemAt(i).id == pointerId) { in findPointerIndex()
/frameworks/base/services/input/
DInputDispatcher.cpp1304 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() local
1305 pointerIds.markBit(pointerId); in findTouchedWindowTargetsLocked()
1547 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() local
1552 touchedWindow.pointerIds.clearBit(pointerId); in findTouchedWindowTargetsLocked()
2253 uint32_t pointerId = uint32_t(pointerProperties.id); in splitMotionEvent() local
2254 if (pointerIds.hasBit(pointerId)) { in splitMotionEvent()
2283 uint32_t pointerId = uint32_t(pointerProperties.id); in splitMotionEvent() local
2284 if (pointerIds.hasBit(pointerId)) { in splitMotionEvent()
2292 while (pointerId != uint32_t(splitPointerProperties[splitPointerIndex].id)) { in splitMotionEvent()
/frameworks/base/include/androidfw/
DInput.h499 ssize_t findPointerIndex(int32_t pointerId) const;
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp574 jint nativePtr, jint pointerId) { in android_view_MotionEvent_nativeFindPointerIndex() argument
576 return jint(event->findPointerIndex(pointerId)); in android_view_MotionEvent_nativeFindPointerIndex()

12