Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityGestureDetectorTest.java106 private void testPath(Point delta, int gestureId) { in testPath() argument
113 testPath(path, gestureId); in testPath()
117 private void testPath(Point delta1, Point delta2, int gestureId) { in testPath() argument
127 testPath(path, gestureId); in testPath()
149 private void testPath(ArrayList<PointF> path, int gestureId) { in testPath() argument
177 verify(mResultListener).onGestureCompleted(gestureId); in testPath()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java384 boolean onGesture(int gestureId); in onGesture() argument
546 protected boolean onGesture(int gestureId) { in onGesture() argument
1650 public boolean onGesture(int gestureId) { in onBind() argument
1651 return AccessibilityService.this.onGesture(gestureId); in onBind()
1750 public void onGesture(int gestureId) {
1751 Message message = mCaller.obtainMessageI(DO_ON_GESTURE, gestureId);
1864 final int gestureId = message.arg1;
1865 mCallback.onGesture(gestureId);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java1130 public void notifyGesture(int gestureId) { in notifyGesture() argument
1132 gestureId, 0).sendToTarget(); in notifyGesture()
1221 private void notifyGestureInternal(int gestureId) { in notifyGestureInternal() argument
1225 listener.onGesture(gestureId); in notifyGestureInternal()
1227 Slog.e(LOG_TAG, "Error during sending gesture " + gestureId in notifyGestureInternal()
1299 final int gestureId = message.arg1; in handleMessage() local
1300 notifyGestureInternal(gestureId); in handleMessage()
DAccessibilityGestureDetector.java132 boolean onGestureCompleted(int gestureId); in onGestureCompleted() argument
598 int gestureId = DIRECTIONS_TO_GESTURE_ID[segmentDirection0][segmentDirection1]; in recognizeGesturePath() local
599 return mListener.onGestureCompleted(gestureId); in recognizeGesturePath()
DTouchExplorer.java460 public boolean onGestureCompleted(int gestureId) { in onGestureCompleted() argument
467 mAms.onGesture(gestureId); in onGestureCompleted()
DAccessibilityManagerService.java954 boolean onGesture(int gestureId) { in onGesture() argument
956 boolean handled = notifyGestureLocked(gestureId, false); in onGesture()
958 handled = notifyGestureLocked(gestureId, true); in onGesture()
1187 private boolean notifyGestureLocked(int gestureId, boolean isDefault) { in notifyGestureLocked() argument
1201 service.notifyGesture(gestureId); in notifyGestureLocked()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3255 uint32_t gestureId; in preparePointerGestures() local
3257 gestureId = usedGestureIdBits.markFirstUnmarkedBit(); in preparePointerGestures()
3258 mPointerGesture.freeformTouchToGestureIdMap[touchId] = gestureId; in preparePointerGestures()
3262 touchId, gestureId); in preparePointerGestures()
3265 gestureId = mPointerGesture.freeformTouchToGestureIdMap[touchId]; in preparePointerGestures()
3269 touchId, gestureId); in preparePointerGestures()
3272 mPointerGesture.currentGestureIdBits.markBit(gestureId); in preparePointerGestures()
3273 mPointerGesture.currentGestureIdToIndex[gestureId] = i; in preparePointerGestures()
3282 mPointerGesture.currentGestureProperties[i].id = gestureId; in preparePointerGestures()
/frameworks/base/core/java/android/app/
DUiAutomation.java1235 public boolean onGesture(int gestureId) { in IAccessibilityServiceClientImpl()