Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DPointerCountClassifier.java49 mMaxPointerCount = motionEvent.getPointerCount(); in onTouchEvent()
51 mMaxPointerCount = Math.max(mMaxPointerCount, motionEvent.getPointerCount()); in onTouchEvent()
DFalsingDataProvider.java266 int pointerCount = motionEvent.getPointerCount(); in unpackMotionEvent()
/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/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/base/services/accessibility/java/com/android/server/accessibility/gestures/
DSecondFingerMultiTap.java66 if (event.getPointerCount() > 2) { in onPointerDown()
87 if (event.getPointerCount() > 2) { in onPointerUp()
112 switch (event.getPointerCount()) { in onMove()
DEventDispatcher.java200 final int pointerCount = event.getPointerCount(); in offsetEvent()
215 event.getPointerCount(), in offsetEvent()
271 final int pointerCount = prototype.getPointerCount(); in sendDownForAllNotInjectedPointers()
300 final int pointerCount = prototype.getPointerCount(); in sendDownForAllNotInjectedPointersWithOriginalDown()
319 final int pointerCount = prototype.getPointerCount(); in computeInjectionDownEvent()
370 final int pointerCount = prototype.getPointerCount(); in sendUpForInjectedDownPointers()
DTouchExplorer.java605 switch (event.getPointerCount()) { in handleActionMoveStateTouchInteracting()
628 for (int index = 0; index < event.getPointerCount(); ++index) { in handleActionMoveStateTouchInteracting()
692 if (event.getPointerCount() == 3) { in handleActionMoveStateTouchInteracting()
765 switch (event.getPointerCount()) { in handleActionMoveStateTouchExploring()
869 switch (event.getPointerCount()) { in handleMotionEventStateDragging()
1128 for (int i = 0; i < event.getPointerCount(); ++i) { in allPointersDownOnBottomEdge()
1236 if (event.getPointerCount() < 0) { in checkForMalformedEvent()
1237 throw new IllegalArgumentException("Invalid pointer count: " + event.getPointerCount()); in checkForMalformedEvent()
1239 for (int i = 0; i < event.getPointerCount(); ++i) { in checkForMalformedEvent()
1251 + event.getPointerCount(), e); in checkForMalformedEvent()
DMultiFingerMultiTap.java161 final int currentFingerCount = event.getPointerCount(); in onPointerDown()
225 final int baseIndex = event.getPointerCount() - 1; in initBaseLocation()
DMultiFingerSwipe.java130 int pointerIndex = rawEvent.getPointerCount() - 1; in onDown()
162 if (event.getPointerCount() > mTargetFingerCount) { in onPointerDown()
167 if (mCurrentFingerCount != rawEvent.getPointerCount()) { in onPointerDown()
DGestureUtils.java53 for (int i = 0; i < moveEvent.getPointerCount(); i++) { in distanceClosestPointerToPoint()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp398 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeAddBatch()
423 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerCoords()
445 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerProperties()
502 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetPointerId()
512 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetToolType()
537 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetRawAxisValue()
556 size_t pointerCount = event->getPointerCount(); in android_view_MotionEvent_nativeGetAxisValue()
751 return jint(event->getPointerCount()); in android_view_MotionEvent_nativeGetPointerCount()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java330 && event.getPointerCount() == 2 // includes the pointer currently being released in onMotionEvent()
449 if (event.getPointerCount() != 1) { in onMotionEvent()
635 && event.getPointerCount() == 2) { in onMotionEvent()
657 if (isMultiTapTriggered(2 /* taps */) && event.getPointerCount() == 1) { in onMotionEvent()
659 } else if (isMagnifying() && event.getPointerCount() == 2) { in onMotionEvent()
DTwoFingersDownOrSwipe.java62 if (event.getPointerCount() == 2) { in onPointerDown()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsView.java88 int pcount = ev.getPointerCount(); in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java164 mDebugFireable = event.getPointerCount() < 5; in onPointerEvent()
249 final int pointerCount = move.getPointerCount(); in detectSwipe()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DTouchEventGenerator.java140 final int pointerCount = originalEvent.getPointerCount(); in movePointer()
/frameworks/native/libs/input/
DInput.cpp467 size_t pointerCount = other->getPointerCount(); in copyFrom()
478 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount()); in addSample()
499 return &mSamplePointerCoords[getHistorySize() * getPointerCount() + pointerIndex]; in getRawPointerCoords()
512 return &mSamplePointerCoords[historicalIndex * getPointerCount() + pointerIndex]; in getHistoricalRawPointerCoords()
/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/native/libs/input/tests/
DInputEvent_test.cpp362 ASSERT_EQ(2U, event->getPointerCount()); in assertEqualsEventWithHistory()
515 ASSERT_EQ(event.getPointerCount(), copy.getPointerCount()); in TEST_F()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java334 if (mEnablePinchResize && ev.getPointerCount() == 2) { in willStartResizeGesture()
397 if (ev.getPointerCount() != 2) { in onPinchResize()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java127 if (event.getPointerCount() == 1) { in handleMouseMotion()
/frameworks/base/native/android/
Dinput.cpp144 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()

12