Commit Graph

20 Commits

Author SHA1 Message Date
Lucas Dupin
914b708645 Tint keyguard icons
Test: visual
Change-Id: I7915c4ad1cd4bcb852a7bdd68e9f57fda7f985c6
Fixes: 71599427
2018-03-03 14:05:04 -08:00
Alan Viverette
7626e4776f Merge "Revert "Revert "Follow prebuilt/API update""" 2018-03-02 15:08:14 +00:00
TreeHugger Robot
daa44c28d6 Merge "Show next alarm on ambient display" 2018-02-28 00:19:29 +00:00
Lucas Dupin
1f7374a276 Show next alarm on ambient display
Next alarm will be visible 12h before triggering.

Test: Set alarm that will ring in 8h
Test: Set alarm that will ring in 14h
Test: Set alarm that will ring in 11:59, wait one minute
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Change-Id: Icd4253771efcdf5afb4e9e52329fa410d7fd1cc1
2018-02-27 14:35:44 -08:00
Alan Viverette
8593528e45 Revert "Revert "Follow prebuilt/API update""
This reverts commit e8f917cae7.

Bug: 73250914
Test: make && make cts, manual testing
2018-02-27 22:12:00 +00:00
Alan Viverette
f3f5c320f1 Merge "Revert "Follow prebuilt/API update"" 2018-02-27 22:08:31 +00:00
Alan Viverette
e8f917cae7 Revert "Follow prebuilt/API update"
This reverts commit 8aca4f0063.

Reason for revert: Required for prebuilt revert

Bug: 73903252
Bug: 73876473
Bug: 73875529
Bug: 73866916
Change-Id: I9be2f47458bfba97bacf34372752328c47a5ff9f
2018-02-27 22:07:22 +00:00
Lucas Dupin
bfb36c3f20 Merge "Ensure keyguard slice use correct colors" 2018-02-23 17:21:27 +00:00
Lucas Dupin
f8e274c422 Ensure keyguard slice use correct colors
Change-Id: I0406f8092583174e60ee5c89a71047288cbe480a
Fixes: 73538050
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java
2018-02-22 17:03:20 -08:00
Jason Monk
8aca4f0063 Follow prebuilt/API update
Test: make
Change-Id: Ie93a29118d1a767174c0364764de61558b274ef5
2018-02-22 16:32:16 -05:00
Lucas Dupin
b16d823650 Keyguard slice font and separator
Removed white separator between text fields, fixed
style attribution.

Change-Id: Ic66b65bfd62fd8c701fea68aaad4f2387999b92a
Fixes: 71769640
Test: visual
2018-01-26 12:44:52 -08:00
Mady Mellor
90e9fce959 Update Keyguard to use RowContent / ListContent instead of SliceQuery where possible
Test: manual
Bug: 71707404
Change-Id: I7e485b721c1413acfd991e9ca2cce2101edbc471
2018-01-24 14:06:14 -08:00
Lucas Dupin
a6c9e34b4d Shorter separator
Shorter separator on keyguard slice

Test: visual
Bug: 64155983
Change-Id: I86b56fec780b531c9c3064e7147e59add6b9e4a3
2018-01-22 22:00:21 -08:00
Lucas Dupin
a2a7a40cfc Fix issue where SmartSpace color could be wrong in AOD
Test: visual
Fixes: 71599239
Change-Id: I5f4b8af78ae2034f4f8ebfbc42ffea5694c6a425
2018-01-16 21:10:03 +00:00
Lucas Dupin
2a3c3e3219 Keyguard slice layout fixes
Fixes a series of line break and text layout issues.
Now we have proper text length limit and ellipsize it
correctly.

Change-Id: Idf915b56ee6ee923ce4f1cc21a0c57ff5d0a99ca
Fixes: 71634498
Fixes: 71599239
Fixes: 71476950
Fixes: 71576197
Test: Visual
2018-01-08 10:57:57 -08:00
Lucas Dupin
83da1a1b09 Always bind slice on background
Doing on the main thread will increase jank
when unlocking or waking up.

Fixes: 71543966
Test: runtest systemui-jank -c android.platform.systemui.tests.jank.SystemUiJankTests -m testAmbientWakeUp
Change-Id: I3b534425c85609a132d33905de18dbc36fd37f0d
2018-01-04 11:11:32 -08:00
Lucas Dupin
6bd8601e9f New keyguard slice data structure
Using androidx package and new API, also splitting content into
multiple views for better animation support.

Bug: 64155983
Test: visual, see data from provider propagate to AoD
Change-Id: I74b5511d582e7ec1f6ffe5dbc5595f54b9ccb202
2018-01-02 14:19:24 -08:00
Jason Monk
d054fb36c7 Convert Slice type to string and add optional sub-type
The type will control the serialization that the platform uses to
get the object from one place to another. The sub-type optionally
will specify a specific interpretation of this object.

Test: cts
Bug: 68378558
Change-Id: I78f41f6e5b6c91c510e4f968c32d96e9030d0e8a
2017-11-20 16:40:19 -05:00
Jason Monk
2af1998e59 Add SliceSpec to Slice API
SliceSpec will be used to handshake versions between Slice renderers
and Slice providers. The renderer will pass in info about supported
specs, and expect that the returned slice will be compatible.

Test: manual
Bug: 68378561
Change-Id: Id094ec3b6f682a3d84a2b992e1a8274212778970
2017-11-20 16:40:19 -05:00
Lucas Dupin
957e50ccdf Custom message in AoD
Optional message that lives under the clock and also
in AoD. Implemented using a slice.

Test: launch sysui, look at the date in AoD
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Change-Id: I9dbc827bd48c6a3d1b25b0a481ffaecc0dd37f25
2017-11-02 18:03:40 -07:00