replicant-frameworks_native/include/ui
Jeff Brown ecc7adef2e Input system bug fixes, particularly for stylus.
Bug: 5049148

Finished stylus support, including support for indirect stylus
and mouse tools.

Added TILT axis.  When stylus tilt X/Y is available, it is transformed
into an orientation and tilt inclination which is a more convenient
representation and a simpler extension to the exiting API.

Touch devices now only report touch data using a single input
source.  Previously touch devices in pointer mode would report
both absolute touch pad data and cooked pointer gestures.
Now we just pick one.  The touch device switches modes as needed
when the focused application enables/disables pointer gestures.
This change greatly simplifies the code and reduces the load
on the input dispatcher.

Fixed an incorrect assumption that the value of ABS_(MT_)DISTANCE
would be zero whenever the stylus was in direct contact.  It appears
that the correct way to determine whether the stylus is in direct
contact (rather than hovering) is by checking for a non-zero
reported pressure.

Added code to read the initial state of tool buttons and axis values
when the input devices are initialized or reset.  This fixes
problems where the input mapper state might have the wrong initial
state.

Moved responsibility for cancelling pending inputs (keys down,
touches, etc.) to the InputDispatcher by sending it a device reset
notification.  This frees the InputReader from having to synthesize
events during reset, which was cumbersome and somewhat brittle
to begin with.

Consolidated more of the common accumulator logic from
SingleTouchInputMapper and MultiTouchInputMapper into
TouchInputMapper.

Improved the PointerLocation output.

Change-Id: I595d3647f7fd7cb1e3eff8b3c76b85043b5fe2f0
2011-08-19 15:02:26 -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 Mouse pointer integration. 2011-01-04 17:31:24 -08:00
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 [3171580] don't automatically log GraphicBuffer allocation failures 2010-12-03 17:33:09 -08:00
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 Add support for fallback keycodes. 2010-12-07 17:35:26 -08:00
KeycodeLabels.h Input system bug fixes, particularly for stylus. 2011-08-19 15:02:26 -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 The CHEEK_TOUCH stuff never worked. Remove it. 2010-11-08 13:02:58 -08:00
Rect.h
Region.h get rid of dependency on copybit HAL module 2011-04-28 19:50:21 -07:00
VirtualKeyMap.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00