Commit Graph

43512 Commits

Author SHA1 Message Date
Tracy Zhou
245da75f47 Support rtl for quick scrub onboarding text.
Change-Id: I1f2073e1c24a24aa5ddfd061a6e8b0eaef40335c
Fixes: 80257508
Test: Manual test
2018-05-24 22:23:23 -07:00
Jason Monk
96910a6dc2 Merge "Follow supportlib changes in SliceManager" into pi-dev 2018-05-25 01:21:35 +00:00
TreeHugger Robot
a9050275ba Merge "Tweak new rotate icon and motion" into pi-dev 2018-05-25 00:13:35 +00:00
TreeHugger Robot
0726f5c82a Merge "Fix boundary condition of showing quickscrub tip after dismissal." into pi-dev 2018-05-24 23:18:19 +00:00
TreeHugger Robot
2640b2142e Merge "Put a little space between wifi and data type" into pi-dev 2018-05-24 22:12:16 +00:00
Tracy Zhou
36d8170e6b Fix boundary condition of showing quickscrub tip after dismissal.
It's possible that user opens overview 11 times after first dismissal of
Quickscrub tip before going to an app and our current condition check would fail. Change
the condition of showing swipe-up tip for consistency.

Change-Id: If58f9b6f2edfbdccf68a2c44e0b3b4b489862734
Fixes: 80256933
Test: Manual test
2018-05-24 21:47:20 +00:00
Mike Digman
c038c32c7c Tweak new rotate icon and motion
Slightly reduce the icon size to decrease its size relative to the new
back button. Use scaleX attribute to ensure arrows always point in
direction of motion. Fix intro animation bug where rippling would only
happen for first three loops.

Bug: 79930974
Test: manual
Change-Id: I6b8d4acd4c1537649d0120663169e7a1fd4db7fb
2018-05-24 14:05:44 -07:00
TreeHugger Robot
478923bded Merge "Update location icons (qs + status)" into pi-dev 2018-05-24 20:50:41 +00:00
TreeHugger Robot
bb5154982e Merge "Add tuning to SystemUI to draw into a DisplayCutout's bounds" into pi-dev 2018-05-24 20:50:35 +00:00
TreeHugger Robot
65477d138d Merge "Flip flag to enable vibration on wireless charging" into pi-dev 2018-05-24 20:05:54 +00:00
Beverly
5c2b48aa92 On configuration change setup screen decorations
Test: developer options > set emulated cutout
Change-Id: I6418ad8226955264d6197491d772954491aba9ac
Fixes: 80230317
2018-05-24 10:58:00 -04:00
Winson Chung
004e01d388 Merge "Initial changes for full-width quickscrub." into pi-dev 2018-05-24 05:55:47 +00:00
TreeHugger Robot
5d8559fea3 Merge "Fork navbar layout for quickstep" into pi-dev 2018-05-24 05:03:14 +00:00
Winson Chung
6450335b56 Merge "Fix issue with slippery flag not being updated correctly" into pi-dev 2018-05-24 04:13:47 +00:00
TreeHugger Robot
3622bfdba0 Merge "[Notif] Remove transient views on swipe out" into pi-dev 2018-05-24 03:47:27 +00:00
Winson Chung
661d5f96a5 Initial changes for full-width quickscrub.
Bug: 79945202
Test: Swipe from anywhere in the nav bar

Change-Id: Ib0b07ceb64fb74c570c297acf865a37a1dc56fa8
2018-05-23 20:46:06 -07:00
Winson Chung
1be4c7e3f5 Fix issue with slippery flag not being updated correctly
- The ordering was such that the disabled state was updated before
  onPanelExpandedChange which was masking the issue by updating the
  slippery flag, but when unlocking from the screen off state, we get
  onPanelExpandedChange first, and disabled state after (which doesn't
  update the slippery state).

Bug: 80204751
Test: Turn screen off, unlock with fingerprint, swipe up
Change-Id: I88f1bc6a983ec0d693844724d8b9d4bf11a0fd31
2018-05-24 03:01:13 +00:00
TreeHugger Robot
ee9b570dce Merge "Remove logging from RecentsOnboarding" into pi-dev 2018-05-24 01:35:31 +00:00
Mike Digman
f77fb9176e Fork navbar layout for quickstep
Different navbar layouts are loaded via config.xml depending
on if Quickstep is enabled. A contextual button frame is added
to replace the right nav buttons so different styling can be
applied. New back, rotate and keyboard icons are added.

Maintains support for custom navbar layouts. Adds support for
nested reversable elements, needed for contextual button frame.
Fixes navbar gravity support by using RelativeLayout's gravity
and top/bottom switching.

Change-Id: I5e24b2392c377313d421c0f95c3a7a0b99f32590
Fixes: 79930722
Fixes: 79930974
Fixes: 80164476
Test: manual, crash sysui, test against a11y, gb menu, rotate
2018-05-23 18:03:35 -07:00
Rohan Shah
a759496b94 [Notif] Remove transient views on swipe out
We are not removing transient views for the 'swiped out' animation.
Utilizing the transient view cleanup in onAnimationFinished to handle
this better.

Test: Manually
Bug: 79896012
Change-Id: I3c169815433e34795472264de30ff23b3d744269
2018-05-23 17:10:43 -07:00
TreeHugger Robot
d732ec697e Merge "FixBug: Round corner gone when scroll to non-first item and drag to close" into pi-dev 2018-05-24 00:00:51 +00:00
Evan Laird
af56a33f11 Put a little space between wifi and data type
Also remove it from the mobile signal group when it's not needed

Test: visual; demo mode
Change-Id: Iaade5144e5ad762e6a57e49c52b9c5272bac8b48
Fixes: 77822905
2018-05-23 19:52:34 -04:00
TreeHugger Robot
0ce1cc626b Merge "Prevent onboarding counters from overflow." into pi-dev 2018-05-23 23:37:37 +00:00
TreeHugger Robot
845e89320d Merge "Refactor for tuning gfx-max-frame-time-99" into pi-dev 2018-05-23 22:51:01 +00:00
Tracy Zhou
89a5924385 Remove logging from RecentsOnboarding
Bug: 79882171
Test: N/A
Change-Id: Ib6ae824204c0cd0ecd87a79c9a84bd650e040fa1
2018-05-23 15:45:08 -07:00
Evan Laird
17a96ba564 Add tuning to SystemUI to draw into a DisplayCutout's bounds
Allows for more optimal tuning of status bar's usage of space otherwise
claimed by a cutout

Test: visual
Change-Id: Ic821eae4dcb22fc3d9063a1fcd6927707e347eaa
Bug: 79703378
2018-05-23 18:25:06 -04:00
Beverly
155c9d2299 Flip flag to enable vibration on wireless charging
Test: manual
Change-Id: Icaae951e37a8a6ffd925fb6a5907ce1dc1748500
Fixes: 74505795
2018-05-23 18:12:19 -04:00
TreeHugger Robot
4a0371bb88 Merge "DO NOT MERGE Fix bug when pressing the add user cancel button results in a black screen Test: Tested on Mojave Bug: 80187163 Change-Id: Ie46c228dea9de71b97a276f7e4f2d60fe98649b6" into pi-dev 2018-05-23 21:25:00 +00:00
Tracy Zhou
85d85acc0f Prevent onboarding counters from overflow.
We does not unregister the OverviewProxy inside RecentsOnboarding unless user has seen both onboarding tips. If the OverviewProxy does not get unregistered for good, whenever user swipes up from home, we increment the counter that's used to track number of times user has swiped up from home. Though it can be extremely rare, it can overflow.

Change-Id: I43e74b3634eacf3d12c2ce3de23135fdd1d83d24
Fixes: 80202086
Test: N/A
2018-05-23 14:22:05 -07:00
Arthur Hung
c0ef565080 FixBug: Round corner gone when scroll to non-first item and drag to close
Add some notification and scroll to non-first item,
Then drag to close notification panel, the top round corner will become
rectangle corner.

Case 1: the round corner only in first item.
Case 2: the round corner cross first and second.

Bug: 80110795
Test: add notifications, scroll, drag to close
Test: atest SystemUITest
Change-Id: I64146ebd1e3b7d19fd5b466290fc9fd5de5b8d5d
2018-05-23 20:58:47 +00:00
Tony Huang
c092c439c2 Refactor for tuning gfx-max-frame-time-99
Because canvas.clipPath() is heavy operation for GPU, draw roundness
background on notification row which need clip. However, some case
still can not handle will use clipPath as current design

Bug: 71900748
Test: atest SystemUITests & SystemUiJankTests#testNotificationListScroll
Change-Id: Ibc776ebd2f0dce5db7a2eb953ee6fac1747dea5a
2018-05-23 13:22:27 -07:00
Lucas Dupin
3116918bf0 Merge "Only animate when the slice is actually animating" into pi-dev 2018-05-23 20:15:19 +00:00
Jason Monk
f852f56e27 Follow supportlib changes in SliceManager
Test: make
Bug: 78898947
Change-Id: Ibb2bdc62798d7e0ee93dc0609a8871041abba108
2018-05-23 16:08:11 -04:00
Evan Laird
c10ddd448d Update location icons (qs + status)
Last call!

Test: visual
Change-Id: I946691fc06152c56c4c3a2772aaacf5ac1f96ff7
Fixes: 80152065
2018-05-23 16:00:06 -04:00
Aarthi Balachander
47fe2d2885 DO NOT MERGE
Fix bug when pressing the add user cancel button results in a black screen
Test: Tested on Mojave
Bug: 80187163
Change-Id: Ie46c228dea9de71b97a276f7e4f2d60fe98649b6
2018-05-23 18:54:53 +00:00
TreeHugger Robot
f354ba185a Merge "Wicked good battery saver + rotation icons!" into pi-dev 2018-05-23 18:46:47 +00:00
Chalard Jean
9a963e1137 Merge "Use CaptivePortalProbeSpec method in portal app" into pi-dev 2018-05-23 18:46:43 +00:00
Winson Chung
98cb40cf4b Merge "Replace nav bar assets from png to vector drawables (1/2)" into pi-dev 2018-05-23 18:15:21 +00:00
TreeHugger Robot
e28c42f785 Merge "Make the clock font a little thicker" into pi-dev 2018-05-23 17:59:24 +00:00
TreeHugger Robot
f5bc92d971 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-05-23 16:48:33 +00:00
TreeHugger Robot
c661e659f7 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-05-23 16:48:26 +00:00
Winson Chung
e924341dc5 Merge "Fix crash when creating overview proxy service from background thread" into pi-dev 2018-05-23 16:37:27 +00:00
Evan Laird
8190516490 Wicked good battery saver + rotation icons!
Still drawing battery saver QS icon in code, though it's gaining some
hackery

Test: visual
Change-Id: Id773c036a5823dcb6c679fa0e6b649f26da4e017
Fixes: 80152065
2018-05-23 11:10:29 -04:00
TreeHugger Robot
4524e93577 Merge "On orientation change, update rounded corners" into pi-dev 2018-05-23 14:35:29 +00:00
Beverly
e91f0d05da On orientation change, update rounded corners
When rotating landscape/seascape/upsidedown, the 'top' and 'bottom'
corners are in the correct place

Change-Id: I19858ca42939d81911c5f45bd80d163d0c22eee9
Fixes: 79163187
Test: manual, ScreenDecorationsTest
2018-05-23 09:37:09 -04:00
Alison Cichowlas
666be7b688 Merge "Set static Dependency ref after all the Deps are set up." into pi-dev 2018-05-23 12:39:55 +00:00
TreeHugger Robot
aa0287603d Merge "Limit number of notification etc dots to 1" into pi-dev 2018-05-23 12:25:28 +00:00
Remi NGUYEN VAN
9c5c368115 Use CaptivePortalProbeSpec method in portal app
This only changes behavior if the EXTRA_CAPTIVE_PORTAL_PROBE_SPEC extra
is passed, which only happens if extra probe specs have been defined in
settings.

Bug: b/79499239
Test: manual: on 2 different portals, works w/ and w/o the setting
Change-Id: I70acfd9213bf620cbb79ad999b8ad03472e8d43f
2018-05-23 20:49:19 +09:00
Bill Yi
b9b6a0e1fa Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I37c44d9cddded200016a5e61b8739ccf0b33693e
2018-05-23 04:34:15 -07:00
Bill Yi
59fa5f30f1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I85b178508c84cebb20aa94617295b7a73cbaf28e
2018-05-23 02:48:51 -07:00