Commit Graph

7071 Commits

Author SHA1 Message Date
Mike Digman
67f1fc0308 Merge "Make rotate QS tile function as on/off to match circle styling" 2018-01-18 18:39:42 +00:00
Rohan Shah
1e9044f1be Merge "Move the signal traffic indicators out of the QS icon circle bounds" 2018-01-18 18:05:01 +00:00
Bill Yi
908b52840c Import translations. DO NOT MERGE
Change-Id: I8457b08b667801127c2bb943639a4ea2ff86de05
Auto-generated-cl: translation import
2018-01-17 23:19:59 -08:00
Rohan Shah
28191fc42c Move the signal traffic indicators out of the QS icon circle bounds
Disables clip to padding/clip children to get the indicators outside of
the circle bounds.

Test: Visual
Bug:70798861
Change-Id: Ib2c13f3bd8b3b7dd7d65918afa3eebd75287fdcb
2018-01-17 14:25:40 -08:00
Mike Digman
b2c45eea21 Make rotate QS tile function as on/off to match circle styling
Remove unneeded assets and update a11y strings to match the new 
QS behavior

Test: visual, manual
2018-01-17 10:25:06 -08:00
Julia Reynolds
d8b49d3908 Merge "Volume dialog redesign" 2018-01-17 18:14:58 +00:00
TreeHugger Robot
52c3685613 Merge "Temporary affordance for blocking helper" 2018-01-17 17:22:31 +00:00
Petr Cermak
ed7429c529 Implement SmartReplyView
SmartReplyView creates and manages smart reply buttons in a
notification.

One-pager:  http://go/1p-smart-reply
PRD:        http://go/srn-prd
Mocks:      http://go/p-notifications
Design doc: http://go/srn-design

Screenshot: https://screenshot.googleplex.com/GT9NGckkFKB.png

Bug: 67765414
Test: Viewed a notification with mock smart replies
Change-Id: I6d90776571a559a2542aa35fa11e6a21969179c0
2018-01-17 14:22:47 +00:00
Julia Reynolds
0a22856a2a Volume dialog redesign
Bug: 63096355
Test: manual, change volume with buttons and by touching the slider in
each orientation
Change-Id: I949425ca09c98f8826da5e29a2a479a74acdcf34
2018-01-17 09:09:10 -05:00
Lucas Dupin
4272f44f3f Add battery to AOD
Showing battery percentage in AOD in the keyguard
indication area when also randomizing the text field
position to avoid burn-in.

Removed charging indication from KeyguardStatusView
since now it's always visible in the indication area.

Bug: 64155983
Test: flash taimen, look at AOD
Test: flash walleye, look at AOD
Test: unplug device, look at message
Test: wait for change in battery level in AOD
Change-Id: I6110d47d155e95e838cb901ab0928f0512454ab5
2018-01-17 01:21:11 +00:00
Jason Monk
8a514cb414 Make QS rounding match notifications
Test: visual
Bug: 70799006
Change-Id: Iae9bba222e7d34c520df2b673e6d346a44ebcc0e
2018-01-16 22:05:17 +00:00
TreeHugger Robot
aea5cfe8c3 Merge "Beginning implementation of quickscrub (1/3)" 2018-01-16 21:59:43 +00:00
Lucas Dupin
334f954714 New Face Match icon
Change-Id: Iac256cdd7b4a5f9f7f04365400381f892933eff4
Fixes: 72046152
Test: visual, unlock using Face Match
2018-01-16 11:24:46 -08:00
Salvador Martinez
6644e252cd Merge "Refactor code to support overridden low battery warning" 2018-01-16 16:29:33 +00:00
Dan Sandler
1d958f8c35 Temporary affordance for blocking helper
When a notification is flagged by NoMan as USER_SENTIMENT_NEGATIVE (odd,
since this is actually the system's sentiment), a small  icon will
appear that directs you to the notification settings.

Eventually the icon will be removed, and the settings (reworded to
explain that you seem not to like this kind of notification) will be
left behind in the shade.

Bug: 63095540
Test: runtest systemui
Change-Id: I8b815cd035e9730bbbf1d4a1be17db9d494111ed
2018-01-13 15:34:57 +00:00
Alison Cichowlas
a2cd19e3d1 Screenshot global actions item.
Refactor TakeScreenshot code out of PhoneWindowManager;
add power menu item for Screenshot.

Test: runtest systemui

Change-Id: Ie8602386cd59f8fd991369d2117f7c4d76f65e41
2018-01-12 17:30:41 -05:00
Matthew Ng
a8f2426df6 Beginning implementation of quickscrub (1/3)
When enabled via launcher, the home button is able to be be pulled to
the right side to send events to launcher via binder calls of when the
quick scrub operation starts, ends and progress changes between each
interval. Launcher will use this information to determine how the
recents apps are laid out with vibration feedback.

When the home button is pulled and released under 150ms, quick switch
will occur. A binder call will tell launcher to switch to the previous
app used.

While quick scrub or switch is active, launcher will not get any nav
bar motion events, only events for quick scrub and switch.

Bug: 67957962
Bug: 70180755
Test: enable new experience via launcher settings
Change-Id: I344f5d67f259ff454205ea4d2e95140f783d3b5c
2018-01-12 12:24:03 -08:00
Mike Digman
d9ca4189c1 Merge "Add rotate suggestion button by default to left side of navbar" 2018-01-11 22:44:41 +00:00
Mike Digman
7d09277f99 Add rotate suggestion button by default to left side of navbar
Icons, animations are preliminary
Test: manual

Change-Id: If8a6942c1e78f6cfb5aae6d78e6acfa2b0bb6566
2018-01-11 12:10:32 -08:00
Salvador Martinez
f9e4750af7 Refactor code to support overridden low battery warning
This adds support for enabling the hybrid notification using data
from Device Health Services.

Test: SystemUITests
Bug: 27567513
Change-Id: I5fae3d85f2d4956210bb067ff7c8b14146c8c89c
2018-01-11 09:14:56 -08:00
TreeHugger Robot
2fccc244ed Merge "Import translations. DO NOT MERGE" 2018-01-11 08:43:18 +00:00
TreeHugger Robot
e6050a4a0f Merge changes from topic "messaging_people"
* changes:
  Clipping to the top roundness when scrolling
  Made the notification side paddings consistent
  Changing messaging style and overall visual adoption
  Improved the MessagingStyle API with Person
  Added People to the Notification API
2018-01-11 03:07:09 +00:00
Bill Yi
7a93af6c89 Import translations. DO NOT MERGE
Change-Id: I8582d5451340ebcfcee3abca079ed01d07f3a4cf
Auto-generated-cl: translation import
2018-01-10 17:39:49 -08:00
Selim Cinek
b95fd18561 Made the notification side paddings consistent
The rounding and paddings are now consistent
throughout the shade. Before the notifications
were only rounded on the top, but the design
didn't work perfectly in all situations.

Bug: 69168591
Test: add notifications, observe consistent paddings
Change-Id: Idc60cb7d448193c65f77bafebb2d110809ecb725
2018-01-10 20:14:38 +00:00
Selim Cinek
afeed29bdc Changing messaging style and overall visual adoption
The messaging style is changed to a bubble-less design.
In addition are we also updating a few spacings in
order for it to look nicer / more balanced.

Test: manual
Change-Id: I43326bd8a23cd1f1d5964d2d6740fde99d29c7e4
2018-01-10 20:14:03 +00:00
Julia Reynolds
437cdb1464 Inline noti blocking is now in the form of a question
And has an 'undo' flow that matches snoozing.

Test: runtest systemui
Bug: 63927402
Change-Id: Idc17b8d950bc3da7ec9fe035dc8a65146d12c456
2018-01-10 12:56:57 -05:00
TreeHugger Robot
3ce996f288 Merge "Parameter to hide bottom affordances" 2018-01-08 07:33:19 +00:00
TreeHugger Robot
96e622cd82 Merge "Add config flag to enable/disable nav bar auto dim" 2018-01-05 22:40:46 +00:00
Lucas Dupin
f78c540cb1 Parameter to hide bottom affordances
Created configurable xml parameter to hide the mic/phone
affordance at the bottom of the lock screen, fixed minor
animation issue where circle would still expand if affordance
isn't visible and set default visibility to false.

Test: Double tap to open camera from AoD, lock screen and launcher
Test: visual, set config, look at lock screen
Bug: 64155983
Change-Id: If5cd2c2c369578480c0ad4e8a98970bcfabd5f3e
2018-01-05 21:08:42 +00:00
TreeHugger Robot
8abf129f1f Merge "Removing PIP notification for menu action" 2018-01-02 23:51:38 +00:00
Matthew Ng
3107d99e54 Add config flag to enable/disable nav bar auto dim
Added a configuration flag to enable whether to auto dim the navigation
bar when wallpaper changes to be invisible such as launching an opaque
app.

OLED devices should have this flag on to prevent/reduce burn and off for
everything else to avoid extra cpu cycles rendering an alpha animation.
By default this is on.

Test: manual
Change-Id: I57ab2a6414b5f6c34e11911346ad4c4d3aac33d0
Fixes: 68812918
(cherry picked from commit 4096e8d028da778f0afbda7df92d6de741650629)
2017-12-22 21:56:41 +00:00
TreeHugger Robot
54a7017827 Merge "Move clock to the left, carrier text to the bottom" 2017-12-21 16:09:21 +00:00
Evan Laird
2cf5682a60 Move clock to the left, carrier text to the bottom
This change moves the clock to the left of status bar and QS screen.
Also removes the date/alarm clock group at the bottom of QS and replaces
it with carrier text.

Test: visual
Bug: 63772836
Bug: 70799093
Change-Id: I7d0a30c126c52745237c647a4af5af46d8418f30
2017-12-21 14:44:02 +00:00
Winson Chung
a556fe6a35 Removing PIP notification for menu action
Bug: 65482444
Test: Launch PiP, tap to show menu, tap settings to go to settings
Change-Id: I204e18ffa0b63acbfef899bda91f5da9daf9f0a5
2017-12-19 15:09:54 -08:00
Julia Reynolds
dd2b96ba0e Add media routing to output chooser
Test: manual
Bug: 63096355
Change-Id: I8dab6f0d46fe786bd408b4b86f109a98fe0feee8
2017-12-19 11:30:33 -05:00
Bill Yi
66f5f8dda0 Import translations. DO NOT MERGE
Change-Id: If9842d6d8f20245c2e29ec0827e859135d2e8916
Auto-generated-cl: translation import
2017-12-18 18:10:17 -08:00
TreeHugger Robot
b4183a0e80 Merge "Add an output chooser dialog to volume panel" 2017-12-14 13:52:11 +00:00
Julia Reynolds
fba474a86e Add an output chooser dialog to volume panel
It shows paired bluetooth devices, filtered on major type
audio_video and uncategorized.

Test: manual
Bug: 63096355
Change-Id: I606cbd581f382752a05b4ffec7707427252ac788
2017-12-13 15:42:16 -05:00
Luke Song
e9fd98ab17 Merge "Separate volume ui and safety warning configs" 2017-12-13 20:11:50 +00:00
Luke Song
e003666fe9 Separate volume ui and safety warning configs
VR headsets want to prevent 2d volume ui from being displayed, but want
to keep the high volume warning dialog.

Bug: 67951608
Bug: 68997348
Test: Tested linearly independent configs
Change-Id: Ic102ce626e199d2e3a3cf8fbb091050977c696bb
2017-12-13 10:27:54 -08:00
Bill Yi
4a7f97eb60 Import translations. DO NOT MERGE
Change-Id: I507f7aafa814813003145cf802449add25ca8fc7
Auto-generated-cl: translation import
2017-12-13 00:36:14 -08:00
TreeHugger Robot
6e1fd8b5bd Merge "Restore volume expansion." 2017-12-11 20:23:20 +00:00
Julia Reynolds
edb2e7ce14 Restore volume expansion.
Test: manual
Bug: 63096355
Change-Id: Ibff2826084353b66a6e1376cb9dda3e01dcf0e72
2017-12-11 13:18:03 -05:00
TreeHugger Robot
138686daad Merge changes I3a966bc7,I91e6832d
* changes:
  Adjust window layout for DisplayCutout
  Display Cutout: Add emulation
2017-12-08 16:03:50 +00:00
Julia Reynolds
7d37e95d54 Merge "Move and reshape volume dialog" 2017-12-08 14:13:24 +00:00
Adrian Roos
000cf5e06d Display Cutout: Add emulation
Adds an overlay to SystemUI that draws an emulated
cutout in the bounding polygon that the window manager
supplies.

Bug: 65689439
Test: adb shell settings put global emulate_display_cutout 2
Change-Id: I91e6832d7e4594e995241d29d6f1ed0d918d59a0
2017-12-08 14:45:18 +01:00
TreeHugger Robot
1fec32bd84 Merge "Move list of SystemUI services to xml" 2017-12-08 08:16:20 +00:00
Bill Yi
a371056e6a Import translations. DO NOT MERGE
Change-Id: Ifd109043e3ccfbe8341a5ea39d7e58c9c6d9e5e2
Auto-generated-cl: translation import
2017-12-07 18:41:34 -08:00
Jon Boekenoogen
b6b5d41d07 Rename "Go to web" -> "Go to browser"
Update text based on PM guidance.

Screenshot:
https://screenshot.googleplex.com/zmN3oFSLNkj (before)
https://screenshot.googleplex.com/wdtT9qN0h5q (after)

Test: Screenshot from marlin above.
Bug: 68952332
Change-Id: I436fbf5801306776c7052146da451dfb601fd7c0
2017-12-07 20:40:28 +00:00
Julia Reynolds
36dd4f1fbe Move and reshape volume dialog
- Move the volume dialog back to the top
- curve some corners
- Add a ringer toggle row

Bug: 63096355
Test: manual
Change-Id: Ife8a3fa4fabf3a0f26ddca3cf05b16425b325ef3
2017-12-07 15:00:40 -05:00