diff options
author | 2022-12-02 21:02:11 +0000 | |
---|---|---|
committer | 2023-03-02 22:37:04 +0000 | |
commit | 3e7987653fae3eaf75532aeeee58ca4c28ebf2a8 (patch) | |
tree | dbcafcc8463389cd9f680b3f298bf23e5d10ece2 /libs/gui/SurfaceComposerClient.cpp | |
parent | 8268740634919a1cc07d6463c1cee64ccc3aa376 (diff) |
TouchInputMapper: Index input device pixels in rotated display space
Redo the way we calculate input transforms so that each discrete raw
pixel is indexed in the current display orientation. InputReader should
still be sending events in the unrotated display space.
See the following file for more information about improper indexing of
pixels when converting discrete coordinates into the continuous space:
//frameworks/native/services/inputflinger/docs/input_coordinates.md
Bug: 257118693
Test: atest inputflinger_tests
Change-Id: Id6633d3a58bada3a7ec03ccd5cfe71fbb719ea6a
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions