summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2019-09-26 18:31:26 +0800
committer Arthur Hung <arthurhung@google.com> 2019-10-16 19:15:06 +0800
commit05de577c02e3167546ba4f2388ebc45cc781e2e8 (patch)
tree31aeab529dec4b34cb0f9dbb58ca474692f18fa2 /libs/gui/BLASTBufferQueue.cpp
parent264a16a5cc4f60383188a95949d049bf825a506c (diff)
Fix foldable emulator touch does not work
When foldable emulator change to minimized state and rotate screen, the physical display would align to right-top (rotate to 90) or left-bottom (rotate to 270), but the touch axes range still keep the initialed values, so when cookPointerData, it would also align to right-top or left-bottom when display rotated. - Fix the surface range when display had offset and rotated. - Fix the surface range checker function. Bug: 138708005 Test: atest inputflinger_tests Test: open foldable emulator, change to minimized state and rotate device, test if touch can work fine. Change-Id: Idc97107512dd1c11e3783eb3276635f69d3b047b
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions