diff options
| author | 2023-03-18 01:54:43 +0000 | |
|---|---|---|
| committer | 2023-03-20 21:01:21 +0000 | |
| commit | fed7c12150bcef08ddfd5e77e38a4fdf6a9c971a (patch) | |
| tree | 37a7aa83fe7cab780e7d2efdc03dfb71cb5e984f /libs/jpegrecoverymap/jpegencoderhelper.cpp | |
| parent | 2c1f96e0d825463dc1e420982d31d77bd442d9e7 (diff) | |
Take into account surface insets when replacing touch region.
When SurfaceFlinger computes window frames, the surface insets are
clamped to the input bounds. But when replacing the touchable region,
the surface insets are not taken into account.
This CL adds consideration for surface insets, so that touchable region
is computed correctly. This also fixes a ListPopupWindowTest on freeform
windowing devices.
Test: atest SurfaceFlinger_test on freeform windowing emulator and
aosp_cf_x86_64_phone target
Fixes: 272786078
Change-Id: Id8082cb1b39280e846c2bf5a36315df68d37d2e6
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions