summaryrefslogtreecommitdiffstats
path: root/awt/resources/org/apache
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-08-04 05:49:43 -0700
committerDianne Hackborn <hackbod@google.com>2009-08-04 20:53:52 -0700
commit0dd7cb4b4ef86eb7d4e837b1948501da66adeebe (patch)
treedf786b0b8b9b3ca4fda02e4bcb7b44db501a5150 /awt/resources/org/apache
parenta2136d6b18a26ff34f2e5cd3f6c9413f0c96a5ba (diff)
downloadframeworks_base-0dd7cb4b4ef86eb7d4e837b1948501da66adeebe.zip
frameworks_base-0dd7cb4b4ef86eb7d4e837b1948501da66adeebe.tar.gz
frameworks_base-0dd7cb4b4ef86eb7d4e837b1948501da66adeebe.tar.bz2
Finish implementation of multiple pointer support for MotionEvent.
The major things going on here: - The MotionEvent API is now extended to included "pointer ID" information, for applications to keep track of individual fingers as they move up and down. PointerLocation has been updated to take advantage of this. - The input system now has logic to generate MotionEvents with the new ID information, synthesizing an identifier as new points are down and trying to keep pointer ids consistent across events by looking at the distance between the last and next set of pointers. - We now support the new multitouch driver protocol, and will use that instead of the old one if it is available. We do NOT use any finger id information coming from the driver, but always synthesize pointer ids in user space. (This is simply because we don't yet have a driver reporting this information from which to base an implementation on.) - Increase maximum number of fingers to 10. This code has only been used with a driver that reports up to 2, so no idea how more will actually work. - Oh and the input system can now detect and report physical DPAD devices.
Diffstat (limited to 'awt/resources/org/apache')
0 files changed, 0 insertions, 0 deletions