From c9d649f979d36b1b79f0cbca9606e7cbd0f5663c Mon Sep 17 00:00:00 2001 From: mattsziklay Date: Fri, 20 Jan 2023 11:44:08 -0800 Subject: [PATCH] Update captions to full-width. Updates captions to the new full-width spec, adjusts interactivity through status bar to account for the new spec. Bug: 265203860 Test: manual testing, confirm all caption functionality is unchanged. atest WindowDecorationTests Change-Id: Ia0f8341a3714ab6c948729ac3123698a8ee00e5d --- .../res/drawable/desktop_mode_decor_title.xml | 1 - .../res/layout/desktop_mode_window_decor.xml | 16 +---- libs/WindowManager/Shell/res/values/dimen.xml | 4 +- .../DesktopModeWindowDecorViewModel.java | 6 +- .../DesktopModeWindowDecoration.java | 63 ++++++++----------- .../shell/windowdecor/WindowDecoration.java | 6 +- .../Shell/tests/unittest/res/values/dimen.xml | 2 +- .../windowdecor/WindowDecorationTests.java | 11 ++-- 8 files changed, 38 insertions(+), 71 deletions(-) diff --git a/libs/WindowManager/Shell/res/drawable/desktop_mode_decor_title.xml b/libs/WindowManager/Shell/res/drawable/desktop_mode_decor_title.xml index 416287d2cbb33..53a8bb18537cf 100644 --- a/libs/WindowManager/Shell/res/drawable/desktop_mode_decor_title.xml +++ b/libs/WindowManager/Shell/res/drawable/desktop_mode_decor_title.xml @@ -17,5 +17,4 @@ - diff --git a/libs/WindowManager/Shell/res/layout/desktop_mode_window_decor.xml b/libs/WindowManager/Shell/res/layout/desktop_mode_window_decor.xml index 2a4cc02f0925b..da31a46713df7 100644 --- a/libs/WindowManager/Shell/res/layout/desktop_mode_window_decor.xml +++ b/libs/WindowManager/Shell/res/layout/desktop_mode_window_decor.xml @@ -17,26 +17,14 @@ -