commit | 4b19bd0d193d0fa06212d2e96f3971daed01b6e3 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Tue Jun 01 17:34:59 2021 -0700 |
committer | Prabir Pradhan <prabirmsp@google.com> | Mon Jun 21 14:18:05 2021 -0700 |
tree | bb8959ae2763987f74e1aeb3daca6df201b7828a | |
parent | c652358755a933991bc8bf99b48d9c5f3df03907 [diff] |
MotionEvent: Transform mouse cursor position When calling MotionEvent::applyTransform, the x/y coordinates for all PointerCoords are transformed accordingly. When this happens, we also need to transform the mouse cursor position. Bug: 179274888 Test: atest InputShellCommandTest (when the display is rotated to different orientations) Change-Id: I10db8238150b1bd20f3f53c3a7514a111e362adb