summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2020-05-20 15:39:03 -0700
committerSelim Cinek <cinek@google.com>2020-05-26 16:30:40 -0700
commit2de5ebb44a5ae512f3a676af7c299d4fb4f21f0d (patch)
tree3fa06b924fd769b4837582c90c57a41373b78aa7 /tools/aapt2/java/JavaClassGenerator.cpp
parentacf1151d11bb7fbf4d7d95e9cd56cd904bb05825 (diff)
Replacing MotionLayout with DynamicLayout
Motionlayout had a few limitations because we didn't have any control over the measure cache and the resizing behavior wasn't very performant for our usecase. We therefore implement a new Layout called DyanmicLayout that dynamically allows you to move between different ViewStates in a performance optimized way. A new controller is introduced that is responsible for caching the individual viewstates and react to possible changes in the view hosts. This will make sure that our layout is more stable than ever while beeing fully optimized for multiple players with various different viewstates, allowing us to implement usecases much easier where players are conditionally hidden or replaced when long-pressing. MediaLocationStates are now fully owned by the MediaStatesManager and the hiearchyManager only operates on the bounds of the views, making it more generic and resuable for future usecases. Fixes: 156465387 Test: atest SystemUITests Change-Id: Ica8c2b1404df52d3cc3bf3d0ee5dabbc886557cf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions