Commit Graph

2284 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
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
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
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
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
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
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
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
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
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
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
Lucas Dupin
b561eda050 Shelf alignment and animation fixes
- Translate shelf after collapsing notification panel
- Fix issue where icon y translation would be off in AOD

Change-Id: Ibae5e7cd4cb989514a96d5edfd761b0c0201de03
Fixes: 77540062
Fixes: 77541059
Test: visual
2018-04-10 16:01:42 -07:00
Amin Shaikh
06c2e8f245 Fix spacing between signal and text on qs footer.
Also ensure signal icon and text are vertically centered in the footer.

Change-Id: I831ad17db1510ae5cb846ce7bc2458208b45f942
Fixes: 77810797
Test: visual
2018-04-10 13:59:14 -04:00
TreeHugger Robot
f6fb0fc0f3 Merge "Update mobile data QS tile subtext." into pi-dev 2018-04-10 17:15:29 +00:00
Amin Shaikh
e97cb81c91 Update mobile data QS tile subtext.
Display 1X, H, and H+ as mobile data subtext when their respective
mobile signal icons are displayed in the status bar.

Change-Id: I6b34700f6935d0f676d251459e405b629f68213f
Fixes: 77597792
Test: visual
2018-04-10 11:44:36 -04:00
Jian Jin
44e4d82d2e Add Cancel button in Car Keyguard
Change-Id: I0c44f3583fe1dadade1e1b01229571ab7eb29643
Fixes: 74964857
Test:  Manually tested on Mojave
2018-04-09 17:26:32 -07:00
TreeHugger Robot
fd76ec539e Merge "UI modifications for user picker Test: tested on Mojave bug: 75023449" into pi-dev 2018-04-07 00:40:28 +00:00
Aarthi Balachander
d8bf249a5d UI modifications for user picker
Test: tested on Mojave
bug: 75023449

Change-Id: Ia991ca9ed9424d0008ca2328f28c0900e8d5653a
2018-04-06 19:39:54 +00:00
Brad Stenning
2d72674175 Fix support for rendering status icons
Bug: 77698170

Test: Manual on big dog
Change-Id: Ibabc56408cfa8cbd48baac40ada63c976631170b
2018-04-06 10:35:03 -07:00
Kevin Chyn
7c97601a43 Merge "Fix fingerprint dialog icon color" into pi-dev 2018-04-04 01:21:13 +00:00
Kevin Chyn
178ace506b Fix fingerprint dialog icon color
The Keyguard resource has 50% opacity on the "ridges" assets but 100% on
the "error" assets, making it very difficult to fix/animate correctly in
both Keyguard and FingerprintDialogView. This change decouples the
FingerprintDialogView from the Keyguard resource.

Fixes: 75290621

Test: manual test with FingerprintDialog APK
      visually inspect colors/animations

Change-Id: Ie04c706e24e129f01b6ddb500c689f108c41ae3e
2018-04-03 16:53:19 -07:00
TreeHugger Robot
47721fa59d Merge "Avoids vibration over deadzone in navigationbar" into pi-dev 2018-04-03 19:09:22 +00:00
TreeHugger Robot
bb5b42eee7 Merge "Fix strings for QS header status." into pi-dev 2018-04-03 14:27:32 +00:00
Matthew Ng
603b3298ff Avoids vibration over deadzone in navigationbar
Removed the deadzone as a view and converted to a class that is attached
to NavigationBarView to determine if the incoming touch events should be
consumed by the deadzone.

Change-Id: I5bf6a9e48ba9fa2305ec98acfc537d14cb8cf725
Fixes: 77235132
Test: tap just above the home button in portrait
2018-04-02 11:48:21 -07:00
TreeHugger Robot
6a8ea4fe24 Merge "Update QS edit layout." into pi-dev 2018-03-30 21:00:06 +00:00
Amin Shaikh
e4d25a955f Fix strings for QS header status.
Rearrange alarm/mute text to maintain the same ordering as the status
bar. Update mute/vibrate strings to make it clear that the status
corresponds to the phone volume.

Change-Id: I66f35f681e15a91e6238aeaaa086856872d3876a
Fixes: 76208830
Test: visual
2018-03-30 15:56:50 -04:00
Amin Shaikh
9a6fa0868d Update QS edit layout.
- Update TileLayout to lay out tiles rows in a similar fashion to
LinearLayout.
- Update edit screen layout to show rounded corners, margins, and
ensure that QS tiles line up with the tiles in QS.
- Show QS status bar header above the edit screen.

Change-Id: I6c8d644787bf1875ad0d7ad056e9909dc4919ce4
Fixes: 36076720
Test: visual
2018-03-30 15:08:02 -04:00
Rohan Shah
2d2f598d69 Merge "[QS] Override/add long click accessibility action" into pi-dev 2018-03-30 15:45:53 +00:00
TreeHugger Robot
1fe1ef0d6e Merge "Allow for the different nav bars before the device is provisioned Split window creation from content creation so I could remove and add new content once the provisioned state changed." into pi-dev 2018-03-30 14:38:34 +00:00
Rohan Shah
185f661663 [QS] Override/add long click accessibility action
Overrides the long click action for QS tiles. Tiles are always
long-clickable so this can always be present as an action for that node.

Test: Via talkback selection + node printing/debug
Bug: 72408442
Change-Id: Idacf79cd4a91e6091c6f9f0a8fa24a286cd3a262
2018-03-29 17:54:01 -07:00
Julia Reynolds
ac55e01e1c Volume UI updates
- Reorder streams
- constrain ripples
- Show an introductory ripple on the ringer toggle
- Add sound/vibration feedback for the ringer toggle
- resize some elements

Test: manual
Bug: 76438403
Fixes: 73892482
Change-Id: I92dd6f5681f1822ae493a5a2b218b15970293e80
2018-03-29 16:42:28 -04:00