summaryrefslogtreecommitdiff
path: root/core/java/android/accessibilityservice/AccessibilityService.java
diff options
context:
space:
mode:
authorAmeer Armaly <aarmaly@google.com>2020-02-06 11:03:46 -0800
committerAmeer Armaly <aarmaly@google.com>2020-02-13 11:23:36 -0800
commit259daddeea95d2e7c362de261097eefb97c07ffa (patch)
treeb10ae379b3cb7da98be7181a4c45219b0093c020 /core/java/android/accessibilityservice/AccessibilityService.java
parent9657bcfbf5b91b4247e76f27a1cb51696725fde8 (diff)
Add multi-finger double tap and hold gestures.
This CL includes two, three and four finger double-tap and hold. Bug: 136131815 Test: atest GestureManifoldTest TouchExplorerTest AccessibilityGestureDetectorTest Change-Id: I4c0a95a4ac2d13e0a7e2c7920df619063ec1cfc0
Diffstat (limited to 'core/java/android/accessibilityservice/AccessibilityService.java')
-rw-r--r--core/java/android/accessibilityservice/AccessibilityService.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/accessibilityservice/AccessibilityService.java b/core/java/android/accessibilityservice/AccessibilityService.java
index b65f68e177ca..0ed6b1f38dfd 100644
--- a/core/java/android/accessibilityservice/AccessibilityService.java
+++ b/core/java/android/accessibilityservice/AccessibilityService.java
@@ -411,6 +411,15 @@ public abstract class AccessibilityService extends Service {
/** The user has performed a four-finger triple tap gesture on the touch screen. */
public static final int GESTURE_4_FINGER_TRIPLE_TAP = 39;
+ /** The user has performed a two-finger double tap and hold gesture on the touch screen. */
+ public static final int GESTURE_2_FINGER_DOUBLE_TAP_AND_HOLD = 40;
+
+ /** The user has performed a three-finger double tap and hold gesture on the touch screen. */
+ public static final int GESTURE_3_FINGER_DOUBLE_TAP_AND_HOLD = 41;
+
+ /** The user has performed a two-finger double tap and hold gesture on the touch screen. */
+ public static final int GESTURE_4_FINGER_DOUBLE_TAP_AND_HOLD = 42;
+
/**
* The {@link Intent} that must be declared as handled by the service.
*/