Remove rounded corners on Tv PiP

The TV PiP has a border that has rounded corners. We don't want to have
rounded corners on the PiP surface, because it is an expensive
operation. Additionally, some TVs send video buffers directly to HWC, so
the buffers are not GPU-readable. This makes rounding corners in SF not
possible. To have a consistent PiP UI across ATV, we use the PiP border
as a means to add rounded corners.

Bug: 241766265
Test: m && flash && start pip
Change-Id: Ic45895a489cfce2c77398363b220802fdd52187b
This commit is contained in:
Galia Peycheva
2022-08-10 10:12:09 +02:00
parent 5242e7a97d
commit eb180f4a8d

View File

@@ -21,4 +21,7 @@
<!-- Padding between PIP and keep clear areas that caused it to move. -->
<dimen name="pip_keep_clear_area_padding">16dp</dimen>
<!-- The corner radius for PiP window. -->
<dimen name="pip_corner_radius">0dp</dimen>
</resources>