platform_system_core/include
Jeff Brown 4ccb2fc8e1 Refactor input reader to add stylus support.
Bug: 5064702

Introduced the concept of an InputListener to further decouple
the InputReader from the InputDispatcher.  The InputListener
exposes just the minimum interface that the InputReader needs
to communicate with the outside world.  The InputReader
passes arguments to the InputListener by reference, which makes
it easy to queue them up.

Consolidated all of the InputReader locks into one simple global
Mutex.  The reason this wasn't done before was due to potential
re-entrance in outbound calls to the InputDispatcher.  To fix this,
the InputReader now queues up all of the events it wants to send
using a QueuedInputListener, then flushes them outside of the
critical section after all of the event processing is finished.
Removing all of the InputMapper locks greatly simplifies the
implementation.

Added tests for new stylus features such as buttons, tool types,
and hovering.

Added some helpers to BitSet32 to handle common code patterns
like finding the first marked bit and clearing it.

Fixed a bug in VelocityTracker where the wrong pointer trace
could get cleared when handling ACTION_POINTER_DOWN.  Oops.

Changed PointerCoords so it no longer stores useless zero
axis values.  Removed editAxisValue because it is not very
useful when all zero value axes are absent and therefore
cannot be edited in place.

Added dispatch of stylus hover events.

Added support for distance and tool types.

Change-Id: I4cf14d134fcb1db7d10be5f2af7b37deef8f8468
2013-07-30 13:56:57 -07:00
..
android Remove libjnigraphics. moved to frameworks/base/native 2010-02-04 15:32:07 -08:00
corkscrew Add flush_my_map_info_list() and fix a bug in the Mac load_map_info_list(). 2013-05-14 19:49:30 -07:00
ctest auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
cutils Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
diskconfig diskconfig: Add missing include for loff_t 2012-07-23 16:11:59 -07:00
ion Add explicit sync call to ion library 2012-09-20 09:46:19 -07:00
log Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
mincrypt mincrypt: support SHA-256 hash algorithm 2013-04-10 14:33:31 -07:00
netutils Support 4 dns servers, up from 2 2013-01-10 11:36:09 -08:00
pixelflinger pixelflinger: Fix function naming typo: gglBitBlti 2010-08-10 02:56:47 +08:00
private am 9e9ed1b4: am 131ee07b: Merge "Add a new group for MediaDrm engine plugins" into jb-mr2-dev 2013-04-24 21:56:49 -07:00
sync sync: factor sw_sync functionality out of header 2013-03-05 15:53:24 -08:00
system get rid of HAL pixelformats 5551 and 4444 2013-07-26 14:50:26 -07:00
sysutils libsysutils: Increase command buffersize and command args 2012-11-12 14:40:21 +01:00
usbhost libusbhost: permits client polling on inotify wd 2012-12-10 11:12:35 +01:00
utils Refactor input reader to add stylus support. 2013-07-30 13:56:57 -07:00
zipfile auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00