replicant-frameworks_native/include/ui
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
..
egl frameworks/base: move ANativeWindow/android_native_buffer_t out 2011-05-03 16:39:54 -07:00
android_native_buffer.h frameworks/base: move ANativeWindow/android_native_buffer_t out 2011-05-03 16:39:54 -07:00
DisplayInfo.h
EGLNativeSurface.h
EGLUtils.h
FramebufferNativeWindow.h frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
GraphicBuffer.h frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
GraphicBufferAllocator.h
GraphicBufferMapper.h
GraphicLog.h
Input.h Refactor input reader to add stylus support. 2011-07-31 15:38:09 -07:00
InputTransport.h Add initial API for stylus and mouse buttons. 2011-05-13 12:11:17 -07:00
Keyboard.h Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
KeyCharacterMap.h
KeycodeLabels.h Add 3D mode key and others. 2011-03-16 11:31:42 -07:00
KeyLayoutMap.h Joystick tweaks. (DO NOT MERGE) 2011-03-04 19:12:41 -08:00
PixelFormat.h Adding SurfaceEncoder for encoding FilterFrames 2011-07-21 17:12:50 -07:00
Point.h
PowerManager.h
Rect.h
Region.h get rid of dependency on copybit HAL module 2011-04-28 19:50:21 -07:00
VirtualKeyMap.h