From 992db75dae0883097d518271a253cf777abcf8de Mon Sep 17 00:00:00 2001 From: Alex Chau Date: Mon, 6 Dec 2021 13:04:57 +0000 Subject: [PATCH] Use percentage scaling for overview thumbnail size - Limit overview to screen ratio to be at max 70% - Tuned row spacing and page spacing - Added 2 more test activities to testOverviewForTablet to avoid dismissing tasks at end of grid, as more grid tasks are now shown Bug: 207350366 Test: manual Change-Id: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230 Merged-In: Id04871464bdb3ef2d6b046977b0ffd9bd51bc230 --- quickstep/res/values-sw720dp/dimens.xml | 21 +++++++++++++++++++ quickstep/res/values/dimens.xml | 10 ++++----- .../quickstep/BaseActivityInterface.java | 1 + .../android/quickstep/TaplTestsQuickstep.java | 6 +++--- res/values/dimens.xml | 8 +++---- src/com/android/launcher3/DeviceProfile.java | 12 +++++------ tests/AndroidManifest-common.xml | 16 ++++++++++++++ 7 files changed, 56 insertions(+), 18 deletions(-) create mode 100644 quickstep/res/values-sw720dp/dimens.xml diff --git a/quickstep/res/values-sw720dp/dimens.xml b/quickstep/res/values-sw720dp/dimens.xml new file mode 100644 index 0000000000..2831a6f7f5 --- /dev/null +++ b/quickstep/res/values-sw720dp/dimens.xml @@ -0,0 +1,21 @@ + + + 44dp + 44dp + 44dp + diff --git a/quickstep/res/values/dimens.xml b/quickstep/res/values/dimens.xml index c37b33500e..3b2d44b391 100644 --- a/quickstep/res/values/dimens.xml +++ b/quickstep/res/values/dimens.xml @@ -36,6 +36,7 @@ 16dp 12dp 4dp + 0.7 48dp @@ -51,9 +52,10 @@ 60dp 52dp - 17.13dp - 13.38dp - 0dp + 36dp + 16dp + 36dp + 38dp 2.25dp @@ -61,8 +63,6 @@ 1dp 5dp - 16dp - 36dp 70dp