diff options
| author | 2023-11-15 11:49:26 +0100 | |
|---|---|---|
| committer | 2023-11-15 14:32:37 +0100 | |
| commit | 7201c5606e4ba1cd7a25397a0df96eada5859d46 (patch) | |
| tree | 60cd9f1ac3c5be74dadd0a26caa7bfeca12b1bf6 /libs/androidfw/StringPool.cpp | |
| parent | d9c1b4504b335d737565532d1d87eb88e4cb58b3 (diff) | |
Remove Modifier transformations (1/2)
This CL removes the ModifierTransformation interface. This interface was
only implement by PunchHole, which is now replaced by Modifier.punchHole
that can be called directly from user code.
There were 2 main reasons for this removal, which are both performance
reasons:
- This removes the modifierTransformations() chain applied in
http://shortn/_9vgJ2a7Yx6. With this removed and once b/311132415 is
fixed, we will be able to make Modifier.element() be a single
ModifierNodeElement.
- modifierTransformations() was reading the current transition state in
http://shortn/_EAjP93YKeQ, which means that *all elements* always
recompose whenever the transition state has changed, just because of
that PunchHole transformation.
Test: PunchHoleTest
Test: Manual, in the gallery app by going from Lockscreen <=> Shade
Bug: 291071158
Flag: NA
Change-Id: I45e71dce8acb98318ac61127bd5294f0a7053dda
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions