diff options
| author | 2025-03-10 08:47:05 -0700 | |
|---|---|---|
| committer | 2025-03-10 12:12:14 -0700 | |
| commit | 1cbae6c0e5e2266803dbd263831b8c4d201ec718 (patch) | |
| tree | 8b218dd6dfe943f6f5b21092a96c469030239736 /libs/androidfw/ResourceTimer.cpp | |
| parent | 7c7cc44627a56b2404656b2d0c69fabcee4328d5 (diff) | |
[Media] More efficient output switcher chip width limiting.
As per go/sysui-compose#avoid-boxwithconstraints-and-subcomposition,
BoxWithConstraints should be avoided due to performance reasons.
This CL uses simple custom layout code to figure out the constraints for
the chips based on the measured width of the parent row.
Bug: 401264395
Test: manually verified by temporarily making the chip text very long
Flag: EXEMPT not needed yet
Change-Id: I7585c9ef44ece1d89c0c88ec949eec1f4bd778f0
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions