Go to file
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
awt Add correct copyright headers to multiple files 2010-03-11 18:22:10 -08:00
cmds added BinderService<> template to help creating native binder services 2010-07-14 18:43:19 -07:00
include Fix some input device mapping bugs with certain drivers. 2010-08-18 13:37:45 -07:00
libs Fix some input device mapping bugs with certain drivers. 2010-08-18 13:37:45 -07:00
opengl fix [2912927] Can't get NV_draw_path extension to work 2010-08-13 14:17:58 -07:00
services/surfaceflinger Merge "fix a typo that prevented glTexImage2D codepath to work" into gingerbread 2010-08-13 16:29:48 -07:00
vpn Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources. 2010-01-29 13:35:51 -08:00
MODULE_LICENSE_APACHE2
NOTICE Adding PacketVideo attribution in NOTICE. 2010-05-06 14:15:47 -07:00