summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2023-12-12 13:56:15 +0100
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2023-12-13 16:30:11 +0100
commit1dab822beb2f6daeb77206456361dcbe10bb7e17 (patch)
tree2591776738c25bb7373ddc046d47e81776bf9eb1 /libs/androidfw/FileStream.cpp
parent9d708f7ed44d7e874340ebd36b043a55bcf2fe29 (diff)
Compute transformations when transitions start
This CL changes when we compute the transformations associated to a transition. Before this CL, we assumed that transition specs would never change and their associated transformations were cached. Because we want user code to provide different transformations depending on app state (see b/308961608#comment13 for more context), this CL changes that and computes the transformations of a transition right when the transition is started. This CL also makes SceneTransitionLayoutImpl more leightweight by removing the need for Snapshot-backed data structure, making sure that we rely on those only for data that is read during composition or written during composition and outside effects. Test: PlatformComposeSceneTransitionLayoutTests Bug: 315763713 Flag: N/A Change-Id: Id432d5febdc2d84a9bdaab1a9704957d377756ad
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions