diff options
author | Wu-cheng Li <wuchengli@google.com> | 2012-08-13 17:31:22 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2012-08-13 17:40:42 +0800 |
commit | e89a4e7d2808b44b2da6827d13d6da6ce0998896 (patch) | |
tree | 523f4d184c958ec54c53a88608a966a6e0513a75 /tests | |
parent | de8079dab0123ea087c3c9adbcf1c476bcf79a42 (diff) | |
download | android_packages_apps_Snap-e89a4e7d2808b44b2da6827d13d6da6ce0998896.tar.gz android_packages_apps_Snap-e89a4e7d2808b44b2da6827d13d6da6ce0998896.tar.bz2 android_packages_apps_Snap-e89a4e7d2808b44b2da6827d13d6da6ce0998896.zip |
Make a copy of MotionEvent in MotionEventHelper.transform.
RotateLayout transforms the event in dispatchTouchEvent.
If the event is not handled, the parent of RotateLayout
may send the transformed event to other views and the
coordinates will be wrong. Make a copy of MotionEvent in
transform. This also makes the behavior consistent in
different API levels.
bug:6974916
Change-Id: Id835767cc9be3f244e5abe2b855e5188045adedc
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions