summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2021-10-19 11:24:45 -0700
committer Prabir Pradhan <prabirmsp@google.com> 2021-10-26 05:29:31 -0700
commitd2b0267be035d42df75f0bf2e9bd653d8b5619ff (patch)
tree9ae1df6921431047cd292e4d2f89b458a598d93a /libs/gui/BLASTBufferQueue.cpp
parentf367330f19ba02797ed82382ab10a5cd51e7db97 (diff)
MotionEvent: Avoid clipping tranformed orientation angle values
A recent refactor (ag/14556109) exposed an issue in the existing orientation angle transformation logic where the output was clipped incorrectly. There is no need to clip the ouput of atan2f because its output is in the range [-pi, pi], which conforms to the MotionEvent's orientation API. Test: manual with stylus and test app Bug: 202534592 Change-Id: I55df7470049922d0f579c2c1921dcacd0757ece1
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions