summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventDispatcher.cpp
diff options
context:
space:
mode:
author Ana Krulec <akrulec@google.com> 2020-04-24 11:06:46 -0700
committer Ana Krulec <akrulec@google.com> 2020-04-27 23:25:23 +0000
commit65d8780e54338bb99d257131bed930477733e578 (patch)
tree8b0fcc9d7e4d81dc45cea9ab05e0125fb5487543 /libs/gui/DisplayEventDispatcher.cpp
parentc50b604460d60c84862b08566f35c789ab0457a3 (diff)
SF: Fix NATIVE_WINDOW_SCALING_MODE_SCALE_CROP
If the buffer comes with NATIVE_WINDOW_TRANSFORM_ROT_90/270 transform set, we need to switch width/height when we scale and crop it. Bug: 28512795 Test: Olly's demo app from b/28512795/#34 Merged-In: 121f4210a004e8dbe12dad432f345d4143e0bd4b Change-Id: I42270bd3f89dafc8c7d5d8aa080e300f4d75e011 (cherry picked from commit 121f4210a004e8dbe12dad432f345d4143e0bd4b)
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions