diff options
| author | 2025-03-05 19:22:43 +0000 | |
|---|---|---|
| committer | 2025-03-17 11:37:49 +0000 | |
| commit | 560c8cd00160d14c7945a3d0c5ec4290608c175f (patch) | |
| tree | 11c8b6082c0155561adbf35520a930a728cec2c4 /libs/androidfw/AssetsProvider.cpp | |
| parent | 87ae0365b9f784fe29f0c3079c20d4d050a47e78 (diff) | |
Limit Volume Dialog window width
The gpu memory buffer is allocated for the whole size of the window
regardless of it being mostly transparent. This is a huge waste of
resources given that the Volume Dialog only occupies a small fraction of
it.
We still want to fill the whole height though because of the animation
around half folded internal screen on a foldable device.
This CL introduces a compromise betwee precise control over Volume Dialog vertical alignment and window size.
Flag: com.android.systemui.volume_redesign
Fixes: 398311439
Test: atest VolumeDialogScreenshotTest
Test: manual on foldable. Observe volume dialog appearance. Check that
there is enough space for the horizontal ringer drawer.
Change-Id: Ia8b1fe90ed59b32b7e1412074a52c44648ac7927
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions