summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-03-21 05:39:20 +0000
committer Jorge Gil <jorgegil@google.com> 2024-03-21 18:56:14 +0000
commit4e1d9ecdcb38dc7d6d2ea088133dd1dd38783f9f (patch)
tree98dd124a023f75065af949641492b4a69938a132 /libs/androidfw/StringPool.cpp
parente6cd1bb1cc28c01a7863400fc3c50c0767dc8989 (diff)
Optimize resize veil relayouts
To avoid redrawing the veil's background color and app icon drawables on every size change of a drag-resize gesture, which is causing jank and missed frames, this change draws the background color on a separate color SurfaceControl and moves the icon to its own SurfaceControl that is only drawn once and thus only needs to be repositioned when the task resizes. Bug: 330626246 Test: manual - drag resize and see veil as usual; check perfetto trace does not skip frames on every ACTION_MOVE anymore Change-Id: I97821d5a70f1eca7ec77cb868869dbe2187a6af3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions