commit | e89a4e7d2808b44b2da6827d13d6da6ce0998896 | [log] [tgz] |
---|---|---|
author | Wu-cheng Li <wuchengli@google.com> | Mon Aug 13 17:31:22 2012 +0800 |
committer | Wu-cheng Li <wuchengli@google.com> | Mon Aug 13 17:40:42 2012 +0800 |
tree | 523f4d184c958ec54c53a88608a966a6e0513a75 | |
parent | de8079dab0123ea087c3c9adbcf1c476bcf79a42 [diff] |
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