Home
last modified time | relevance | path

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

12

/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java214 public void onEdgeTouched(int edgeFlags, int pointerId) {} in onEdgeTouched() argument
240 public void onEdgeDragStarted(int edgeFlags, int pointerId) {} in onEdgeDragStarted() argument
290 public abstract boolean tryCaptureView(View child, int pointerId); in tryCaptureView() argument
783 private void clearMotionHistory(int pointerId) { in clearMotionHistory() argument
787 mInitialMotionX[pointerId] = 0; in clearMotionHistory()
788 mInitialMotionY[pointerId] = 0; in clearMotionHistory()
789 mLastMotionX[pointerId] = 0; in clearMotionHistory()
790 mLastMotionY[pointerId] = 0; in clearMotionHistory()
791 mInitialEdgesTouched[pointerId] = 0; in clearMotionHistory()
792 mEdgeDragsInProgress[pointerId] = 0; in clearMotionHistory()
[all …]
DDrawerLayout.java1346 public boolean tryCaptureView(View child, int pointerId) { in tryCaptureView() argument
1411 public void onEdgeTouched(int edgeFlags, int pointerId) { in onEdgeTouched() argument
1455 public void onEdgeDragStarted(int edgeFlags, int pointerId) { in onEdgeDragStarted() argument
1464 mDragger.captureChildView(toCapture, pointerId); in onEdgeDragStarted()
DSlidingPaneLayout.java1181 public boolean tryCaptureView(View child, int pointerId) { in tryCaptureView() argument
1243 public void onEdgeDragStarted(int edgeFlags, int pointerId) { in onEdgeDragStarted() argument
1244 mDragHelper.captureChildView(mSlideableView, pointerId); in onEdgeDragStarted()
/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.java371 final int pointerId = MotionEventCompat.getPointerId(ev, 0); in onTouchEvent() local
374 velocityTracker, pointerId); in onTouchEvent()
376 velocityTracker, pointerId); in onTouchEvent()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java435 final int pointerId = receivedTracker.getPrimaryPointerId(); in handleMotionEventStateTouchExploring() local
436 final int pointerIdBits = (1 << pointerId); in handleMotionEventStateTouchExploring()
454 final int pointerId = receivedTracker.getPrimaryPointerId(); in handleMotionEventStateTouchExploring() local
455 final int pointerIndex = event.findPointerIndex(pointerId); in handleMotionEventStateTouchExploring()
456 final int pointerIdBits = (1 << pointerId); in handleMotionEventStateTouchExploring()
473 final float deltaX = receivedTracker.getReceivedPointerDownX(pointerId) in handleMotionEventStateTouchExploring()
475 final float deltaY = receivedTracker.getReceivedPointerDownY(pointerId) in handleMotionEventStateTouchExploring()
485 Math.abs(mVelocityTracker.getXVelocity(pointerId)), in handleMotionEventStateTouchExploring()
486 Math.abs(mVelocityTracker.getYVelocity(pointerId))); in handleMotionEventStateTouchExploring()
516 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/base/policy/src/com/android/internal/policy/impl/
DSystemGesturesPointerEventListener.java116 final int pointerId = event.getPointerId(pointerIndex);
117 final int i = findIndex(pointerId);
118 if (DEBUG) Slog.d(TAG, "pointer " + pointerId +
124 if (DEBUG) Slog.d(TAG, "pointer " + pointerId +
129 private int findIndex(int pointerId) {
131 if (mDownPointerId[i] == pointerId) {
135 if (mDownPointers == MAX_TRACKED_POINTERS || pointerId == MotionEvent.INVALID_POINTER_ID) {
138 mDownPointerId[mDownPointers++] = pointerId;
146 final int pointerId = move.getPointerId(p);
147 final int i = findIndex(pointerId);
/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.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/
DFBOSyncView.java118 final int pointerId = ev.getPointerId(pointerIndex); in onTouchEvent() local
119 if (pointerId == mActivePointerId) { in onTouchEvent()
DFBOTestView.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/rs/java/tests/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/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.java603 final int pointerId = ev.getPointerId(0); in onTouchEvent() local
605 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent()
606 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent()
DMotionEvent.java1353 private static native int nativeFindPointerIndex(int nativePtr, int pointerId); in nativeFindPointerIndex() argument
1963 public final int findPointerIndex(int pointerId) { in findPointerIndex() argument
1964 return nativeFindPointerIndex(mNativePtr, pointerId); in findPointerIndex()
/frameworks/base/docs/html/training/gestures/
Dmovement.jd112 int pointerId = event.getPointerId(index);
137 pointerId));
140 pointerId));
/frameworks/native/libs/input/
DInput.cpp395 ssize_t MotionEvent::findPointerIndex(int32_t pointerId) const { in findPointerIndex()
398 if (mPointerProperties.itemAt(i).id == pointerId) { in findPointerIndex()
/frameworks/base/services/input/
DInputDispatcher.cpp1305 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() local
1306 pointerIds.markBit(pointerId); in findTouchedWindowTargetsLocked()
1548 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() local
1553 touchedWindow.pointerIds.clearBit(pointerId); in findTouchedWindowTargetsLocked()
2254 uint32_t pointerId = uint32_t(pointerProperties.id); in splitMotionEvent() local
2255 if (pointerIds.hasBit(pointerId)) { in splitMotionEvent()
2284 uint32_t pointerId = uint32_t(pointerProperties.id); in splitMotionEvent() local
2285 if (pointerIds.hasBit(pointerId)) { in splitMotionEvent()
2293 while (pointerId != uint32_t(splitPointerProperties[splitPointerIndex].id)) { in splitMotionEvent()

12