summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2018-11-26 12:55:53 -0800
committer Robert Carr <racarr@google.com> 2018-11-27 14:42:06 -0800
commite07e103103d575789ad0a9d5a5212a000ad1f277 (patch)
treef3be0c0f8f184db0696b4aacdb1bcb3ed6b86e0b /libs/gui/BufferQueueThreadState.cpp
parente52502e2697bc12992c46baef6f15420b5912797 (diff)
SurfaceFlinger Input: Correct screen magnification.
We need to pass the computed scaling factors through SurfaceFlinger as well as appropriately scaling the touchable region. We also need to be careful as to which axes we scale. In the past screen magnification has not lead to scaling of the TOUCH_MAJOR/MINOR axes, whereas whole-screen display compatibility scaling has. We preserve this behavior by differentiating between the global scale and a scale on any particular window. The window scale works like the global scale used to and the global scale is only used for additional scaling of the MAJOR/MINOR axes. Bug: 80101428 Bug: 113136004 Bug: 111440400 Change-Id: I97d809826f86b452f28443cb1046e8bfef1bbf9d
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions