Merge "Define thin letterboxing width" into 24D1-dev am: 2698e61ce6

Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/27116737

Change-Id: If861480e5fa3027d93e53d044d3026319a1372b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Massimo Carli 2024-05-09 13:58:42 +00:00 committed by Automerger Merge Worker
commit 9a0219d31c

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>