diff options
author | Jens Doll <jens.doll@gmail.com> | 2013-04-17 17:32:04 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2013-05-15 13:44:23 +0200 |
commit | 9f11bd11a1389bb98d54f6e6114028f4e39f90e1 (patch) | |
tree | 9ca53656e66ccc069f452ed8f7544f6aaf6613cf /Android.mk | |
parent | cdd98977f5089eb829724579943dbe23480ea272 (diff) | |
download | frameworks_base-9f11bd11a1389bb98d54f6e6114028f4e39f90e1.zip frameworks_base-9f11bd11a1389bb98d54f6e6114028f4e39f90e1.tar.gz frameworks_base-9f11bd11a1389bb98d54f6e6114028f4e39f90e1.tar.bz2 |
Pie controls: Introducing a pie delivery service
To make pie controls more reliable, it is neccessary to detect
trigger actions directly from the input stream.
This commit introduces a new system service, that filters all
input events in front of the input dispatcher to detect pie activations.
This commit introduces:
* A new system server local API in the input manager service to register
secondary input filters. These filters are behind the default
accessibility filter but before the input event dispatching of
the android framework.
* A new system service, that binds to the new API to listen for pie
activation gestures.
* A non-public manager class providing access to the newly created pie
service.
The service manager name of the service is "pieservice". The non-public
AIDL interface of the service is IPieService.aidl. To register a new
pie activation listener the INJECT_INPUT permission is needed. The
service state can be dumped by the "dumpsys pieservice" command.
Note: This commit only introduces the pie service. There is another
commit, that binds the actual pie controls to the pie service.
Patch Set #1:
* The pie service is currently disabled by default and needs to be
enabled by device overlays (see config.xml / config_allowPieService).
Patch Set #2:
* Activation fixes
* Debug dump improvements
Patch Set #4:
* Added systrace support (TRACE_INPUT_TAG)
* Switch default to enable service on all devices.
* Moved Position to com.internal.android.utils.pie.*
* Some more code rearrangements
Patch Set #5:
* Rebase
Patch Set #6:
* Cover more corner cases on PieInputFilter
* Adjust gesture time out
Patch Set #7:
* Do not send events that are from the past
* Recycle all events
Patch Set #8:
* Handle binder died events in PieService correctly
Patch Set #10:
* Simplified locking
* SYSTEM_UI_FLAG_HIDE_NAVIGATION support
* Fixed ADW Lauchner bug
Change-Id: I6a4a4635bed420e800a3230457ee690131116a11
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -145,6 +145,9 @@ LOCAL_SRC_FILES += \ core/java/android/os/IVibratorService.aidl \ core/java/android/service/dreams/IDreamManager.aidl \ core/java/android/service/dreams/IDreamService.aidl \ + core/java/android/service/pie/IPieService.aidl \ + core/java/android/service/pie/IPieActivationListener.aidl \ + core/java/android/service/pie/IPieHostCallback.aidl \ core/java/android/service/wallpaper/IWallpaperConnection.aidl \ core/java/android/service/wallpaper/IWallpaperEngine.aidl \ core/java/android/service/wallpaper/IWallpaperService.aidl \ |