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

Commit c6519410 authored by nergi's avatar nergi
Browse files

[CD Settings] Use ViewOutlineProvider to draw curved border

The existing solution apply box border to the displayBlock in order to
ensure Surface not leaking out behind the rounded corner.

While the box border itself fade into the background due to the gap in
displayBlocks in connected displays mode, the sharp box border will be
visible when displayBlocks are stacked in mirroring mode.

Applying stacked mirrored displays will be done in the next CL, but
here's the sample demo
Before: http://shortn/_vds67h67lV
After: http://shortn/_Y3gEbRbczV

Current CD pane with the change: http://shortn/_zqtwYJgKtA

Bug: 401059862
Test: atest DisplayBlockTest
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Change-Id: Ibd58d0387dc3cc78e7e4e929b00559c086e1650c
parent b1a547a8
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