Merge "Define thin letterboxing width" into 24D1-dev

This commit is contained in:
Massimo Carli 2024-05-09 13:41:46 +00:00 committed by Android (Google) Code Review
commit 2698e61ce6

View file

@ -289,4 +289,16 @@
corners with radius equal to min between device bottom corner radii. Default 0 value turns
off rounded corners logic in LetterboxUiController. Values are in pixel. -->
<integer name="config_letterboxActivityCornersRadius">64</integer>
<!-- The width in dp to use to detect vertical thin letterboxing.
If W is the available width and w is the letterbox width, an app
is thin letterboxed if the value here is < (W - w) / 2
If the value is < 0 the thin letterboxing policy is disabled -->
<dimen name="config_letterboxThinLetterboxWidthDp">28dp</dimen>
<!-- The height in dp to use to detect horizontal thin letterboxing
If H is the available height and h is the letterbox height, an app
is thin letterboxed if the value here is < (H - h) / 2
If the value is < 0 the thin letterboxing policy is disabled -->
<dimen name="config_letterboxThinLetterboxHeightDp">-1dp</dimen>
</resources>