/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationGesturesObserver.java | 70 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()
|
D | GesturesObserver.java | 51 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()
|
D | MagnificationGestureMatcher.java | 56 static String gestureIdToString(@GestureId int gestureId) { in gestureIdToString() argument 57 switch (gestureId) { in gestureIdToString()
|
D | WindowMagnificationGestureHandler.java | 533 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/ |
D | GestureManifoldTest.java | 105 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()
|
D | GesturesObserverTest.java | 118 protected GestureMatcherStub(Context context, int gestureId) { in GestureMatcherStub() argument 119 super(gestureId, context.getMainThreadHandler(), null); in GestureMatcherStub()
|
D | TouchExplorerTest.java | 439 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/ |
D | GestureManifold.java | 320 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()
|
D | MultiFingerMultiTapAndHold.java | 32 int gestureId, in MultiFingerMultiTapAndHold() argument 34 super(context, fingers, taps, gestureId, listener); in MultiFingerMultiTapAndHold()
|
D | GestureMatcher.java | 68 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
|
D | MultiFingerMultiTap.java | 63 int gestureId, in MultiFingerMultiTap() argument 65 super(gestureId, new Handler(context.getMainLooper()), listener); in MultiFingerMultiTap()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityGestureEvent.java | 161 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()
|
D | AccessibilityService.java | 962 protected boolean onGesture(int gestureId) { in onGesture() argument
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 3350 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()
|