summaryrefslogtreecommitdiff
path: root/libs/androidfw/Idmap.cpp
diff options
context:
space:
mode:
author Bharat Singh <bharatkrsingh@google.com> 2025-02-15 03:10:13 +0000
committer Bharat Singh <bharatkrsingh@google.com> 2025-02-19 04:41:39 +0000
commit3ae102c8ce8366f9cde6a62dc6658f581dde5839 (patch)
treeca386ef523f748df2aba765f0834d4bac519f92e /libs/androidfw/Idmap.cpp
parent56349879f46806707743eb57bd596ef93e33e679 (diff)
[AnimLib] Reuse same unique token for same view
This change enables clients of ViewTransitionRegistry to reuse same uniue token associated with a particular view (till it is attached to a window). This optimization reduces the overhead of generating different unique tokens mapped to the same view and ensures that there is a single token, entry and listener associated with a view in the registry (this detail is completely abstracted out from clients). Bug: 393241010 Flag: com.android.systemui.decouple_view_controller_in_animlib Test: GhostedViewTransitionAnimatorControllerTest, ViewTransitionRegistryTest Change-Id: If0dbd9de5809068476cfe69268b17429f5dda11d
Diffstat (limited to 'libs/androidfw/Idmap.cpp')
0 files changed, 0 insertions, 0 deletions