commit | b2f07fe729de24c9d705f5768826e29414439c6a | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Tue Mar 26 16:36:07 2024 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Thu Apr 04 10:46:22 2024 -0700 |
tree | 940a1648ce0341ffa44009667b93d56614e47515 | |
parent | f16669676e13e6b3e932c50c76c0f63cb8fa9bc3 [diff] |
Allow resource override for PiP size spec Putting the default/min size percentage value into resources so they could be overridden on device basis. Add a second set of default/minimum size percentage if the Display is near square. This is to make sure the default PiP window does not overlap with the hinge as much as possible. Screenshot: before https://screenshot.googleplex.com/8mk7KozJ9g9d56K.png Screenshot: after https://screenshot.googleplex.com/Z9dfdGzdJqJuZ5E.png Bug: 318602602 Test: atest WMShellUnitTests:PhoneSizeSpecSourceTest Change-Id: I890857db0aa415b700bf0b81d0d0c37968322e03