Home
last modified time | relevance | path

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

/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
41 public int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex() argument
42 if (pointerId == 0) { in findPointerIndex()
77 public int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex() argument
78 return MotionEventCompatEclair.findPointerIndex(event, pointerId); in findPointerIndex()
191 public static int findPointerIndex(MotionEvent event, int pointerId) { in findPointerIndex() argument
192 return IMPL.findPointerIndex(event, pointerId); in findPointerIndex()
DViewPager.java2137 final int pointerId = MotionEventCompat.getPointerId(ev, pointerIndex);
2138 if (pointerId == mActivePointerId) {
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java385 final int pointerId = receivedTracker.getPrimaryActivePointerId(); in handleMotionEventStateTouchExploring() local
386 final int pointerIdBits = (1 << pointerId); in handleMotionEventStateTouchExploring()
395 final int pointerId = receivedTracker.getPrimaryActivePointerId(); in handleMotionEventStateTouchExploring() local
396 final int pointerIndex = event.findPointerIndex(pointerId); in handleMotionEventStateTouchExploring()
397 final int pointerIdBits = (1 << pointerId); in handleMotionEventStateTouchExploring()
412 final float deltaX = receivedTracker.getReceivedPointerDownX(pointerId) in handleMotionEventStateTouchExploring()
414 final float deltaY = receivedTracker.getReceivedPointerDownY(pointerId) in handleMotionEventStateTouchExploring()
424 Math.abs(mVelocityTracker.getXVelocity(pointerId)), in handleMotionEventStateTouchExploring()
425 Math.abs(mVelocityTracker.getYVelocity(pointerId))); in handleMotionEventStateTouchExploring()
470 final float deltaX = 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/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/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/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/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/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/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/core/java/android/view/
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/services/input/
DInputDispatcher.cpp1277 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() local
1278 pointerIds.markBit(pointerId); in findTouchedWindowTargetsLocked()
1516 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() local
1521 touchedWindow.pointerIds.clearBit(pointerId); in findTouchedWindowTargetsLocked()
2210 uint32_t pointerId = uint32_t(pointerProperties.id); in splitMotionEvent() local
2211 if (pointerIds.hasBit(pointerId)) { in splitMotionEvent()
2240 uint32_t pointerId = uint32_t(pointerProperties.id); in splitMotionEvent() local
2241 if (pointerIds.hasBit(pointerId)) { in splitMotionEvent()
2249 while (pointerId != uint32_t(splitPointerProperties[splitPointerIndex].id)) { in splitMotionEvent()
/frameworks/base/include/androidfw/
DInput.h490 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()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java664 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() local
665 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
DScrollView.java687 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() local
688 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
DStackView.java762 final int pointerId = ev.getPointerId(activePointerIndex);
763 if (pointerId == mActivePointerId) {
DAbsListView.java3945 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() local
3946 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
/frameworks/base/docs/html/guide/topics/graphics/renderscript/
Dgraphics.jd425 int pointerId = ev.getPointerId(pointerIndex);
426 mRender.newTouchPosition(0, 0, 0, pointerId);