Home
last modified time | relevance | path

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

12

/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()
270 final int pointerCount = prototype.getPointerCount(); in sendDownForAllNotInjectedPointers()
296 final int pointerCount = prototype.getPointerCount(); in sendUpForInjectedDownPointers()
DMultiFingerMultiTap.java161 final int currentFingerCount = event.getPointerCount(); in onPointerDown()
224 final int baseIndex = event.getPointerCount() - 1; in initBaseLocation()
DGestureUtils.java53 for (int i = 0; i < moveEvent.getPointerCount(); i++) { in distanceClosestPointerToPoint()
DMultiFingerSwipe.java141 int pointerIndex = rawEvent.getPointerCount() - 1; in onDown()
174 if (event.getPointerCount() > mTargetFingerCount) { in onPointerDown()
179 if (mCurrentFingerCount != rawEvent.getPointerCount()) { in onPointerDown()
DTouchExplorer.java545 switch (event.getPointerCount()) { in handleActionMoveStateTouchInteracting()
621 switch (event.getPointerCount()) { in handleActionMoveStateTouchExploring()
719 switch (event.getPointerCount()) { in handleMotionEventStateDragging()
/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/services/accessibility/java/com/android/server/accessibility/
DFullScreenMagnificationGestureHandler.java408 && event.getPointerCount() == 2 // includes the pointer currently being released in onMotionEvent()
528 if (event.getPointerCount() != 1) { in onMotionEvent()
714 && event.getPointerCount() == 2) { in onMotionEvent()
736 if (isMultiTapTriggered(2 /* taps */) && event.getPointerCount() == 1) { in onMotionEvent()
738 } else if (isMagnifying() && event.getPointerCount() == 2) { in onMotionEvent()
DAutoclickController.java127 if (event.getPointerCount() == 1) { in handleMouseMotion()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java154 mDebugFireable = event.getPointerCount() < 5; in onPointerEvent()
239 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/
DInput.cpp381 size_t pointerCount = other->getPointerCount(); in copyFrom()
392 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount()); in addSample()
411 return &mSamplePointerCoords[getHistorySize() * getPointerCount() + pointerIndex]; in getRawPointerCoords()
431 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/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java218 int pointerCount = motionEvent.getPointerCount(); in unpackMotionEvent()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp337 ASSERT_EQ(2U, event->getPointerCount()); in assertEqualsEventWithHistory()
490 ASSERT_EQ(event.getPointerCount(), copy.getPointerCount()); in TEST_F()
/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/core/jni/
Dandroid_view_InputEventSender.cpp155 event->getPointerCount(), in sendMotionEvent()
/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()

12