[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
Loading
Please register or sign in to comment