10 Commits

Author SHA1 Message Date
Mehdi Alizadeh
e421703a09 Adds 3 new GesturalOverlay packages for different back insets
Bug: 131447780
Test: It builds
Change-Id: I8eeb87004d3f958c1225c4b982bed6fce9816e74
2019-05-24 18:29:49 -07:00
Amin Shaikh
0974b88769 Add icon packs for themepicker.
- Add 3 icon packs targetting the themepicker package
- Add support in systemui to enable packages in that category

Fixes: 130788873
Test: make; switch themes
Change-Id: I414c882410fc92c6320785ddf858bdf95f37053e
2019-04-29 15:11:39 -04: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
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
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
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