diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-07-30 19:20:11 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-07-30 20:08:29 -0700 |
commit | b183fbd6460e6ebb7ffc568ec38ab1548dac0065 (patch) | |
tree | fe55cc57aa46121ba5fcccfb39258d8631149cd5 /include | |
parent | 64a74f6537a78ba2a12a43d36c3fc5bf1b34dacf (diff) | |
download | frameworks_native-b183fbd6460e6ebb7ffc568ec38ab1548dac0065.zip frameworks_native-b183fbd6460e6ebb7ffc568ec38ab1548dac0065.tar.gz frameworks_native-b183fbd6460e6ebb7ffc568ec38ab1548dac0065.tar.bz2 |
Enhanced VelocityTracker for > 5 pointers and fixed bugs.
Improved PointerLocation tool to use VelocityTracker more efficiently
and correctly when multiple pointers are down.
Fixed a bug in TouchInputMapper where it was not correctly copying
the id to index map in the last touch data. This could cause strange
behavior on secondary pointer up events.
Also added finished callback pooling in InputQueue.
Change-Id: Ia85e52ac2fb7350960ea1d7edfbe81a1b3e8267b
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/InputReader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ui/InputReader.h b/include/ui/InputReader.h index 6bf1bfa..f162231 100644 --- a/include/ui/InputReader.h +++ b/include/ui/InputReader.h @@ -565,7 +565,9 @@ protected: for (uint32_t i = 0; i < pointerCount; i++) { pointers[i] = other.pointers[i]; - idToIndex[i] = other.idToIndex[i]; + + int id = pointers[i].id; + idToIndex[id] = other.idToIndex[id]; } } |