diff options
| author | 2025-01-21 17:47:46 +0900 | |
|---|---|---|
| committer | 2025-02-06 23:08:13 -0800 | |
| commit | c6fb62e93b7b66e8359eaff77da455d1f4d302ae (patch) | |
| tree | d0e7decc940d3f358b28a374afb51cf82d0bb436 /opengl/java | |
| parent | f02aead52badd90d6a591aa4ede866c01e229729 (diff) | |
Prevent unnecessary animation when dragging window within same display
The commit addresses an issue in MultiDisplayVeiledResizeTaskPositioner
where dragging a window within the same display could trigger an
unnecessary animation due to minor changes in width or height caused by
DPI scaling.
The fix involves checking if the drag operation occurs within the same
display. If it does, the logic falls back to the single-display drag
behavior, where we only updates the window left and top coordinates.
See details in b/390370556#comment2
Bug: 390370556
Test: Manual
Flag: com.android.window.flags.enable_connected_displays_window_drag
Change-Id: I6797e115361577955443ae0492c1b72dd1519de1
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions