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.java953 boolean onGesture(int gestureId) { in onGesture() argument
955 boolean handled = notifyGestureLocked(gestureId, false); in onGesture()
957 handled = notifyGestureLocked(gestureId, true); in onGesture()
1186 private boolean notifyGestureLocked(int gestureId, boolean isDefault) { in notifyGestureLocked() argument
1200 service.notifyGesture(gestureId); in notifyGestureLocked()
/frameworks/base/core/java/android/app/
DUiAutomation.java1235 public boolean onGesture(int gestureId) { in IAccessibilityServiceClientImpl()
/frameworks/native/services/inputflinger/
DInputReader.cpp6178 uint32_t gestureId; in preparePointerGestures() local
6180 gestureId = usedGestureIdBits.markFirstUnmarkedBit(); in preparePointerGestures()
6181 mPointerGesture.freeformTouchToGestureIdMap[touchId] = gestureId; in preparePointerGestures()
6185 touchId, gestureId); in preparePointerGestures()
6188 gestureId = mPointerGesture.freeformTouchToGestureIdMap[touchId]; in preparePointerGestures()
6192 touchId, gestureId); in preparePointerGestures()
6195 mPointerGesture.currentGestureIdBits.markBit(gestureId); in preparePointerGestures()
6196 mPointerGesture.currentGestureIdToIndex[gestureId] = i; in preparePointerGestures()
6207 mPointerGesture.currentGestureProperties[i].id = gestureId; in preparePointerGestures()