summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-03-26 12:52:15 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-05-09 12:51:21 +0000
commitb6a3d5377e29a73ac5dcc4b7ad09508daf6b1b99 (patch)
treeebe52c9263c4ad0856ffba5d983afa8ebf4adf11 /wifi/java/src
parenta3dc0933ce37eeee6f46d77cb432d4699848ba14 (diff)
[1/n] Introduce dynamic bounds calculation to prevent letterboxing
When entering desktop windowing, applications should no longer be letterboxed. This means scaling down apps in SCM for all unresizable apps so intial bounds match scale of the fullscreen bounds. This removes letterboxing while ensuring the apps layout is not disrupted. For portrait resizable apps when the device is in landscape, the height of the initial bounds will match the desired app height for desktopmode while the width will remain from the apps fullscreen width. For landscape resizable apps when the device is portrait, the fullscreen height of the app will be preserved while the width will be set to a custom value. Fixes: 325250852 Bug: 319820230 Bug: 324378380 Test: atest WMShellUnitTests:DesktopTasksControllerTesti Change-Id: I43b5cacecf1505a670ccf31b9483ac35edc50a7f
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions