summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2018-08-21 04:01:07 +0100
committer Michael Wright <michaelwr@google.com> 2018-08-21 22:28:04 +0100
commit358bcc73146c10946f7e9f292385557c646a329a (patch)
treeeb7347971284e7816ccc1ce835b6b2fd05bf1085 /libs/gui/LayerDebugInfo.cpp
parent99b4619cfeb1e8ed899ca0a4c72154be6263a98c (diff)
Make sure that touches are within the physical frame.
Right now we just check that touches are within the reported axis bounds, but really we should be checking whether they're in the physical frame before notifying the rest of the system about them. Also, fix a bug in touch transformation code where translations were being incorrectly applied. We should only apply top and left translations when we're in portrait and landscape orientations, as in seascape and upside down orientations they'll just exceed their stated maximum naturally. Bug: 112876936 Test: enable notchless simulation, try seascape apps, try swiping down Change-Id: I0f2119d5bdae10d6197bee942829fd0eed3f5dfa
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions