Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DPointerCountClassifier.java44 mMaxPointerCount = motionEvent.getPointerCount(); in onTouchEvent()
46 mMaxPointerCount = Math.max(mMaxPointerCount, motionEvent.getPointerCount()); in onTouchEvent()
DFalsingDataProvider.java214 int pointerCount = motionEvent.getPointerCount(); in unpackMotionEvent()
/frameworks/rs/tests/java_api/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/rs/tests/java_api/SSHealingBrush/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.java58 for (int i = 0; i < event.getPointerCount(); i++) { in update()
78 for (int i = 0; i < event.getPointerCount(); i++) { in cleanUp()
DAccelerationClassifier.java51 for (int i = 0; i < event.getPointerCount(); i++) { in onTouchEvent()
DSpeedAnglesClassifier.java62 for (int i = 0; i < event.getPointerCount(); i++) { in onTouchEvent()
DAnglesClassifier.java76 for (int i = 0; i < event.getPointerCount(); i++) { in onTouchEvent()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp399 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeAddBatch()
424 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerCoords()
447 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerProperties()
504 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerId()
514 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetToolType()
539 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetRawAxisValue()
558 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetAxisValue()
715 return jint(event->getPointerCount()); in android_view_MotionEvent_nativeGetPointerCount()
Dandroid_view_InputEventSender.cpp145 event->getPointerCount(), event->getPointerProperties(), in sendMotionEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java366 if (mReceivedPointerTracker.getLastReceivedEvent().getPointerCount() == 0) { in onDoubleTapAndHold()
556 switch (event.getPointerCount()) { in handleMotionEventStateTouchExploring()
695 switch (event.getPointerCount()) { in handleMotionEventStateDragging()
860 final int pointerCount = prototype.getPointerCount(); in sendDownForAllNotInjectedPointers()
913 final int pointerCount = prototype.getPointerCount(); in sendUpForInjectedDownPointers()
1018 final int pointerCount = event.getPointerCount(); in offsetEvent()
1030 event.getEventTime(), event.getAction(), event.getPointerCount(), in offsetEvent()
DAccessibilityGestureDetector.java362 if (rawEvent.getPointerCount() == 2) { in onMotionEvent()
618 if (event.getPointerCount() != 2 || in mapSecondPointerToFirstPointer()
DAutoclickController.java127 if (event.getPointerCount() == 1) { in handleMouseMotion()
DMagnificationGestureHandler.java400 && event.getPointerCount() == 2 // includes the pointer currently being released in onMotionEvent()
522 if (event.getPointerCount() != 1) { in onMotionEvent()
/frameworks/native/libs/input/
DInput.cpp301 size_t pointerCount = other->getPointerCount(); in copyFrom()
312 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount()); in addSample()
316 return &mSamplePointerCoords[getHistorySize() * getPointerCount() + pointerIndex]; in getRawPointerCoords()
336 return &mSamplePointerCoords[historicalIndex * getPointerCount() + pointerIndex]; in getHistoricalRawPointerCoords()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java144 mDebugFireable = event.getPointerCount() < 5; in onPointerEvent()
229 final int pointerCount = move.getPointerCount(); in detectSwipe()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsView.java88 int pcount = ev.getPointerCount(); in onTouchEvent()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp323 ASSERT_EQ(2U, event->getPointerCount()); in assertEqualsEventWithHistory()
476 ASSERT_EQ(event.getPointerCount(), copy.getPointerCount()); in TEST_F()
DInputPublisherAndConsumer_test.cpp204 EXPECT_EQ(pointerCount, motionEvent->getPointerCount()); in PublishAndConsumeMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java135 int count = ev.getPointerCount(); in motionEventToProto()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java361 final int pointerCount = event.getPointerCount(); in onTouchEvent()
626 final int pointerCount = event.getPointerCount(); in ensurePointerCountIsOneForThisAction()
DScaleGestureDetector.java243 final int count = event.getPointerCount(); in onTouchEvent()
/frameworks/base/native/android/
Dinput.cpp130 return static_cast<const MotionEvent*>(motion_event)->getPointerCount(); in AMotionEvent_getPointerCount()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java230 final int count = event.getPointerCount(); in onTouchEvent()
/frameworks/native/include/input/
DInput.h466 inline size_t getPointerCount() const { return mPointerProperties.size(); } in getPointerCount() function

12