summaryrefslogtreecommitdiffstats
path: root/core/java/android/service/gesture
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2013-10-08 15:20:02 -0700
committerSteve Kondik <steve@cyngn.com>2015-10-18 00:51:44 -0700
commitfca49c41c379336a345237c60d2577a3c5d20171 (patch)
tree292854cc71c8b3fcd061b63cf15d9a6c5f52bd93 /core/java/android/service/gesture
parenta45a56b204c320c04176f71881e85e36357fc27f (diff)
downloadframeworks_base-fca49c41c379336a345237c60d2577a3c5d20171.zip
frameworks_base-fca49c41c379336a345237c60d2577a3c5d20171.tar.gz
frameworks_base-fca49c41c379336a345237c60d2577a3c5d20171.tar.bz2
Support GESTURE_SENSOR input device type with GestureService
* The GESTURE_SENSOR input device type is meant to support touch sensors which are meant for gesture input only, very similar to a touchpad, but without the pointer capability. * Define separate service to handle gestures from GESTURE_SENSOR device type. Change-Id: I9b273df2a3cc141774d7f7cd81e43a90ea5b230b Hide InputDevice.SOURCE_GESTURE_SENSOR from API Change-Id: If009e9595fc593594b0e7764669996de137483a1 GestureInput : Allow doubletap/longpress configuration Allows devices to specify pending intents for double tap and long press events. Change-Id: I7e7cc2f9f96a01d8f6232e5cf0e19832fdfd5359
Diffstat (limited to 'core/java/android/service/gesture')
-rw-r--r--core/java/android/service/gesture/IGestureService.aidl11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/service/gesture/IGestureService.aidl b/core/java/android/service/gesture/IGestureService.aidl
new file mode 100644
index 0000000..1944d50
--- /dev/null
+++ b/core/java/android/service/gesture/IGestureService.aidl
@@ -0,0 +1,11 @@
+package android.service.gesture;
+
+import android.app.PendingIntent;
+
+/** @hide */
+interface IGestureService {
+
+ void setOnLongPressPendingIntent(in PendingIntent pendingIntent);
+ void setOnDoubleClickPendingIntent(in PendingIntent pendingIntent);
+
+}