replicant-frameworks_native/include/ui
Jeff Brown d64c855821 Fix some input device mapping bugs with certain drivers.
On single-touch devices, pointer up/down is signalled by a BTN_TOUCH
key event.  Previously we handled BTN_TOUCH immediately but some drivers
may produce the sequence BTN_TOUCH, ABS_X, ABS_Y, SYN_REPORT on pointer down
which caused us to emit a bad initial pointer down location.
Now we wait for SYN_REPORT before reporting the up or down.

On multi-touch devices, pointer up can be signalled by as little as
the sequence SYN_MT_REPORT, SYN_REPORT.  This change ensures that we
handle this case.

Added support for reading ABS_MT_PRESSURE when available.
Corrected mapping of touchMajor/touchMinor on single touch devices.
Minor code cleanup.

Change-Id: Ic7ec4811241ed85a06e59b8a839ca05180d491d4
2010-08-18 13:37:45 -07:00
..
egl Introduce official public NativeWindow type. 2010-06-30 15:32:04 -07:00
android_native_buffer.h Add incStrong and decStrong methods to android_native_{window,buffer}_t. 2010-05-10 17:33:32 -07:00
DisplayInfo.h
EGLNativeSurface.h
EGLUtils.h added EGLUtils::strerror 2009-08-07 16:37:21 -07:00
EventHub.h Optimize EventHub reads. 2010-08-17 19:40:26 -07:00
FramebufferNativeWindow.h Introduce official public NativeWindow type. 2010-06-30 15:32:04 -07:00
GraphicBuffer.h split surface management from surface's buffers management 2010-06-04 18:57:41 -07:00
GraphicBufferAllocator.h when a zero dimension buffer is allocated, turn the allocation into 2010-04-15 15:23:25 -07:00
GraphicBufferMapper.h fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
Input.h Refactor input reader to support new device types more easily. 2010-07-28 14:16:15 -07:00
InputDispatcher.h Fix possible race conditions during channel unregistration. 2010-08-17 17:03:42 -07:00
InputManager.h DO NOT MERGE: Fix input event injection ANRs on UI thread. 2010-07-29 12:54:27 -07:00
InputReader.h Fix some input device mapping bugs with certain drivers. 2010-08-18 13:37:45 -07:00
InputTransport.h Add support for new input sources. 2010-07-15 18:32:33 -07:00
IOverlay.h
KeyCharacterMap.h
KeycodeLabels.h Add initial gamepad support. 2010-07-13 17:04:57 -07:00
Overlay.h Adding resizeInput and setAttributes for overlay 2009-07-29 17:53:38 -07:00
PixelFormat.h fix a bug I introduced recently where YUV formats would crash the system 2010-02-16 20:43:39 -08:00
Point.h minor clean-up to Rect and Point. 2009-05-26 17:47:39 -07:00
Rect.h Add ANativeWindow API for directly drawing to the surface bits. 2010-07-09 16:58:19 -07:00
Region.h Remove a dependency of Region (libui) on Parcel (libbinder). 2010-02-17 20:26:47 -08:00