171 Commits

Author SHA1 Message Date
TreeHugger Robot
c749981ca9 Merge "Update fonts.xml with user customization fonts." 2019-01-05 02:33:33 +00:00
Amin Shaikh
16af20be3f Rename accent color and icon shape overlay.
That way there is less redundancy in the menu displaying accent color
and icon shape choices in developer settings.

Bug: 122308197
Test: make
Change-Id: I177ec1285e49f727ac9d0e424fecd84029ec8309
2019-01-04 15:10:13 -05:00
Amin Shaikh
1c3e743134 Update fonts.xml with user customization fonts.
Bug: 118756857
Test: make
Change-Id: I21a8d87f2706fe6ac3f86e2f4c54e66786dbde1a
2019-01-03 18:09:19 -05:00
TreeHugger Robot
570a4f0c54 Merge "Fine tune RoundedRect and Squircle overlay path Bug: 118757933" 2019-01-03 13:02:57 +00:00
Hyunyoung Song
64ee943c21 Fine tune RoundedRect and Squircle overlay path
Bug: 118757933

Test: builds, also below commands

$ adb shell cmd overlay enable --user 0 com.android.theme.icon.roundedrect
$ adb shell cmd overlay disable --user 0 com.android.theme.icon.roundedrect
$ adb shell cmd overlay enable --user 0 com.android.theme.icon.teardrop
$ adb shell cmd overlay disable --user 0 com.android.theme.icon.teardrop

Change-Id: I4757837fa3763d19c311d4a82a3899d156ede94e
2019-01-03 00:05:01 -08:00
Amin Shaikh
52a24ee37c Add three display/body font overlays.
Note that these overlays can be checked in before b/122043381 since the
system fallback font is used if not installed on the device. The theme
picker should verify whether the REQUIRED_SYSTEM_FONTS listed in the
overlay meta-data are present before exposing these as font options.

Bug: 118756857
Test: manually toggling these overlays
Change-Id: I8ac544436eac5f7d16803c7b1c2580499adbe0c8
2018-12-28 11:19:23 -05:00
Hyunyoung Song
3e384795ee Move overlay location from vendor/overlay to system/product/overlay or product/overlay
LOCAL_PRODUCT_MODULE flag was not supported until last week.

go/add-a-clean-spec

Test: builds
Bug: 118757933
Bug: 118757664

Change-Id: Iffcc735f8b204407b27f8f29a51b7286ec0eab69
2018-12-18 22:23:45 +00:00
TreeHugger Robot
51f4f29185 Merge "Import translations. DO NOT MERGE" 2018-12-06 23:48:27 +00:00
Hyunyoung Song
1b094da3e6 Merge "Add the three icon shapes as overlays" 2018-12-06 19:08:11 +00:00
Bill Yi
4a10d87deb Import translations. DO NOT MERGE
Change-Id: I8da2014d16a03b66e5f48967783f2a9c6707238f
Auto-generated-cl: translation import
2018-12-06 01:39:48 -08:00
TreeHugger Robot
8b12b80cac Merge "Add accent color overlays." 2018-12-06 01:02:05 +00:00
Amin Shaikh
10db9480f3 Add accent color overlays.
Change-Id: I8dd79f2d44823addb47cada2e4123b59f80df496
Fixes: 118757664
Test: adb shell cmd overlay enable --user 0 com.android.theme.color.{black,purple,green}
2018-12-05 16:00:43 -05:00
Hyunyoung Song
7d9ffd99a3 Add the three icon shapes as overlays
Bug: 118757933
Test: $ adb shell cmd overlay [enable|disable] --user 0 \
           com.android.theme.icon.[square|squircle|roundedrect|teardrop]

Change-Id: If269b777c80a213e7302e8d609807495705b9f57
2018-12-05 11:21:27 -08:00
Hyunyoung Song
a6ceda2e9b Make AdaptiveIconDrawable to read in config_icon_mask at non boot time
Bug: 120286620
Bug: 120286623

Test: adb shell cmd overlay enable --user 0 com.android.theme.icon.square

Change-Id: Ifcb8f39308ba3b1702df983c87be3872abdbf68d
2018-12-04 16:11:52 -08:00
Matthew Ng
38f7a43d46 More options to mix floating and nav bar height overlays (1/2)
Before slim buttons and floating were mutually exclusive, now they can
both be enabled as overlays so floating with a slim nav height can
occur.

Bug: 112934365
Test: manual
Change-Id: Ic6b3e1216e5395e71c72391f893182e263188572
2018-11-29 17:53:31 -08:00
Bill Yi
b39f5d6be0 Import translations. DO NOT MERGE
Change-Id: I03db953cd78cbbd1d990659d3ac3c8e007dc8844
Auto-generated-cl: translation import
2018-11-12 03:13:37 -08:00
Bill Yi
f9c22fbbc9 Import translations. DO NOT MERGE
Change-Id: Ib47130aa7cd7117751cf72800a44b9bf67021411
Auto-generated-cl: translation import
2018-10-31 09:22:21 -07:00
Matthew Ng
605ea47490 Experiment to be able to change the navigation bar thickness (1/2)
Use resource overlays to change the 2 dimension navigation_bar_height
and navigation_bar_frame_height to specify how large the navigation bar
is and how large its buttons are (also for width). There are two
overlays: first to slim the navigation bar to 75% and the other to have
floating navigation buttons.

go/navbar-experiments-doc

Test: manual
Bug: 113952590
Change-Id: I936c9fa49ba029b4174a22b7e35ee070a9e07e4b
2018-10-25 11:18:02 -07:00
Bill Yi
9f99d6951b Import translations. DO NOT MERGE
Change-Id: I388309fd47fb9307304a5d24e9127a7d6136afe5
Auto-generated-cl: translation import
2018-10-07 09:24:31 -07:00
Bill Yi
5e71db2e81 Import translations. DO NOT MERGE
Change-Id: Ie4aad714c3ca4200e1c268f0b37642b79bf8596a
Auto-generated-cl: translation import
2018-09-08 09:02:02 -07:00
Bill Yi
74ff902b48 Import translations. DO NOT MERGE
Change-Id: I6229deed5eb27da5aa99b1848fd0ad46b28a8791
Auto-generated-cl: translation import
2018-08-26 03:00:13 -07:00
Adrian Roos
4abb401c32 Merge "Cutout emulation: string changes" into pi-dev am: 9c5b761f29
am: c9c9c085ed

Change-Id: I92794e515d0cbab71b5cb1a0eeb465421bda1e39
2018-08-21 16:46:55 -07:00
Adrian Roos
c9c9c085ed Merge "Cutout emulation: string changes" into pi-dev
am: 9c5b761f29

Change-Id: If5b8bfdeea037f42f5bb0a1123b7e96cbc0b5b2a
2018-08-21 15:07:36 -07:00
Adrian Roos
843f6f7881 Cutout emulation: string changes
Bug: 112876936
Test: Open developer options, go to "display cutout", verify strings.
Change-Id: I1d22f56ca7fa8c817da2407f36613e4fc132a3a9
2018-08-21 18:29:38 +02:00
Bill Yi
4b465fb858 Import translations. DO NOT MERGE
Change-Id: I4333f372cd1dcbf8df07eb6ddedf8c6df2b44d5e
Auto-generated-cl: translation import
2018-07-22 07:06:23 -07:00
Bill Yi
cf17f70ab9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7c460571c761166c1c3ed8a6d3ff1461ece96a9f
2018-07-20 07:52:44 -07:00
Lucas Dupin
40ec6b7814 Migrate SysUI theme to UiMode
Legacy RRO was deleted and resources migrated to DeviceDefault theme.
Theming via overlays is still possible, but the overlay should provide
both themes: day and night.

Test: adb shell service call uimode 4 i32 1
Test: adb shell service call uimode 4 i32 2
Change-Id: I5dee2f94764c5c2f4e11cfabfff97656b3822e8a
2018-07-04 18:15:25 -07:00
Jorim Jaggi
1f079b4f97 Merge "Only use simple rects for cutout region" into pi-dev am: 4764921dcc
am: b7dc212a61

Change-Id: I2af32c72ea859ff908fa30b5de1e722a99b28479
2018-07-02 14:58:32 -07:00
Jorim Jaggi
b7dc212a61 Merge "Only use simple rects for cutout region" into pi-dev
am: 4764921dcc

Change-Id: Icfb41008189d5c01f90afd4992428433043b4c4e
2018-07-02 14:47:09 -07:00
Jorim Jaggi
606405180f Only use simple rects for cutout region
Otherwise there is a big performance hit in all kinds of
situations where we do operations with the region, specifically
when:

- updating input windows
- insetting the cutout during layout
- touch dispatch

Test: DisplayCutoutTest, WmDisplayCutoutTest
Bug: 110464019
Bug: 110452325
Change-Id: I94a25c3794ecd33b8b7204ca308ac91623498f13
2018-07-02 17:58:10 +02:00
Rohan Shah
51f196eb1a Merge "[QS] Update landscape UI" into pi-dev am: 044a5e17da
am: d4b20a928f

Change-Id: If0b9f34e69116017be0a1b99d2dab8288175b4ad
2018-04-05 09:51:32 -07:00
Rohan Shah
d4b20a928f Merge "[QS] Update landscape UI" into pi-dev
am: 044a5e17da

Change-Id: I49ab03325cdb483ee5372df4ee8042dc225df850
2018-04-05 09:34:12 -07:00
Rohan Shah
cc3d1d8b96 [QS] Update landscape UI
Rolling forward the landscape UI changes (To not break taimen with a
notch this time!). OG CL: ag/3717677

Shorten status bar height in landscape and update colors to use
wallpaperTextColor when in landscape mode.

Additionally modified scrim opacity for the QS panel to provide more
contrast/focus on content.

Test: Visually
Bug: 73808887
Change-Id: I249579d2898b9915868bb584661864d10ed88de2
2018-04-04 09:36:49 -07:00
Bill Yi
d7d3caec3f Import translations. DO NOT MERGE
Change-Id: Ia98dc2d40fcf33029859e69beff4ee0d87f84bc8
Auto-generated-cl: translation import
2018-04-04 07:21:09 -07:00
Bill Yi
a1eb53d6ad Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I75114b63fbb3d7728b3c51df6a4a1c5749c54651
2018-03-31 09:55:02 -07:00
Rohan Shah
87d04e4d5b Merge "Revert "[QS] Update landscape UI"" into pi-dev am: a994156b55
am: 62d7369c44

Change-Id: If4b1094b4769ff01e664078ce62ef27cb95f0b7e
2018-03-30 11:35:03 +00:00
Rohan Shah
62d7369c44 Merge "Revert "[QS] Update landscape UI"" into pi-dev
am: a994156b55

Change-Id: I7c325c2367ace2807c0597fee8fb983bcc970dbd
2018-03-30 10:58:52 +00:00
Rohan Shah
8a0d3fcf17 Revert "[QS] Update landscape UI"
This reverts commit bc204efbe5602e130fbe666d6ea2b5185d42b0c4.

Reason for revert: Causes crash on rotation due to something with config.xml overriding. Reverting as it's blocking daily build
Bug: 77217078
Test: Ran build, checked rotation
Change-Id: I79e94fb1703f888ac167cdae20142e130a2e80b3
2018-03-29 11:33:24 -07:00
Rohan Shah
21f9a66b80 Merge "[QS] Update landscape UI" into pi-dev am: 6d0412ee22
am: e1afde9b79

Change-Id: Ie039365801183d49cd45e206418d33fd5c132365
2018-03-27 20:35:46 +00:00
Rohan Shah
e1afde9b79 Merge "[QS] Update landscape UI" into pi-dev
am: 6d0412ee22

Change-Id: I38b8214bf560d406d5f95468419314010cf6f579
2018-03-27 19:52:02 +00:00
Rohan Shah
bc204efbe5 [QS] Update landscape UI
Shorten status bar height in landscape and update colors to use
wallpaperTextColor when in landscape mode.

Additionally modified scrim opacity for the QS panel to provide more
contrast/focus on content.

Test: Visually
Bug: 73808887
Change-Id: I74713587ca426020cb15960800a4d2b6ac5f6466
2018-03-26 15:10:28 -07:00
Bill Yi
2d937fde7b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iaaf06a880c141263f6bea9012e97e33e63cde378
2018-03-23 11:25:27 -07:00
Bill Yi
72f088586a Import translations. DO NOT MERGE
Change-Id: I485fd4f1f151e39ba579e1db653598c36c73af43
Auto-generated-cl: translation import
2018-03-23 10:48:19 -07:00
TreeHugger Robot
8d810c2b5d Merge "Import translations. DO NOT MERGE" 2018-03-19 19:54:30 +00:00
Bill Yi
1c67dbf325 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I689307250cc85c025fca7fd0a0ffbfe30f909fb1
2018-03-19 01:34:02 -07:00
Bill Yi
56a9cfae00 Import translations. DO NOT MERGE
Change-Id: I3bd6fcd21cf1455fca6a842a054a677534ffce45
Auto-generated-cl: translation import
2018-03-19 01:15:28 -07:00
Bill Yi
3c7f4d34d3 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4f0cac1ca19646cb5e45c5d84814883a3c11c1d6
2018-03-16 23:33:48 -07:00
Bill Yi
6578e9abd2 Import translations. DO NOT MERGE
Change-Id: Iff3b4063dc7c974ab623a2bcb145c553bf659569
Auto-generated-cl: translation import
2018-03-16 22:55:51 -07:00
Adrian Roos
b8b10f807c DisplayCutout: Add corner cutout overlay
Bug: 74982138
Test: mmm packages/overlays/DisplayCutoutEmulationCornerOverlay/
Change-Id: I06258f417b4ce3b1cc65e046fb18bc856de896c9
2018-03-15 20:09:46 +00:00
TreeHugger Robot
2f848a1381 Merge "Cutout: Add a multi cutout overlay" into pi-dev 2018-03-13 18:00:07 +00:00