Home
last modified time | relevance | path

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

123

/frameworks/support/v4/java/android/support/v4/view/
DMotionEventCompat.java35 public int getPointerCount(MotionEvent event); in getPointerCount() method
77 public int getPointerCount(MotionEvent event) { in getPointerCount() method in MotionEventCompat.BaseMotionEventVersionImpl
123 public int getPointerCount(MotionEvent event) { in getPointerCount() method in MotionEventCompat.EclairMotionEventVersionImpl
124 return MotionEventCompatEclair.getPointerCount(event); in getPointerCount()
512 public static int getPointerCount(MotionEvent event) { in getPointerCount() method in MotionEventCompat
513 return IMPL.getPointerCount(event); in getPointerCount()
/frameworks/support/v4/eclair/android/support/v4/view/
DMotionEventCompatEclair.java37 public static int getPointerCount(MotionEvent event) { in getPointerCount() method in MotionEventCompatEclair
38 return event.getPointerCount(); in getPointerCount()
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java101 Log.v(TAG, "ACTION_DOWN " + event.getPointerCount()); in onCreate()
105 Log.v(TAG, "ACTION_UP " + event.getPointerCount()); in onCreate()
109 Log.v(TAG, "ACTION_MOVE " + event.getPointerCount()); in onCreate()
112 if (event.getPointerCount() > 1) { in onCreate()
115 if (event.getPointerCount() == 2) { in onCreate()
160 if (inMultiTouch && event.getPointerCount() == 1) { in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DClassifierData.java44 for (int i = 0; i < event.getPointerCount(); i++) { in update()
62 for (int i = 0; i < event.getPointerCount(); i++) { in cleanUp()
DAccelerationClassifier.java51 for (int i = 0; i < event.getPointerCount(); i++) { in onTouchEvent()
DSpeedAnglesClassifier.java56 for (int i = 0; i < event.getPointerCount(); i++) { in onTouchEvent()
DAnglesClassifier.java69 for (int i = 0; i < event.getPointerCount(); i++) { in onTouchEvent()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp407 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeAddBatch()
564 return jint(event->getPointerCount()); in android_view_MotionEvent_nativeGetPointerCount()
570 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerId()
580 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetToolType()
616 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetRawAxisValue()
635 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetAxisValue()
654 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerCoords()
677 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerProperties()
Dandroid_view_InputEventSender.cpp144 event->getPointerCount(), event->getPointerProperties(), in sendMotionEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java82 if (motionEvent.getPointerCount() != 2) { in onPointerEvent()
185 if (e2.getPointerCount() == 2) { in onScroll()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java368 if (mReceivedPointerTracker.getLastReceivedEvent().getPointerCount() == 0) { in onDoubleTapAndHold()
545 switch (event.getPointerCount()) { in handleMotionEventStateTouchExploring()
679 switch (event.getPointerCount()) { in handleMotionEventStateDragging()
832 final int pointerCount = prototype.getPointerCount(); in sendDownForAllNotInjectedPointers()
886 final int pointerCount = prototype.getPointerCount(); in sendUpForInjectedDownPointers()
988 final int pointerCount = event.getPointerCount(); in offsetEvent()
1000 event.getEventTime(), event.getAction(), event.getPointerCount(), in offsetEvent()
DAccessibilityGestureDetector.java294 if (event.getPointerCount() == 2) { in onMotionEvent()
424 if (event.getPointerCount() != 2 || in mapSecondPointerToFirstPointer()
DMotionEventInjector.java154 int numPointers = event.getPointerCount(); in injectEventsMainThread()
DMagnificationGestureHandler.java244 final int pointerCount = event.getPointerCount(); in dispatchTransformedEvent()
469 if (event.getPointerCount() != 1) { in onMotionEvent()
DAutoclickController.java149 if (event.getPointerCount() == 1) { in handleMouseMotion()
/frameworks/native/libs/input/
DInput.cpp274 size_t pointerCount = other->getPointerCount(); in copyFrom()
285 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount()); in addSample()
289 return &mSamplePointerCoords[getHistorySize() * getPointerCount() + pointerIndex]; in getRawPointerCoords()
309 return &mSamplePointerCoords[historicalIndex * getPointerCount() + pointerIndex]; in getHistoricalRawPointerCoords()
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java110 mDebugFireable = event.getPointerCount() < 5; in onPointerEvent()
188 final int pointerCount = move.getPointerCount(); in detectSwipe()
DEnableAccessibilityController.java161 && event.getPointerCount() == 2) { in onInterceptTouchEvent()
176 final int pointerCount = event.getPointerCount(); in onTouchEvent()
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBallsView.java88 int pcount = ev.getPointerCount(); in onTouchEvent()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp315 ASSERT_EQ(2U, event->getPointerCount()); in assertEqualsEventWithHistory()
463 ASSERT_EQ(event.getPointerCount(), copy.getPointerCount()); in TEST_F()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java844 final int pointerCount = MotionEventCompat.getPointerCount(ev); in saveLastMotion()
1014 final int pointerCount = MotionEventCompat.getPointerCount(ev); in shouldInterceptTouchEvent()
1167 final int pointerCount = MotionEventCompat.getPointerCount(ev); in processTouchEvent()
1201 final int pointerCount = MotionEventCompat.getPointerCount(ev); in processTouchEvent()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java357 final int pointerCount = event.getPointerCount(); in onTouchEvent()
621 final int pointerCount = event.getPointerCount(); in ensurePointerCountIsOneForThisAction()
DScaleGestureDetector.java242 final int count = event.getPointerCount(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java130 int count = ev.getPointerCount(); in motionEventToProto()
/frameworks/base/native/android/
Dinput.cpp130 return static_cast<const MotionEvent*>(motion_event)->getPointerCount(); in AMotionEvent_getPointerCount()

123