From eb180f4a8d5f0b09e58ad5537a45c80f01346999 Mon Sep 17 00:00:00 2001 From: Galia Peycheva Date: Wed, 10 Aug 2022 10:12:09 +0200 Subject: [PATCH] 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 --- libs/WindowManager/Shell/res/values-television/dimen.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/WindowManager/Shell/res/values-television/dimen.xml b/libs/WindowManager/Shell/res/values-television/dimen.xml index 14e89f8b08df7..376cc4faca6f1 100644 --- a/libs/WindowManager/Shell/res/values-television/dimen.xml +++ b/libs/WindowManager/Shell/res/values-television/dimen.xml @@ -21,4 +21,7 @@ 16dp + + + 0dp