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
AssetDir.h
AssetManager.h
Atomic.h
BackupHelpers.h
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
Compat.h
Debug.h
Endian.h
Errors.h
FileMap.h
Flattenable.h
Functor.h
GenerationCache.h
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
misc.h
ObbFile.h
PropertyMap.h
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
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
String8.h
String16.h
StringArray.h
StrongPointer.h
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
TypeHelpers.h
Unicode.h
Vector.h SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
VectorImpl.h
ZipFileCRO.h
ZipFileRO.h Move extract native libraries to JNI code 2011-07-26 10:14:58 -07:00
ZipUtils.h