commit | 6b38461a39eca271da55cf14682b6dfef764529b | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Fri May 14 16:56:25 2021 -0700 |
committer | Prabir Pradhan <prabirmsp@google.com> | Mon May 24 17:39:02 2021 -0700 |
tree | 966c8d7b9ed6f0f1be7d88e64473f30afddf4858 | |
parent | accebe0f914df759e13135d93ed8a0c61606fc87 [diff] |
MotionEvent: Simplify logic around transformations This is a refactor that simplifies logic around Transforms applied to MotionEvents. PointerCoords should only contain raw values that are unmodified by MotionEven transformations. The MotionEvent's Transform should only be applied when getting these values through MotionEvent's getAxisValue APIs. Bug: 179274888 Test: atest libinput_tests Test: manual with test app Change-Id: If60d98ade84d481afd655a3abc921e50697071b3