Commit Graph

2906 Commits

Author SHA1 Message Date
Kevin Chyn
7d1e932996 Update BiometricPrompt colors
Bug: 128845381
Bug: 129015520
Bug: 127358147
Bug: 131301243

Test: Colors are seen

Change-Id: Ie7d03f470e72fdaca804f52e98ea51ffd03bc36f
2019-05-08 01:18:28 +00:00
Ned Burns
31b02a613f Merge changes from topic "gentle-header" into qt-dev
* changes:
  Add "clear all" button to gentle notif section header
  Add "Gentle Notifications" header to gentle section
2019-05-07 21:13:31 +00:00
TreeHugger Robot
2d1d3248fd Merge "a11y local actions - fling bubble stack to corners" into qt-dev 2019-05-06 23:46:37 +00:00
Lyn Han
e68d091ae1 a11y local actions - fling bubble stack to corners
Test: manual
Bug: 123541035

Change-Id: I6ac547fd6d3c60a4b93ecac2d6e610a416fcec18
2019-05-06 13:09:50 -07:00
Ned Burns
9eb06333c4 Add "Gentle Notifications" header to gentle section
Missing "clear all" support, will add in later CL.

Test: manual

Bug: 131358199
Change-Id: I18aaacb1bf3f173b151bcac8df9dd953d0a7f513
2019-05-06 14:52:07 -04:00
Tracy Zhou
b617827fe6 Merge "Move rotation button closer to the edge of the screen." into qt-dev 2019-05-06 18:28:28 +00:00
TreeHugger Robot
2d9b3f3a4b Merge "Show cast record icon in the status bar" into qt-dev 2019-05-06 17:49:30 +00:00
TreeHugger Robot
0452dcf0b4 Merge "Update icon packs." into qt-dev 2019-05-06 17:47:51 +00:00
TreeHugger Robot
43eb5305cb Merge "Update SignalDrawable." into qt-dev 2019-05-06 17:47:51 +00:00
Amin Shaikh
6c328ac58c Show cast record icon in the status bar
- Add CastDrawable that wraps ic_cast and draws the red record fill
- Add ic_cast_connected_fill that only contains the fill of the cast icon
- Updated all icon packs to include fill icon on the right ic_cast size

Fixes: 127479204
Test: visual; sysui demo mode
Change-Id: Idaed25ad0a5646af4be4170ee76938a4d40aaf3e
2019-05-06 10:26:15 -04:00
Mady Mellor
5369355785 Merge "Remove bubble permission view" into qt-dev 2019-05-03 23:18:10 +00:00
Kevin Chyn
ef87679897 Merge "Update BiometricPrompt icons" into qt-dev 2019-05-03 22:03:18 +00:00
Lyn Han
6914912842 Remove bubble permission view
Bug: 131630936
Test: manual
Change-Id: I4023b3a32770fe42d67dd907d6c7a570d41583ee
2019-05-03 14:49:17 -07:00
TreeHugger Robot
03236b2e54 Merge "Consider lock icon when determining minimum top padding." into qt-dev 2019-05-03 19:52:47 +00:00
Kevin Chyn
3b53d6febf Update BiometricPrompt icons
Adds pulsing animation for face dialog. Pulsing starts when the dialog
is done animating in.

Bug: 130191600

Test: manual
Test: no change to fingerprint

Change-Id: Icb3a78e32f8f78b0def063a4b48d6266c653375e
2019-05-03 11:33:27 -07:00
Amin Shaikh
b7b4c25cad Update icon packs.
- Add back arrow for QS customizer
- Update work profile status bar / QS / corp badge icon to GM2
- Add Settings and Launcher overlay icons

Bug: 131346125
Test: visual
Change-Id: I61b56b04993ef19b5e66c9ad3d78eddcfce3aeb1
2019-05-03 14:29:54 -04:00
Amin Shaikh
0ad7e51a49 Update SignalDrawable.
- Change SignalDrawable to render an SVG for the entire signal icon and
only draw by hand the X and the carrier change animation
- Changed carrier change animation to display a single dot at a time
instead of cutting out the entire row
- Removed unneeded methods due to single tone mobile signal icon
- Remove unused airplane mode state
- Remove unused CellTileView
- Add demo mode command inflate to inflate signal strengths
- Add GM2 cell signal drawables to the framework for 0-4 and 0-5 bars

TODO: should empty state be the same as 0 bar state?

Bug: 124107387
Test: visual
Change-Id: Ib5a0c3d89d35c1e21efb67e526c508aab100f2a0
2019-05-03 10:12:25 -04:00
Robert Snoeberger
69969c28bc Consider lock icon when determining minimum top padding.
Otherwise, the clock will be able to overlap with the lock icon in some
situations. A side effect of this change is that only 2 notifications
will be displayed when the now playing indication is present.

Fixes: 131311937
Test: manual - need three visible notifs + now playing indication
Change-Id: Ieffa97bc20a45fb82fb258deca7c1f289b0ce003
2019-05-03 09:34:45 -04:00
Julia Reynolds
3fd1b4949b Colors updates for guts
For a11y and night mode and night mode a11y

Fixes: 129507563
Test: manual
Change-Id: I0b472db88feddb6f92aa265524e84afbe30c824b
2019-05-03 13:32:04 +00:00
Tracy Zhou
9564138ad8 Move rotation button closer to the edge of the screen.
Will take care of ripple color in the next change. Right now the ripple is more on the subtle side and doesn't show when the background is dark.

Test: manual
Bug: 131706959
Change-Id: Ie8a9943f17323a8ae9f6f25d69f022091196e451
2019-05-03 03:56:14 +00:00
Selim Cinek
70c8685a94 Merge "Fixed that clicking on the remoteinput didn't work from AOD" into qt-dev 2019-05-02 23:08:58 +00:00
Selim Cinek
f7d88932e2 Fixed that clicking on the remoteinput didn't work from AOD
Because we are freeing the AOD view, the view was not attached
to the window anymore and therefore we would not trigger the
remote input. Additionally if the expanded view was already showing
on AOD, we also wouldn't wait on it to become visible, also leading
to an issue where the user couldn't reply.
This also fixes an issue where the notificaiton would be invisible
if it was replied to in a group.

Fixes: 118365629
Fixes: 110072505
Change-Id: Ied33ed19eacc115006f5457f427acd4fefe0494b
2019-05-02 13:41:53 -07:00
TreeHugger Robot
2c09b3be23 Merge "Add icon packs for themepicker." into qt-dev 2019-05-02 18:52:25 +00:00
TreeHugger Robot
37503a0637 Merge "Replace bubble settings icon with "manage" text" into qt-dev 2019-05-01 23:36:21 +00:00
Lyn Han
754e77b726 Replace bubble settings icon with "manage" text
Bug: 130346513
Test: manual
Change-Id: I01e5dbd79976bf58a037258952bbdd3550e2251f
2019-05-01 12:24:04 -07:00
TreeHugger Robot
69ca6f531e Merge "Another guts redesign" into qt-dev 2019-04-30 23:22:53 +00:00
TreeHugger Robot
ae05e55db5 Merge "Change margin to padding in quick_qs_status_icons" into qt-dev 2019-04-30 22:15:34 +00:00
Julia Reynolds
4d1dd798bc Another guts redesign
Test: atest
Bug: 131290247
Fixes: 131441935
Fixes: 131621405

Change-Id: I5a6840f3f2a5a241facaeab8cf9b19f41606d8ed
2019-04-30 12:09:29 -04:00
Tracy Zhou
efc346677b Add rotate suggestion button to gestural nav.
Fixes: 128942468
Test: 1. In fully gestural mode, rotation/back button is moved to the
bottom left corner and keyboard button is moved to the bottom right.
When the keyboard is up, rotation button does not show. The rotation
button in this setting has an oval background that matches the home
handle color.
2. In 2-button and 3-button mode, the rotation button stays the same.
Screenshot: https://screenshot.googleplex.com/or2GbOzmZTX

Change-Id: I32f2f11d33bf6881a67770679db2118917d2123b
2019-04-30 02:10:45 +00:00
Winson Chung
975eea7e98 Merge "Update sysui for screen pinning with gestural nav" into qt-dev 2019-04-30 02:10:25 +00: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
Josh Tsuji
ebc8747546 Merge "Adjust the flyout sizing and appearance to match the design spec." into qt-dev 2019-04-29 17:40:24 +00:00
TreeHugger Robot
a87fd73922 Merge "Remove custom theme added for tooltip in captions toggle first run show. windowIsFloating is necessary to stop drawing system bar backgrounds on certain devices." into qt-dev 2019-04-28 20:10:49 +00:00
Selim Cinek
8783e44c9f Merge changes from topic "back_redesign" into qt-dev
* changes:
  Rewrote the back arrow animation
  Made back button sample the color and background protect it that way
  Minor adjustments to the edge back gesture
2019-04-26 22:03:00 +00:00
Joshua Tsuji
36b1b2ce5d Adjust the flyout sizing and appearance to match the design spec.
Test: atest SystemUITests
Bug: 130234901
Change-Id: Ib7cb6ef58d27f7d296b2dd22a41749c5f3bfe67b
2019-04-26 16:02:00 -04:00
Fabian Kozynski
cf1747ba2f Change margin to padding in quick_qs_status_icons
By changing this, the tap target is effectively larger without any extra
whitespace. This makes it easier to focus during Talkback

Test: talkback, portrait and landscape
Fixes: 131268242
Change-Id: I37ec589971e591506b8ec1d594d5656f5ba1aacd
2019-04-26 10:08:46 -04:00
Winson Chung
4d30e9ede9 Update sysui for screen pinning with gestural nav
- Add call to stop screen pinning
- Modify layout/description to reflect new gesture

Bug: 130828539
Test: Manual
Change-Id: I970a2dc7273170a735cf019f5c5ff6c1c3c269c0
2019-04-25 23:18:40 -07:00
Selim Cinek
94bfbab816 Rewrote the back arrow animation
The animation now is based on physics based animations
and nicely appears and disappears. Also we're rending
it in one piece avoiding drawing artifacts.

We're now factoring in the actual position and size of the
arrow instead of just looking at its width.

Bug: 130682266
Test: observe back animations, play around with it
Change-Id: I8fc4475615d0776a082feec7400b4674ea0331a2
2019-04-25 19:01:21 -07:00
Selim Cinek
09f17b7988 Minor adjustments to the edge back gesture
The arrow now comes out a bit above the finger
instead of right on it. This is also a preparation
for a larger back arrow redesign

Bug: 130682266
Test: atest SystemUITests
Change-Id: I58c80fc939934b185929f9b0245999ec0902d652
2019-04-25 16:54:58 -07:00
Fabian Kozynski
6ee42f473c Merge "Fix colors in QS Header" into qt-dev 2019-04-25 20:53:44 +00:00
Anthony Tripaldi
477d097f79 Remove custom theme added for tooltip in captions toggle first run show.
windowIsFloating is necessary to stop drawing system bar backgrounds on
certain devices.

Bug: 130786771
Test: manual
Change-Id: Ic095d72d5dbfad1631b46e75775b14c7a36121b6
2019-04-25 11:03:32 -04:00
Fabian Kozynski
f86df994fa Fix colors in QS Header
Fixes icon and text colors in QS Header to be darker in Light mode.
Also, makes sure that all colors in the icons match.

Does this by implementing the following:
* A new theme that overrides darkIconTheme in Theme.SystemUI by one with
darker colors.
* QuickStatusBarHeader applies that theme and passes is onto its
children, in particular StatusIconContainer/StatusBarMobileView
and BatteryMeterView.
* StatusBarMobileView and BatteryMeterView retrieve the colors from the
theme and apply them accordingly.
* Also applies to QSCarrierGroup
* Additionally, the single color is used for the other icons.

Also invalidates SignalDrawable after setColors is called if at least
one of the colors changed. This is a real issue.

For more info:
* Text and icons set to 70% black on light mode, white in dark mode.
* Dual tone set for background overlaid with fill match single tone.

Test: visual
Fixes: 124466915

Change-Id: Ia6cb28fca90a07c8936726334502e7accf534df6
2019-04-25 14:04:07 +00:00
Julia Reynolds
154862c985 Merge "Update appearance of proxied notifications in guts" into qt-dev 2019-04-24 23:27:36 +00:00
TreeHugger Robot
77a9a1c74a Merge "Remove config specific size for HeaderTileLayout" into qt-dev 2019-04-24 18:48:23 +00:00
Julia Reynolds
25b27f521e Update appearance of proxied notifications in guts
Test: manual
Fixes: 131174114
Change-Id: I8725d34e7f2e43c17a1d16fba8ecbe20a0a3d3c9
2019-04-24 14:33:44 -04:00
Fabian Kozynski
7a4e3312fd Remove config specific size for HeaderTileLayout
HeaderTileLayout width should always be MATCH_PARENT. The width is
controlled at the QSContainerImpl level by making it the width of
notification panel and it's MATCH_PARENT all the way down.

Test: visual, using emulator on really high density screen and phone
Fixes: 128776927
Change-Id: I3d5dc679cb77fb50ccadd6c3cb86a022e5f02f70
2019-04-24 11:33:00 -04:00
Julia Reynolds
8728d00ead Notification guts redesign
Test: atest
Fixes: 130766408
Fixes: 129453207
Bug: 127992400
Fixes: 129507783
Fixes: 130342795
Fixes: 130805969

Change-Id: I93984698c5380badb162774c818a1d040ccf9c1c
2019-04-23 14:29:41 -04:00
TreeHugger Robot
fa7a24ef8e Merge "Add content description to sensors off icon in status bar" into qt-dev 2019-04-23 17:56:46 +00:00
TreeHugger Robot
8daf5927ff Merge "Block clicks on smart actions and replies just after creation/update." into qt-dev 2019-04-20 22:15:21 +00:00
Michael Groover
1ddabcc157 Add content description to sensors off icon in status bar
Bug: 130209047
Test: Enable Talkback and sensors off, verify sensors off icon
      in status bar is focusable.

Change-Id: I50332596890564be4b1948069fd83e20ba2969f6
2019-04-19 18:41:43 -07:00