summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2024-03-26 16:36:07 -0700
committer Hongwei Wang <hwwang@google.com> 2024-04-04 19:22:40 +0000
commit8d5a06f1466dcda77f9b474bc19b508fbe6266cb (patch)
tree9ee9f6e7d1361c0daac44f63a42eed5138ab5fb5 /api/api.go
parentd4f04830d16b4403d232985d0dd740df6cef3de9 (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 (cherry picked from commit b2f07fe729de24c9d705f5768826e29414439c6a)
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions