Home
last modified time | relevance | path

Searched refs:gestureId (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationGesturesObserver.java70 void onGestureCompleted(@GestureId int gestureId, long lastDownEventTime, in onGestureCompleted() argument
126 public void onGestureCompleted(int gestureId, MotionEvent event, MotionEvent rawEvent, in onGestureCompleted() argument
130 gestureId) + " event = " + event); in onGestureCompleted()
134 mCallback.onGestureCompleted(gestureId, mLastDownEventTime, delayEventQueue, in onGestureCompleted()
DGesturesObserver.java51 void onGestureCompleted(int gestureId, MotionEvent event, MotionEvent rawEvent, in onGestureCompleted() argument
126 public void onStateChanged(int gestureId, int state, MotionEvent event, in onStateChanged() argument
129 mListener.onGestureCompleted(gestureId, event, rawEvent, policyFlags); in onStateChanged()
DMagnificationGestureMatcher.java56 static String gestureIdToString(@GestureId int gestureId) { in gestureIdToString() argument
57 switch (gestureId) { in gestureIdToString()
DWindowMagnificationGestureHandler.java533 public void onGestureCompleted(int gestureId, long lastDownEventTime, in onGestureCompleted() argument
539 gestureId)); in onGestureCompleted()
543 if (gestureId == MagnificationGestureMatcher.GESTURE_TWO_FINGERS_DOWN_OR_SWIPE in onGestureCompleted()
547 } else if (gestureId == MagnificationGestureMatcher.GESTURE_TRIPLE_TAP) { in onGestureCompleted()
549 } else if (gestureId == MagnificationGestureMatcher.GESTURE_TRIPLE_TAP_AND_HOLD) { in onGestureCompleted()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DGestureManifoldTest.java105 private void testPath(Point delta, int gestureId) { in testPath() argument
112 testPath(path, gestureId); in testPath()
116 private void testPath(Point delta1, Point delta2, int gestureId) { in testPath() argument
126 testPath(path, gestureId); in testPath()
149 private void testPath(ArrayList<PointF> path, int gestureId) { in testPath() argument
185 argThat(gestureEvent -> gestureEvent.getGestureId() == gestureId)); in testPath()
DGesturesObserverTest.java118 protected GestureMatcherStub(Context context, int gestureId) { in GestureMatcherStub() argument
119 super(gestureId, context.getMainThreadHandler(), null); in GestureMatcherStub()
DTouchExplorerTest.java439 private void passInGesture(int resourceId, int gestureId) { in passInGesture() argument
468 assertEquals(gestureId, gestureEvent.getGestureId()); in passInGesture()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureManifold.java320 int gestureId, int state, MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onStateChanged() argument
322 if (gestureId == GESTURE_DOUBLE_TAP || gestureId == GESTURE_DOUBLE_TAP_AND_HOLD) { in onStateChanged()
330 onGestureCompleted(gestureId, event, rawEvent, policyFlags); in onStateChanged()
347 int gestureId, MotionEvent event, MotionEvent rawEvent, int policyFlags) { in onGestureCompleted() argument
350 switch (gestureId) { in onGestureCompleted()
354 new AccessibilityGestureEvent(gestureId, event.getDisplayId(), mEvents); in onGestureCompleted()
363 new AccessibilityGestureEvent(gestureId, event.getDisplayId(), mEvents); in onGestureCompleted()
371 new AccessibilityGestureEvent(gestureId, event.getDisplayId(), mEvents); in onGestureCompleted()
DMultiFingerMultiTapAndHold.java32 int gestureId, in MultiFingerMultiTapAndHold() argument
34 super(context, fingers, taps, gestureId, listener); in MultiFingerMultiTapAndHold()
DGestureMatcher.java68 protected GestureMatcher(int gestureId, Handler handler, StateChangeListener listener) { in GestureMatcher() argument
69 mGestureId = gestureId; in GestureMatcher()
398 int gestureId, int state, MotionEvent event, MotionEvent rawEvent, int policyFlags); in onStateChanged() argument
DMultiFingerMultiTap.java63 int gestureId, in MultiFingerMultiTap() argument
65 super(gestureId, new Handler(context.getMainLooper()), listener); in MultiFingerMultiTap()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityGestureEvent.java161 int gestureId, int displayId, @NonNull List<MotionEvent> motionEvents) { in AccessibilityGestureEvent() argument
162 mGestureId = gestureId; in AccessibilityGestureEvent()
169 public AccessibilityGestureEvent(int gestureId, int displayId) { in AccessibilityGestureEvent() argument
170 this(gestureId, displayId, new ArrayList<MotionEvent>()); in AccessibilityGestureEvent()
DAccessibilityService.java962 protected boolean onGesture(int gestureId) { in onGesture() argument
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3350 uint32_t gestureId; in prepareMultiFingerPointerGestures() local
3352 gestureId = usedGestureIdBits.markFirstUnmarkedBit(); in prepareMultiFingerPointerGestures()
3353 mPointerGesture.freeformTouchToGestureIdMap[touchId] = gestureId; in prepareMultiFingerPointerGestures()
3356 gestureId); in prepareMultiFingerPointerGestures()
3358 gestureId = mPointerGesture.freeformTouchToGestureIdMap[touchId]; in prepareMultiFingerPointerGestures()
3361 touchId, gestureId); in prepareMultiFingerPointerGestures()
3363 mPointerGesture.currentGestureIdBits.markBit(gestureId); in prepareMultiFingerPointerGestures()
3364 mPointerGesture.currentGestureIdToIndex[gestureId] = i; in prepareMultiFingerPointerGestures()
3373 mPointerGesture.currentGestureProperties[i].id = gestureId; in prepareMultiFingerPointerGestures()