diff options
author | 2021-04-16 10:42:42 -0700 | |
---|---|---|
committer | 2021-04-29 13:24:06 -0700 | |
commit | 84f07f0cbec87736f3d04846a7558869d69a2005 (patch) | |
tree | 3c53336d3f203a99953f64a1827f6325a78426c6 /libs/gui/LayerDebugInfo.cpp | |
parent | 9e8dd09f886e14585d2018f713b7d384e768856a (diff) |
Add enough information to compatibility-transform getRaw()
Many apps are mis-using getRaw (assuming it means screen-coordinates).
This means, for now, we have to do a compatibility transform on the
API to prevent breaking said apps.
Fortunately, since the input window transform includes rotation,
the only extra information we need to calculate this compat-raw
is the display size.
This CL topic pipes the display size around so that it makes into the
MotionEvent and can be used to calculate getRaw()
Bug: 179274888
Test: atest inputflinger_tests:InputDispatcherTest
Change-Id: Iff893643312e8ec9f38eeb96d76a41fdb3a28350
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions