replicant-frameworks_native/include/utils
Jeff Brown 5873ce46ad 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
2011-07-31 15:38:09 -07:00
..
ashmem.h
Asset.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
AssetDir.h
AssetManager.h Runtime resource overlay, iteration 1. 2011-04-01 14:12:10 +02:00
Atomic.h
BackupHelpers.h Full local backup infrastructure 2011-05-10 17:52:51 -07:00
BitSet.h Refactor input reader to add stylus support. 2011-07-31 15:38:09 -07:00
BlobCache.h Use rand() for MinGW 2011-06-15 20:55:49 -07:00
BufferedTextOutput.h
ByteOrder.h
CallStack.h dump callstack on Surface use error 2010-12-10 15:37:48 -08:00
Compat.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Debug.h
Endian.h
Errors.h
FileMap.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Flattenable.h
Functor.h Modify the GL renderer's functor to pass the clip to WebView 2011-03-16 15:31:33 -07:00
GenerationCache.h Add TextLayout Cache 2011-03-02 13:29:20 -08:00
KeyedVector.h
LinearTransform.h Add a linear transform library to libutils 2011-06-28 17:43:30 -07:00
List.h
Log.h
Looper.h Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
misc.h
ObbFile.h OBB: use PBKDF2 for key generation. 2010-10-13 18:25:33 -07:00
PropertyMap.h Add initial support for cursor-based pointing devices. 2010-12-29 13:19:53 -08:00
RefBase.h may fix build on some version of gcc 2011-06-14 11:50:22 -07:00
ResourceTypes.h am a8d7ea06: am 220cd77d: Merge "Enforce public resource restriction on bag parents." into honeycomb-mr2 2011-06-09 16:06:07 -07:00
SharedBuffer.h
Singleton.h Purge Skia objects from GL caches as needed. 2010-09-08 18:04:33 -07:00
SortedVector.h SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
StopWatch.h
StreamingZipInflater.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
String8.h Bug 4016329 do full string comparisons 2011-03-14 17:59:51 -07:00
String16.h Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
StringArray.h
StrongPointer.h Fix sp<> conversion operator / constructor 2011-02-25 16:20:52 -08:00
SystemClock.h
TextOutput.h
threads.h Merge "Add Thread::join" 2011-07-06 11:37:53 -07:00
Timers.h Refactor how timeouts are calculated. (DO NOT MERGE) 2011-05-23 17:20:42 -07:00
Tokenizer.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00
TypeHelpers.h Fix some issues with RefBase debugging. 2011-02-23 22:21:41 -08:00
Unicode.h Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
Vector.h SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
VectorImpl.h Even more native input dispatch work in progress. 2010-06-17 13:27:16 -07:00
ZipFileCRO.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
ZipFileRO.h Move extract native libraries to JNI code 2011-07-26 10:14:58 -07:00
ZipUtils.h