summaryrefslogtreecommitdiff
path: root/services/appfunctions/java
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-09-13 14:10:51 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-09-13 17:06:32 +0000
commitb8cc0a3c11727d002488a9c15a9b4dfd2f4316bc (patch)
tree8ab272e9f77a35f4ac4b131fdbeebe2a3bc5b161 /services/appfunctions/java
parentbad2c984ada4b86bdf9d8ba738f79f6abf0ec811 (diff)
Maintain aspect ratio in DragPositioningCallbackUtility.changeBounds()
Adjusting one side of an unresizeable app without also adjusted a adjacent edge in proportion will cause the aspect ratio of the bounds to change. To prevent the aspect ratio of unresizeable apps being modified, opt to reset all coordinates to their previous valid state if at least one of the coordinates needs adjusting due to constraints. Flag: com.android.window.flags.enable_windowing_scaled_resizing Fix: 366424454 Test: atest WMShellUnitTests:DragPositioningCallbackUtilityTest Test: atest WMShellUnitTests:VeiledResizeTaskPositionerTest Test: atest WMShellUnitTests:FluidResizeTaskPositionerTest Change-Id: I4959f3a9a725e619bb620f00cc383e939a173e79
Diffstat (limited to 'services/appfunctions/java')
0 files changed, 0 insertions, 0 deletions