summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2021-09-06 07:57:20 -0700
committer Prabir Pradhan <prabirmsp@google.com> 2021-09-21 10:44:23 -0700
commit5632d62f5bb790293d4fe2b44dcd0ebd5d20e7ca (patch)
treeb3c16186de9a55eef5a8464e64c514446269970e /services/surfaceflinger/RegionSamplingThread.cpp
parent0a99c925f4ba22320ce825f7674e30b8d7d2a52f (diff)
TouchInputMapper: Block touches outside logical display
Ensure that touches outside the logical display are blocked when per-window-input-rotation is enabled. Since input will work in display coordinates, all touches originating outside the physical display bounds should be blocked. This also adds tests to verify that touch downs outside the physical display bounds are blocked by InputReader. With this change, the SurfaceRange tests that ensure InputReader outputs coordinates in logical display space are no longer valid, and are removed. Test: manual, using foldable device. Test: atest inputflinger_tests Bug: 179274888 Bug: 198407054 Change-Id: I5886d9e2990e59e3e810cddae79e4c90c41314c8
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions