summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-12-03 22:30:13 +0000
committer Jorge Gil <jorgegil@google.com> 2024-12-05 18:21:58 +0000
commit513caf7c67309f37f93615ef3c0ed1401a2822fe (patch)
tree02ba2acb3b6351e70a3f0fc5212269b877cc5c2d /libs/androidfw/StringPool.cpp
parent9bb7006b6d0fcbdbd433c71550f752f729d06faf (diff)
[5/N] WindowDecorViewHost: Add pooled supplier & reusable ViewHost
Spiritual revert^2 of I08111bfd4728e5223ed078916255313b13a4093f, but broken down into smaller changes. Adds a ReusableWindowDecorViewHost that is able to swap view hierarchies (e.g. App Handle <-> App Header) without having to release and create a new SCVH. This is done by putting the desired view hierarchy inside a root View that never changes. Also adds a Pooled supplier that uses reusable view hosts with a capacity equal to the desktop task limit. Bug: 360452034 Flag: com.android.window.flags.enable_desktop_windowing_scvh_cache_bug_fix Test: check perfetto trace for reused SCVHs Change-Id: I30555d86ec6995decbca8a47c1008f1b79020899
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions