Home
last modified time | relevance | path

Searched refs:getActionIndex (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchState.java147 final int pointerId = event.getPointerId(event.getActionIndex()); in onInjectedMotionEvent()
444 handleReceivedPointerDown(event.getActionIndex(), event); in onMotionEvent()
447 handleReceivedPointerDown(event.getActionIndex(), event); in onMotionEvent()
450 handleReceivedPointerUp(event.getActionIndex(), event); in onMotionEvent()
453 handleReceivedPointerUp(event.getActionIndex(), event); in onMotionEvent()
DMultiFingerMultiTap.java112 final int index = event.getActionIndex(); in onDown()
183 final int index = event.getActionIndex(); in onPointerDown()
224 final int index = event.getActionIndex(); in initBaseLocation()
256 final int index = event.getActionIndex(); in findNearestPoint()
DMultiFingerSwipe.java21 import static com.android.server.accessibility.gestures.GestureUtils.getActionIndex;
128 final int actionIndex = getActionIndex(rawEvent); in onDown()
174 final int actionIndex = getActionIndex(rawEvent); in onPointerDown()
212 final int actionIndex = getActionIndex(event); in onPointerUp()
324 final int actionIndex = getActionIndex(event); in onUp()
DSecondFingerMultiTap.java21 import static com.android.server.accessibility.gestures.GestureUtils.getActionIndex;
71 int index = getActionIndex(event); in onPointerDown()
DEventDispatcher.java410 final int pointerIndex = event.getActionIndex(); in longPressWithTouchEvents()
428 final int pointerIndex = event.getActionIndex(); in clickWithTouchEvents()
471 mState.getLastInjectedHoverEventForClick().getActionIndex(); in computeClickLocation()
497 final int pointerId = prototype.getPointerId(prototype.getActionIndex()); in sendActionDownAndUp()
DGestureUtils.java117 public static int getActionIndex(MotionEvent event) { in getActionIndex() method in GestureUtils
/frameworks/base/core/java/com/android/internal/policy/
DWearGestureInterceptionDetector.java139 mActivePointerId = ev.getPointerId(ev.getActionIndex());
142 int associatedPointerIndex = ev.getActionIndex();
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java376 final int pointerIndex = mLastMotionEvent.getActionIndex(); in cacheLastEvent()
399 final int pointerIndex = event.getActionIndex(); in detectMovement()
414 final int pointerIndex = mLastMotionEvent.getActionIndex(); in sendClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java202 if (mActivePointerId == event.getPointerId(event.getActionIndex()) in onTouchEvent()
204 updateListener(MotionEvent.ACTION_DOWN, event.getX(event.getActionIndex())); in onTouchEvent()
209 if (mActivePointerId == event.getPointerId(event.getActionIndex()) in onTouchEvent()
211 updateListener(MotionEvent.ACTION_UP, event.getX(event.getActionIndex())); in onTouchEvent()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsView.java82 int pointerIndex = ev.getActionIndex(); in onTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DTwoFingersDownOrSwipe.java114 final int downActionIndex = downEvent.getActionIndex(); in distance()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java168 final int pointerIndex = MotionEventCompat.getActionIndex(ev); in onInterceptTouchEvent()
/frameworks/base/core/java/android/view/
DHandwritingInitiator.java184 final int pointerId = motionEvent.getPointerId(motionEvent.getActionIndex()); in onTouchEvent()
602 final float hoverX = event.getX(event.getActionIndex()); in findHoverView()
603 final float hoverY = event.getY(event.getActionIndex()); in findHoverView()
920 final int actionIndex = motionEvent.getActionIndex(); in State()
DGestureDetector.java588 final int skipIndex = pointerUp ? ev.getActionIndex() : -1; in onTouchEvent()
621 final int upIndex = ev.getActionIndex(); in onTouchEvent()
DScaleGestureDetector.java310 final int skipIndex = pointerUp ? event.getActionIndex() : -1; in onTouchEvent()
/frameworks/native/services/inputflinger/tests/fuzzers/
DFuzzedInputStream.h128 const uint8_t actionIndex = MotionEvent::getActionIndex(action); in getFuzzedPointerCount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java103 final int upPointer = event.getPointerId(event.getActionIndex()); in onInterceptTouchEvent()
/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.cpp155 const uint8_t actionIndex = MotionEvent::getActionIndex(action); in resolveActionForPointer()
166 const uint8_t actionIndex = MotionEvent::getActionIndex(args.action); in removePointerIds()
297 args.pointerProperties[MotionEvent::getActionIndex(args.action)].id; in cancelSuppressedPointers()
/frameworks/native/include/input/
DInput.h654 static uint8_t getActionIndex(int32_t action) { in getActionIndex() function
659 inline int32_t getActionIndex() const { return getActionIndex(mAction); } in getActionIndex() function
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java183 int pointerIndex = ev.getActionIndex(); in onTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchState.java183 int pointerIndex = ev.getActionIndex(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java227 int ptrIdx = ev.getActionIndex(); in onTouchEvent()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java226 final int skipIndex = pointerUp ? event.getActionIndex() : -1; in onTouchEvent()
/frameworks/native/libs/input/
DVelocityTracker.cpp294 clearPointer(event.getPointerId(event.getActionIndex())); in addMovement()
304 clearPointer(event.getPointerId(event.getActionIndex())); in addMovement()
DInput.cpp70 const auto actionIndex = MotionEvent::getActionIndex(action); in resolveActionForSplitMotionEvent()
985 return StringPrintf("POINTER_DOWN(%" PRId32 ")", MotionEvent::getActionIndex(action)); in actionToString()
987 return StringPrintf("POINTER_UP(%" PRId32 ")", MotionEvent::getActionIndex(action)); in actionToString()

123