diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-03-03 02:09:54 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-03-09 02:46:45 -0800 |
commit | 9626b14a283ef82d16636cf5fb5ba8bb4d30381e (patch) | |
tree | ad6e1a8c87412308cff13d5a727b179ab301dfee /include | |
parent | 924c4d47774fa7d8a5ce659d12291ef7df82ee05 (diff) | |
download | frameworks_base-9626b14a283ef82d16636cf5fb5ba8bb4d30381e.zip frameworks_base-9626b14a283ef82d16636cf5fb5ba8bb4d30381e.tar.gz frameworks_base-9626b14a283ef82d16636cf5fb5ba8bb4d30381e.tar.bz2 |
Fix off by one errors in touch motion ranges. (DO NOT MERGE)
Report inclusive minimum and maximum ranges for all
axes including X and Y.
Set mouse pointer bounds to 0..width-1, 0..height-1.
Rotate touch and mouse positions more carefully, paying attention
to the maximum bounds when calculating the complement of an axis.
Simplified the InputReader somewhat and removed support for a
couple of poorly defined input device configuration parameters.
We now assume that the touch device provides useful absolute axis
ranges for the X and Y axes since the alternative does not actually
make sense.
Bug: 3413541
Change-Id: I121d28a125c4f9618cb283dc460d33ff1a907023
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions