122 Commits

Author SHA1 Message Date
Matthew Ng
b0bc866761 Removing left over experimental overlays and frame width (1/2)
Frame width is not used because navigation bar is always on the bottom.

Test: manual
Bug: 113952590
Change-Id: Ie090e937e98cb48089857ade157eee237a16965d
2019-04-22 15:48:19 -07:00
Hyunyoung Song
275d305478 Add missing icon packs for Launcher
Bug: 126738409
Test: builds, flashed, visually verified

Change-Id: I30ff50f697e47adf6cec320f8633c8c6160b1ecf
2019-04-13 01:26:40 -07:00
TreeHugger Robot
6e9ea28e32 Merge "Swap Filled and Rounded for IconPack*LauncherOverlay" into qt-dev 2019-04-12 17:47:45 +00:00
Hyunyoung Song
78f60b6840 Swap Filled and Rounded for IconPack*LauncherOverlay
Bug: 126738409
Test: build, flashed, visually observed
Change-Id: I86e416881814981b187a08e19a1970fc47b432a1
2019-04-11 19:14:00 +00:00
Adrian Roos
6eb1ed3a61 System Bars: API to ensure contrast when app requested transparent bar
Bug: 129533768
Test: atest EnsureBarContrastTest
Change-Id: I42facefc15dce227193a4db5f368184e1b5ebd32
2019-04-11 16:50:32 +02:00
TreeHugger Robot
327ad87113 Merge "Add color overlays to build." into qt-dev 2019-04-10 23:37:21 +00:00
TreeHugger Robot
b5258351ea Merge "System Bars: Ensure contrast when app requested transparent bar" into qt-dev 2019-04-10 21:58:42 +00:00
Amin Shaikh
d98f53a3de Add color overlays to build.
Fixes: 129874396
Test: make and use custom theme selector
Change-Id: I73954a471fd08c001f4d3c0f8ff446c251db2a15
2019-04-10 16:45:53 -04:00
Amin Shaikh
71e20691c8 Update bt share icon to use dark accent color.
Also fix tint on bluetooth settings icon.

Fixes: 130183206
Fixes: 130292353
Test: make
Change-Id: I55684600e0f3c25d20321593b0a05375a499b8f0
2019-04-10 13:35:26 -04:00
Adrian Roos
4c864595bd System Bars: Ensure contrast when app requested transparent bar
Bug: 129533768
Test: atest EnsureBarContrastTest
Change-Id: Ib8f4045b9e8e7bf65c13437133f114d91d0cb050
2019-04-10 18:16:25 +02:00
Amin Shaikh
a2d7d679e4 Fix brightness icon in theme pack.
Update all icon packs from latest mapping.

Fixes: 129694423
Test: make
Change-Id: I537f080b9ab6cdc02421fd37cac97cf937184e78
2019-04-08 11:54:22 -04:00
TreeHugger Robot
d9ed811626 Merge "Add additional custom accent colors." into qt-dev 2019-04-05 22:17:25 +00:00
Amin Shaikh
9ea4e51f98 Add additional custom accent colors.
Fixes: 129874396
Test: make
Change-Id: I72ee7cfe2b970128838c27b37e9bee0e099a921f
2019-04-05 15:58:13 -04:00
TreeHugger Robot
b1e562de98 Merge "Set config_dialogCornerRadius to square icon shape" into qt-dev 2019-04-05 19:40:28 +00:00
Hyunyoung Song
09f2cb7fec Set config_dialogCornerRadius to square icon shape
Bug: 130028929
Test: flashed and used developers options / square to test it out
Change-Id: I9bdae337be36ce775b50ad859ea557e1c3ef8e93
2019-04-05 17:24:46 +00:00
Amin Shaikh
43640e6810 Format all IconPack overlay resources.
Ran vendor/google_experimental/users/ashaikh/IconPack/format_icon_pack_xml.sh
which formats all drawable resources using the same ordering as android
studio.  All future icon pack updates will include formatting resources this way.

Bug: 118757293
Test: make
Change-Id: I8978dc72369ec98a8a29ba9ec787fd8de860cb73
2019-04-05 12:59:58 -04:00
Amin Shaikh
084de1d8a0 Update theme icon packs.
Mostly Settings, framework permission group icons and some SystemUI
volume dialog icons.

Bug: 129677355
Bug: 128354921
Test: make; install all overlays and change themes
Change-Id: I7099a050c6e4521e54fd258126e800dab3f66c3e
2019-04-04 19:17:10 -04:00
Winson Chung
a39a07cf87 Merge "Differentiate the edge sensitivity from the edge panel size" 2019-04-03 23:24:07 +00:00
Winson Chung
01ac1d0aab Differentiate the edge sensitivity from the edge panel size
Bug: 129492856
Test: Swipe from edge
Change-Id: I3b2ce3dd6b3633da1f83c8943538f0f4af5ce481
2019-04-03 22:58:12 +00:00
Amin Shaikh
409ed93935 Fix hotspot icon tint in Settings.
Also fix tinting other Settings icons and delete unused sysui icon.

Fixes: 126764703
Test: make; flash, change theme, open Settings Network & internet
Change-Id: Idc0dfaf646e6c09974a2fb2aab3963f5da096c01
2019-04-02 09:50:42 -04:00
TreeHugger Robot
786f82c297 Merge "Update icon packs." 2019-04-01 21:34:26 +00:00
Amin Shaikh
6b88a8b06f Update icon packs.
- Added privacy / status bar / power menu icons
- Remove empty paths, change fillColors to white (except for brightness thumb)
- Deleted unused icons

Bug: 118757293
Test: make; using theme picker to change icon packes
Change-Id: I77220d0ce98922457229d59e5057260e3531dea5
2019-04-01 10:29:49 -04:00
Adrian Roos
11dfd279a3 WindowInsets: populate system gesture and tappable element insets
Also fixes an infinite recursion when invoking
TestableContext.(un)registerComponentCallbacks().

Test: atest WindowInsetsPolicyTest
Bug: 126511573
Change-Id: I5c9f40054493a83746bce6124d72412e8eb8a0d1
2019-04-01 15:46:13 +02:00
TreeHugger Robot
05c9f2ff1a Merge "Move systemui preview icons into framework res." 2019-03-29 15:53:36 +00:00
Winson Chung
0a0a49bec4 Merge "Landscape mode for gestural nav" 2019-03-28 17:16:06 +00:00
Amin Shaikh
551ff204e7 Move systemui preview icons into framework res.
This allows ThemePicker to retrieve the base icon set using
Resources#getSystem()#getDrawable. Updated icon overlays and removed
unused resources in the overlays.

Bug: 129427571
Test: make
Change-Id: Ia9b104235a367ba747c7267bf16f68822df9186d
2019-03-28 09:34:29 -04:00
Winson Chung
4723b4e5cc Landscape mode for gestural nav
Bug: 128129398
Test: atest WmTests:DisplayContentTests
Test: atest WmTests:DisplayPolicyTests
Change-Id: I770cf207c08ba0d36de6e3b6ab378e94498a02bd
2019-03-27 10:40:04 -07:00
Hyunyoung Song
fae253c80c Remove ic_empty_recents.xml from launcher icon packs
Bug: 129066717
Test: builds, manually tested

Change-Id: I0aa6d1257d5cc2c98ed6f7785ed433d56740cf84
2019-03-26 14:45:09 -07:00
Winson Chung
77f16b4ce4 Overlaying the nav bar frame dimens
- Also remove the experimental overlay packages

Bug: 127366543
Test: Switch to gestural nav, ensure the nav bar shrinks
Change-Id: Id13b95b2b0fe0db26bfa026602b7fe27a27ac15f
2019-03-24 18:55:43 -07:00
Winson Chung
d9f2fb36ce Add overlays for nav bar interaction mode.
- Add config for nav bar interaction mode
- Add overlay packages for overriding the nav bar interaction mode
- Migrate existing swipe up setting into the resource overlay
  P2 P->Q:
    def/off -> 3 button overlay enabled (from default)
    set on  -> 2 button overlay enabled (from setting)
  P3 (default on):
    def (setting not exposed) -> 2 button overlay enabled (from default)

Bug: 127366543
Test: adb shell cmd overlay dump

Change-Id: I75590f81d9dd6a017776e0a34c295575bfe1bf2a
2019-03-22 11:33:52 -07:00
Hyunyoung Song
6da14676da Create launcher icon pack overlay
Bug: 126738409
Test: builds

$ adb shell cmd overlay enable-exclusive --user 0 com.android.theme.icon_pack.rounded.launcher
$ adb shell cmd overlay enable-exclusive --user 0 com.android.theme.icon_pack.filled.launcher
$ adb shell cmd overlay enable-exclusive --user 0 com.android.theme.icon_pack.circular.launcher

Change-Id: Ic15b6fbf8e4c2d643357e29ec65782daeaaceb52
2019-03-06 10:19:54 -08:00
Matthew Ng
b55c02c9da Added visual affordance/handle for navigation bar
Added the handle that would sit at the bottom where the navigation bar
would be and off by default. Use prototype to make it visible. The bar
will also use color adaptation. Needed to fix null states when the
inflator would swap the normal home/back button layout with the handle.
Added the new 16dp overlay as the visual inset.

Test: manual
Bug: 112934365
Change-Id: I88f3443ad36ceefa8f490d17b4daefbeaab5c60a
2019-02-19 16:42:08 -08:00
Amin Shaikh
7c29a7a78a Refactor frameworks-base-overlays.
Split debug packages out of frameworks-base-overlays. Add this
collection of packages to handheld_product instead of handheld_vendor
since they all have LOCAL_PRODUCT_MODULE set to true.

Bug: N/A
Test: make
Change-Id: I3384e15dac010d1329b4041658a8f4d64100edec
2019-02-06 11:07:13 -05:00
TreeHugger Robot
4110fe603d Merge "Add customization packages to build." 2019-02-06 03:53:49 +00:00
Amin Shaikh
db156f3a4e Add config_bottomDialogCornerRadius.
- Set this value and config_dialogCornerRadius for icon shape overlays.
- Update the corners of the autofill dialog to use this value.
- TODO use this value for sharesheet.

Bug: 123881839
Test: make
Change-Id: I445a7477854756b07bed8cfc34fee49763d2ec8b
2019-02-05 18:42:17 -05:00
Amin Shaikh
0c05cadb3c Add customization packages to build.
TODO: delete these packages from handheld_vendor.mk

Bug: 118757293
Test: make
Change-Id: Ic335044bc6b8df3a0363d886d98ced9d41091a11
2019-02-05 17:20:20 -05:00
Amin Shaikh
d8ed53da54 Add icon pack overlays for Settings homepage icons.
All of these icons are tinted white, just like the ones
they are overlaying. TODO overlay the icons that are not
tinted white (e.g. tinting colorControlNormal) or black.

Bug: 123829919
Test: adb shell cmd overlay enable-exclusive --user 0 com.android.theme.icon_pack.{circular,filled,rounded}.settings
Change-Id: I1189b7b2f152ff2e6523f9156543ffc2ff8c9396
2019-02-04 23:14:54 +00:00
TreeHugger Robot
0fad0d9ce0 Merge "Add SystemUI icon pack overlays." 2019-02-04 16:29:21 +00:00
Amin Shaikh
3b1d5f9d25 Add SystemUI icon pack overlays.
This change includes most QS icon overlays. Also renamed android
targetted icon packs to include Android in the overlay name.

Bug: 118757293
Test: adb shell cmd overlay enable-exclusive --user 0 com.android.theme.icon_pack.{circular,filled,rounded}.systemui
Change-Id: I87d7514c03231408fb0f6815279e9bc1c18b52e9
2019-02-04 10:11:38 -05:00
Bill Yi
817ea304bf Import translations. DO NOT MERGE
Change-Id: Ide3e6ed6300254de66ca459b1012104592ca6db7
Auto-generated-cl: translation import
2019-02-02 11:55:48 -08:00
TreeHugger Robot
4ef1bc9504 Merge "Move font overlay packages to Pixel." 2019-01-31 04:31:57 +00:00
TreeHugger Robot
b7c7d89155 Merge "Reduced down slop and added action for expanding notifications (1/2)" 2019-01-30 00:36:59 +00:00
TreeHugger Robot
c1cebf5d51 Merge "Add FontNotoSerifSourceOverlay to AOSP." 2019-01-29 22:21:30 +00:00
Amin Shaikh
447075ba44 Add FontNotoSerifSourceOverlay to AOSP.
Add serif-bold alias in fonts.xml

Bug: 123570171
Test: make
Change-Id: If591de85bfe5d55776b9b660d034204e0d5877bb
2019-01-29 13:09:21 -05:00
Amin Shaikh
20d5537673 Add icon packs for the 3 icon sets.
Start with only wifi signal icons.

Bug: 118757293
Test: adb shell cmd overlay enable-exclusive --user 0 com.android.theme.icon_pack.{circular,filled,rounded}
Change-Id: I5b39552a059dc42d6c6c4b31db1a86d31275ece1
2019-01-29 11:32:44 -05:00
Amin Shaikh
14808f1f5d Move font overlay packages to Pixel.
Bug: 123570171
Test: make
Change-Id: I0276d6f65709a956f82c28cd084921edd5d669ae
2019-01-29 10:35:24 -05:00
Matthew Ng
f886946acd Reduced down slop and added action for expanding notifications (1/2)
Added an option to select expanding notifications to execute after a
gesture. Exploring swipe down by reducing the touch slope to a smaller
value to execute more. Since it is swiping towards the edge, less events
will be received and typically hard to trigger when swiping other
directions.

Bug: 112934365
Test: manual
Change-Id: I6a854043183d85b43d32633c5fbe88262f473012
2019-01-25 14:42:23 -08:00
Bill Yi
ee16cae5f4 Import translations. DO NOT MERGE
Change-Id: I41c360b74f952d2970eafdb931c522183e26d648
Auto-generated-cl: translation import
2019-01-21 14:09:51 -08:00
Santiago Etchebehere
9915bcb248 Update fonts.xml with user customization fonts.
Reapply the change reverted in ag/5943332 now that
    ag/5979911 fixed the font issue.

Bug: 118756857
Test: make
Change-Id: I1aefbad199e2717b3e5027c37c301b47fefff684
2019-01-09 15:09:35 -08:00
Tor Norbye
3b1b9f7c6d Merge "Revert "Update fonts.xml with user customization fonts."" 2019-01-05 23:48:29 +00:00