Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4378796 authored by Yao Qijing's avatar Yao Qijing Committed by Qijing Yao
Browse files

Implement multi-display window drag

This commit implements the core logic for dragging windows across
multiple displays, which includes:
* Calculating and updating the window bounds on the original display.
* Reparenting the window to the target display.

The bounds calculation is performed by a new utility class,
`MultiDisplayDragMoveBoundsCalculator`, which is designed to be reusable
for different window types (e.g., freeform, Bubble, PiP).

Bug: 381172757
Test: manual
Flag: com.android.window.flags.enable_connected_displays_window_drag
Change-Id: I37b0646e5b3e516d939a8aab18d25dc7708479b7
parent 9a6302eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment