summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2019-02-15 17:21:03 -0600
committer Siarhei Vishniakou <svv@google.com> 2019-02-19 19:04:23 -0600
commit8154bbdf6bb2c5de865e9408a1452bbfd3c37a17 (patch)
tree7e48bc263df7ef3cd5da2dfc00fd40525d240d39 /libs/gui/BufferQueueThreadState.cpp
parent6b76bdf9b7ac8046234900cafdcccf2145d3c5c7 (diff)
Rotate TouchVideoFrames
When a screen orientation change happens, the touch coordinates are adjusted in InputReader to accomodate this rotation. When the user is holding the device, the origin (0, 0) is always at the top left of the screen. However, currently, the TouchVideoFrames are not being rotated. This presents a problem, because the touch coordinates cannot be directly matched to the heatmap, as received in the HAL. To account for this, we rotate the touch video frame. Test: atest libinput_tests inputflinger_tests Bug: 123241238 Change-Id: Iff45c68b1d2b237d2b1657ed76f50bb23ef8468a
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions