summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2024-10-30 11:45:36 -0400
committer John Reck <jreck@google.com> 2024-10-31 19:41:07 +0000
commit7c5646f1898fd14114644e22f657edde866e8e01 (patch)
tree59739487ad55675d1847cc6b1df484673e23942a /libs/androidfw/StringPool.cpp
parenta8ef53cc8b3318645ece18b249739d47587c41ab (diff)
Adjust crop to account for child scaling
The computed crop is in view-relative domain, but we need it to be in surface-relative domain since that's what surfaceflinger is speaking. So adjust the crop by the scale from surfaceWidth/Height to the RenderNode's width/height Bug: 298621623 Flag: com.android.graphics.hwui.flags.clip_surfaceviews Test: HwAccelerationTest demo & atest CtsUiRenderingTestCases Change-Id: I9d5908c2ca2c6b6331c8f35f658783ab3b2fe6f1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions