Commit Graph

7512 Commits

Author SHA1 Message Date
Lucas Dupin
60661a6dd8 Clock padding and motion adjustments
Fixes: 73830624
Test: manual
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/PropertyAnimatorTest.java
Change-Id: I9b7785cfbc610db9e4b920eef518ab24b97a6bbc
2018-04-20 01:08:21 +08:00
TreeHugger Robot
df173b59f6 Merge "Rely on tile state for on/off a11y announcement." into pi-dev 2018-04-18 23:53:11 +00:00
Amin Shaikh
3468e5a016 Rely on tile state for on/off a11y announcement.
Do not include on/off in QS tile content descriptions.

Change-Id: I10ddeb6c56f99fe4dad3eaaa98a56cafba68be9f
Fixes: 78171152
Test: manual
2018-04-18 12:58:01 -04:00
TreeHugger Robot
03ddb28cda Merge "Color and text changes" into pi-dev 2018-04-18 14:01:01 +00:00
TreeHugger Robot
c859806315 Merge "Redo VolumeDialog with SeekbarListItem" into pi-dev 2018-04-18 13:24:37 +00:00
Julia Reynolds
6013e5cc96 Color and text changes
Change-Id: I2b1837ffd16911be20b5d5f9a7007ff3071265ab
Fixes: 78191129
Fixes: 77810424
Fixes: 78196346
Test: manual inspection
2018-04-18 08:45:12 -04:00
Aarthi Balachander
95ffb4c8ef add changes to make the add user button up to spec
Test: tested on Mojave
Bug: 77869282
Change-Id: I75280675acf314734c9836babb7068a8379bf1c0
2018-04-17 16:13:28 -07:00
TreeHugger Robot
f55385b595 Merge "Use locale text direction in keyguard carrier text" into pi-dev 2018-04-17 21:42:32 +00:00
Evan Laird
aca8c6352b Use locale text direction in keyguard carrier text
Test: visual in RTL
Change-Id: I5209c863e784a2720a338b03aa1ecafe2c9250d6
Fixes: 66995981
2018-04-17 16:22:50 -04:00
Milo Sredkov
d577ae75d3 Merge "Set accessibility action label for smart replies." into pi-dev 2018-04-17 17:18:28 +00:00
TreeHugger Robot
575fc02edf Merge "Refactored the UserRecyclerGridView to use PagedListView from the car support library. This also surfaced a scrollbar. Additionally, added a touch ripple when you touch a user's picture and disabled the user buttons once a profile is selected" into pi-dev 2018-04-17 15:31:08 +00:00
Milo Sredkov
66da07bf81 Set accessibility action label for smart replies.
Currently the TalkBack reads something like "I am here, button,
double-tap to activate". Set an accessiblity delegate that changes
the click action label to "send", so the TalkBack message becomes
"I am here, button, double-tap to send".

Bug: 72216277
Test: In Notify post a notification with choices. Read it via TalkBack.
Change-Id: Ib50f6ff6f698196d905aea2e303b6bd2e5531587
2018-04-17 16:16:15 +01:00
TreeHugger Robot
452e2470e7 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-17 14:35:24 +00:00
Bill Yi
88ff28e3ac Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibc9a21a13715a33e760e42dedd74ce7fad9d9c00
2018-04-17 01:17:05 -07:00
Lin Guo
aea00237c7 Redo VolumeDialog with SeekbarListItem
Bug: 73134851
Test: manual
Change-Id: I08039eb18782f2e04359d1dc500376d1694ff0ac
2018-04-16 23:06:39 -07:00
TreeHugger Robot
84745ebe11 Merge "[QS] Add PageIndicator to footer" into pi-dev 2018-04-17 01:28:06 +00:00
Aarthi Balachander
608b6e3b07 Refactored the UserRecyclerGridView to use PagedListView from the
car support library.  This also surfaced a scrollbar.
Additionally, added a touch ripple when you touch a
user's picture and disabled the user buttons once a profile is
selected

Test: tested on Mojave
bug: 77870748, 77869522, 77870549
Change-Id: I3706f1089c7c91e8db8d9126a269fd984e2b5dc9
2018-04-16 18:25:26 -07:00
TreeHugger Robot
28493adea6 Merge "Allow left-right swiping from edges in QS." into pi-dev 2018-04-16 21:22:55 +00:00
Amin Shaikh
bc1a4e864b Allow left-right swiping from edges in QS.
Apply notification side margins to all children in QSPanel except for
the tile layout. Update TileLayout to respect padding.

Change-Id: Ic6f8f2859d3a130fd4640ae915c9614240fd1c19
Fixes: 78108576
Test: visual
2018-04-16 13:17:41 -04:00
TreeHugger Robot
1caec875ab Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-16 14:22:12 +00:00
Bill Yi
44474059bc Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I458b91bd87cd73ec887a9581ed1d4d2527513bd4
2018-04-16 01:19:56 -07:00
Milo Sredkov
a5bacea405 Address visual inconsistency in smart replies
Address the major style differences and make the smart reply buttons
fit better with the other notification UI elements.

This CL does not yet address all the isues but removes the most
obvious inconsistencies.

Screenshot before: https://screenshot.googleplex.com/90QVvxJmUJ3.png
Screenshot after: https://screenshot.googleplex.com/2C8cMQgTVBG.png

Bug: 73605520
Test: In Notify post a Messaging notification with Large chices

Change-Id: Ide285c21c7bf83e9f06ade6912fd13cb3e4b9024
2018-04-14 19:39:08 +00:00
TreeHugger Robot
04543e7ab3 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-13 17:40:15 +00:00
Rohan Shah
3090e79948 [QS] Add PageIndicator to footer
Allow the footer to provide a new PageIndicator to the QSPanel.
Wrapped the cellular text/info in a LinearLayout such that it
fills the space available and updated params for the action
container depending on what orientation we're in.

Since we're swapping the page indicator, it's important not to
lose num pages/location, so additionally storing & resetting
those values when swapping.

Test: Visually
Change-Id: Iffa8a47601a20d3386abd6f77ed120ece552b726
Fixes: 77152480
2018-04-13 11:34:47 -04:00
Bill Yi
2ed411b406 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1832a5760945374d87d8d01b3289e3b67014da9c
2018-04-13 05:55:12 -07:00
TreeHugger Robot
f2b624c140 Merge "Have UserController use a CarUserSwitchingDialog instead of a UserSwitchingDialog if the FEATURE_AUTOMOTIVE flag is present so Android Auto can customize the look of the dialog." into pi-dev 2018-04-13 00:24:50 +00:00
TreeHugger Robot
79634c7025 Merge "Fix volume panel shadows" into pi-dev 2018-04-12 21:41:24 +00:00
TreeHugger Robot
4a49875718 Merge "Volume iconography update" into pi-dev 2018-04-12 20:29:07 +00:00
TreeHugger Robot
b334c84a97 Merge "Change fingerprint dialog radius to 4dp" into pi-dev 2018-04-12 19:52:39 +00:00
Julia Reynolds
c72d0f605a Fix volume panel shadows
Test: manual
Change-Id: I540ca9e1b0bc8359b562a1279e66a4c8fc05f4a0
Fixes: 77538456
Fixes: 77640244
2018-04-12 19:44:06 +00:00
TreeHugger Robot
ea2e735d5b Merge "Move QuickStep onboarding strings from Launcher to SysUI" into pi-dev 2018-04-12 19:39:39 +00:00
TreeHugger Robot
909086509c Merge "Limit status icons and show etc dots" into pi-dev 2018-04-12 19:33:29 +00:00
Julia Reynolds
9b20717032 Volume iconography update
- Update icon color based on active state
- Make the accessibility icon the same size as the rest

Test: manual
Change-Id: I213bb99b7a45e42d0ac756508a00c554e55d551f
Fixes: 77538644
Fixes: 77540071
2018-04-12 19:04:25 +00:00
Aarthi Balachander
cf6ca0c15e Have UserController use a CarUserSwitchingDialog instead of a
UserSwitchingDialog if the FEATURE_AUTOMOTIVE flag is present
so Android Auto can customize the look of the dialog.

+ minor changes to fix colors and sizes

Test: tested on Mojave
bug: 75023449
Change-Id: Icf8b63acf257505a3e58fa368be0dd57a60960b4
2018-04-12 11:54:15 -07:00
Tracy Zhou
0ad27632ca Move QuickStep onboarding strings from Launcher to SysUI
Test: N/A
Bug: 70180942
Change-Id: Ic3bd63899017f23c011a41a7a5a9e73a87b9eec1
2018-04-12 11:23:17 -07:00
Kevin Chyn
27e564a4af Change fingerprint dialog radius to 4dp
Fixes: 77864901

Test: manual test with AOSP build
Change-Id: Ib61052a45c8de1b684527c54d73cfb45ffe672b5
2018-04-12 11:07:57 -07:00
Evan Laird
20b87bf0ae Limit status icons and show etc dots
When <= 5 status icons exist, try to show them all (space permitting).
If > 5 exist, show 4 and etc dots.

Test: visual
Change-Id: I4c09344bee75b3cab6256dd69f11337b9b667b0f
Fixes: 73778753
Fixes: 77660387
Bug: 77822905
2018-04-12 14:02:33 -04:00
TreeHugger Robot
ef85bbfe4d Merge changes I6358cfe3,I00b20bd7 into pi-dev
* changes:
  Fix status icon tint in QQS.
  Fix QQS side padding for icons and tiles.
2018-04-12 14:55:55 +00:00
Milo Sredkov
85678bfbbd Merge "Allow extra height for the smartreply buttons" into pi-dev 2018-04-12 07:51:54 +00:00
TreeHugger Robot
2e79c79ecd Merge "Allow more flexibility for icon selection" into pi-dev 2018-04-12 03:16:15 +00:00
Amin Shaikh
9cac338ac2 Fix status icon tint in QQS.
- Update the right margin for these icons
- Update the padding for the status bar and QQS status bar to match.

Change-Id: I6358cfe35430d981d813f2cb21a942fa82211d40
Fixes: 77532713
Test: visual
2018-04-11 17:47:19 -04:00
TreeHugger Robot
68e4c45eed Merge "Update the recents onboarding UI to the latest mock." into pi-dev 2018-04-11 21:36:31 +00:00
TreeHugger Robot
497bc2cbe9 Merge "[QS] Update mobile tile secondary text" into pi-dev 2018-04-11 21:29:20 +00:00
Amin Shaikh
ecd986463d Fix QQS side padding for icons and tiles.
Change-Id: I00b20bd705a1bbe3ee619188cee5e6cbd9f43eed
Fixes: 77123524
Test: visual
2018-04-11 16:15:18 -04:00
Brad Stenning
d450ad6d1b Allow more flexibility for icon selection
Bug:77906888
Test: Manual

Change-Id: Ia011760c4b162d7e6eef2fd716ff2e6015caa919
2018-04-11 11:55:43 -07:00
Tracy Zhou
559d97c39c Update the recents onboarding UI to the latest mock.
Screenshot: https://screenshot.googleplex.com/ks6kWo0R2gd

Bug: 70180942
Test: manual test
Change-Id: Iabe6431db59e0539db5a1952cbb07f95ed6fa7ed
2018-04-11 11:22:28 -07:00
Rohan Shah
7bc3744ccd [QS] Update mobile tile secondary text
Since the mobile data string is required for the content description,
adding a new string for the short version and updating the footer impl
and icon setup logic to reference the content description instead.

Test: Manually, via string check in QS
Bug: 77693344
Change-Id: I794500bcd445f98d69c096f6bf2f3b7d147c2780
2018-04-11 12:41:23 -04:00
Milo Sredkov
e7cf498342 Allow extra height for the smartreply buttons
Currently ExpandableNotificationRow assumes that notifications can be
up to @dimen/notification_max_height big and propagates that value to
NotificationContentView. However, when smart reply buttons are present
the content could get bigger than that and cause content to be
truncated in an undesirable way.

Add a smart_reply_button_max_height dimension and add it in addition
to notification_max_height when smart reply buttons are present.

Screenshots:
- before: https://screenshot.googleplex.com/MssT483YPd5.png
- after: https://screenshot.googleplex.com/k5StCMhb74t.png

Bug: 72360319
Bug: 73949609
Test: In Notify post a Messaging notification with Large chices
Change-Id: Ib3e43cff927bb5ca6dd941705cd280dc85f14a08
2018-04-11 16:49:39 +01:00
TreeHugger Robot
782ee5a7e0 Merge "Fix spacing between signal and text on qs footer." into pi-dev 2018-04-11 13:39:47 +00:00
TreeHugger Robot
258c743697 Merge "Shelf alignment and animation fixes" into pi-dev 2018-04-11 02:01:27 +00:00