Commit Graph

227 Commits

Author SHA1 Message Date
Matthew Ng
32afc62d93 Use a theme for screen pinning to set recents vector drawable tint
Test: pin screen with nav 3 button layout
Fixes: 109909471
Change-Id: Icc27efdb4d623a9927c1f7fc0472ccacc596a28b
2018-06-14 23:39:52 +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
Lucas Dupin
4c797d6a61 AOD group notification style
Change-Id: Ibcabb20f6d4eb48bf36204f8068f48176844f88d
Fixes: 76110106
Test: visual
2018-05-09 11:12:01 -07:00
Selim Cinek
67ca2d4a0b Reduced the opacity of the ripple when dark
It was at 87 before and much reduced now.

Test: visually
Change-Id: I90bfbc6866e4d7399730635c04649b9415f7d598
Fixes: 79219117
2018-05-03 17:57:27 -07:00
Rohan Shah
33b57e845f Merge "[Notif] Update guts/blocking helper UI" into pi-dev 2018-05-02 16:21:38 +00:00
Rohan Shah
75bb1284c2 [Notif] Update guts/blocking helper UI
Polishing UI based on UX phase 3.

Updated font style, spacing, header alignment, button tap target (8dp
onsides, 14dp on top/bottom for 48dp touch target).

Double checked that other views that share in the button tap
targets/styles weren't affected negatively.

Test: visually
Bug: 77318740
Change-Id: I71cd0187b6d9d6cce62e0051af84922594bc5a9a
2018-05-01 14:52:49 -07:00
TreeHugger Robot
a98a27e499 Merge "Adjusted the lineHeight for notification texts" into pi-dev 2018-04-27 04:30:44 +00:00
Selim Cinek
6555bee8e7 Adjusted the lineHeight for notification texts
The lineheight is now at 20dp

Test: observe all notification layouts and consistent lineheights
Change-Id: If39b6bef98e41c4a5890a82d7e30f2892ef3d7b1
Fixes: 78127131
2018-04-27 09:59:02 +08:00
Rohan Shah
bb662cca94 [QS] Move date view to QS panel
The date view is currently in the quick status bar - we are moving it
into the QSPanel on the left of the icons.

So that it works with dark wallpapers, changed text color to
colorPrimary attribute.

Bug: 74394377
Test: visually verified
Change-Id: I8aec54b600a85442d61696ee2375cbfe8362943c
2018-04-23 11:52:51 -07:00
Selim Cinek
aa9db1f34f Insetting heads up notifications
Heads up notifications are now corretly respecting insets.
instead of overlapping with any possible notches, we're
insetting heads up notifications and splitting the main
content from the header.

Fixes: 72748440
Test: runtest systemui
Change-Id: Ie53ea31fef4e468239c4346f9d1f192bcb26e11d
2018-03-20 15:36:17 -07:00
Julia Reynolds
e03414876a Don't allow foreground notis to be blocked inline.
Offer a 'minimize' option instead.

Also I'm changing the guts, do a little layout
cleanup in the confirmation dialog.

Change-Id: I9f2ef824d1f322752bc4161356f16a5dae166caf
Fixes: 73898083
Fixes: 73657862
Fixes: 73657452
Test: runtest systemui-notification
2018-03-09 11:02:15 -05:00
Adrian Roos
edfab3b832 SysUI: Fix a bunch of hacks around insets and cutouts
PhoneStatusBarView: update correctly on rotation
VolumeUI: properly place window instead of accounting for bars and letterbox
PhoneWindowManager: remove special policy for TYPE_VOLUME_OVERLAY
GlobalActions: Adjust for removal of special policy for volume overlays

Bug: 74195186
Test: Use VolumeUI, GlobalActions, Keyguard and Status bar in all kinds of orientations and cutout configurations
Change-Id: I72281cee202fea0a69766ff0d58ea55dcb5a36e1
2018-03-08 20:37:43 +01:00
Evan Laird
1eb36acd54 Use non-condensed font for QS labels
Test: visual
Change-Id: Iab2f2ff09a5c62f86730b90aa47f9cb2179ce2e5
Fixes: 74022469
2018-03-01 11:13:58 -05:00
Mike Digman
1e28a5ae50 Update rotate suggestion button icon+motion
Motion is dynamically set to match pending screen rotation through
styling. AVD bugs make consistently looping motion hard, looped instead
within AVD. Refactor some logic into NavBarFragment for simplicity.

Test: custom Gingerbread app with menu and IME, a11y manual toggling
Change-Id: I5a975785203aeaf46c36962be05cab6abdc628a1
2018-02-21 09:57:52 -08:00
Julia Reynolds
7c62c310ef Show volume dialog vertically in all rotations
The volume dialog will be volume_dialog_base_margin dp away from
the nearest thing on its right, be that nav bar, cutout, or the
side of the device.

Additionally made the dialog a bit shorter and skinnier to fit.

Test: manual, used dialog in all rotations in rtl and ltr
Change-Id: Ia2642ede7670989dcc2b7612cc8c3bf2ba94fbc7
Fixes: 72711737
2018-02-02 11:03:21 -05:00
TreeHugger Robot
877553e360 Merge "New error color" 2018-01-25 19:16:47 +00:00
TreeHugger Robot
1776fa33f1 Merge "Bring back the date!" 2018-01-22 22:38:16 +00:00
Evan Laird
4ea2a49fae Bring back the date!
QS shows the date once more. This time it'll be on the top, just next to
the time. Tapping on the date will bring the user to alarms for now
because there is no public AlarmClock action that will bring the user to
the main clock tab in DeskClock

Test: visual
Change-Id: I4d0eb049e98d4bea0f59ef0a7b7da17907c52b67
Fixes: 71357632
2018-01-22 11:29:12 -05:00
Lucas Dupin
2b2832091c New error color
Bug: 63940122
Test: Visual, fingerprint error on lock screen
Test: Visual, launch activity with theme set to: Theme.Material
Test: Visual, launch activity with theme set to: Theme.Material.Light
Change-Id: Ibba8df45acaec3590c093113500034527e421d03
2018-01-18 13:50:48 -08:00
Julia Reynolds
9c27f20b96 Remove all caps style
Test: manual
Change-Id: Ifa83ce1daa9dab5a29adabd27ceee066b19a22b1
2018-01-18 09:02:38 -05:00
Matthew Ng
b44cceaef6 Updates the background of the clear all button for low ram devices
When the background changes on device, update the background color of
the clear all button on low ram devices to match.

Test: manual - change wallpaper color to dark/light, open recents
Change-Id: Ie91bc2eeb77307aa63055334a1ff1727026e5094
Fixes: 65261858
2017-09-01 17:56:35 -07:00
Christofer Åkersten
d51640ba50 Inherit theme dark/light scheme for MediaRouter dialogs/button
Bug: 64291950
Test: manual
Change-Id: I20694ce512a794a3c6574108b80dcfb4979b3b39
2017-08-09 15:48:16 +09:00
Lucas Dupin
ef15776aaf resolve merge conflicts of a1f64b0a91 to oc-mr1-dev
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic2395d055e1f27b186c3b87be5440dc410ee16a3
2017-07-25 12:00:01 -07:00
Julia Reynolds
cbd64a7e9a Merge "Zen introduction text updates" into oc-dr1-dev
am: 60bf540e20

Change-Id: I3d094ed410060fd2ccb223a16020493f8893d88f
2017-07-25 17:40:47 +00:00
TreeHugger Robot
a1f64b0a91 Merge "Fix jank when switching themes" into oc-dr1-dev 2017-07-25 17:40:02 +00:00
Julia Reynolds
d518135425 Zen introduction text updates
- Update color of text/button for legibility
- prevent poorly timed zen update broadcasts from interrupting the
zen footer window animation

Change-Id: I04eaaae80fb0647b0a792023f5ed03ebd9142e04
Fixes: 63916428
Fixes: 63815440
Test: manual
2017-07-25 11:12:21 -04:00
Lucas Dupin
e17ce5286f Fix jank when switching themes
Turning overlays on and off takes time,
it also doesn't allow us to have fine control
over which view is using which theme.
Lock screen colors are now driven by themes.

Change-Id: Ie8860d00dbb0705ed76edf60a9d3030618dd21ca
Fixes: 63751714
Test: Visual. Set wallpapers, unlock.
Test: runtest -x packages/SystemUI/tests/src/com/android/keyguard/KeyguardSecurityContainerTest.java
Test: runtest -x tests/Internal/src/com/android/internal/colorextraction/ColorExtractorTest.java
Test: systrace
2017-07-24 13:26:22 -07:00
Jorim Jaggi
7f58322d51 Revert "Fix jank when switching themes"
am: 6498f96283

Change-Id: Ie5813f1c04a6db9d5ee291df764873900add5064
2017-07-24 14:14:34 +00:00
Jorim Jaggi
6498f96283 Revert "Fix jank when switching themes"
This reverts commit e5d0b9dddb.

Fixes crashloop with lock pattern

Change-Id: I3721444c91e2be625c59ec3e6ba14f1080badc07
Fixes: 63980375
2017-07-24 15:53:42 +02:00
Lucas Dupin
902ba7bab5 Merge "Fix jank when switching themes" into oc-dr1-dev
am: a74f575ff9

Change-Id: Ibc8fa59cfa6139b03aa7fb08361eb43331484be5
2017-07-22 04:52:31 +00:00
Lucas Dupin
e5d0b9dddb Fix jank when switching themes
Turning overlays on and off takes time,
it also doesn't allow us to have fine control
over which view is using which theme.
Lock screen colors are now driven by themes.

Change-Id: I4b5db6234cafebbe8eaa952781c038370a11488b
Fixes: 63751714
Test: Visual. Set wallpapers, unlock.
Test: runtest -x tests/Internal/src/com/android/internal/colorextraction/ColorExtractorTest.java
Test: systrace
2017-07-20 22:44:36 -07:00
Lucas Dupin
3481d3d8e3 Merge "Renamed attribute with abbreviated name" into oc-dr1-dev am: df83b8cfcf
am: 6ee8fc2347

Change-Id: Ic77e64ebb731ba3f6416adade2ecd96ca27ae058
2017-07-18 18:45:46 +00:00
Lucas Dupin
a360e1e70f Renamed attribute with abbreviated name
Renamed attribute as part of refactoring overlays.

Bug: 63751714
Test: make
Change-Id: Ia75fbf6c1dbcbd530d6b03a239b61b61719da8e0
2017-07-17 17:43:36 -07:00
Lucas Dupin
edd2360f16 Merge changes Ie4fd89a3,Ica428dbc,Id3d1e935 into oc-dr1-dev am: 6a6d63be45
am: b02198da14

Change-Id: I9b8ad92792978bb0eddca3ffe7688f366b95d7e9
2017-07-13 19:57:40 +00:00
Lucas Dupin
ce8466e3df Ripple colors should match sysui theme.
Change-Id: Ica428dbcb6b8832ef67c91fbf2424c178c222d0d
Fixes: 62887093
Test: visual
2017-07-12 14:34:13 -07:00
Fan Zhang
1137f872c6 Use new settings preference theme in sysui tuner
- Also removed deprecated activity manifest entry for tuneractivity

Change-Id: Id3a8d25cd9e2bf18c999e273714a2b82fd14ffe8
Fix: 36663882
Test: visual
2017-07-11 14:58:07 -07:00
Lucas Dupin
5657176074 Lock pattern should be red when error
Test: visual
Change-Id: I133ac629ca7ee6ae7e049711d024e6f776b10331
Fixes: 63450674
2017-07-10 16:33:02 -07:00
Lucas Dupin
3ceaa0abbb Dark text support on Recents
Also changed target package.

Test: visual. Set light and dark wallpapers
Change-Id: I188bc21b5372e541509bdd739c825fc5ac53ca47
Fixes: 62346335
2017-07-05 00:36:50 -07:00
Lucas Dupin
15a39b3afa Revert "Replaced overlay target package"
This reverts commit ae885416dd.
2017-06-28 16:00:39 -07:00
Lucas Dupin
d78aa5d0cf Revert "Support dark text on Recents"
This reverts commit 512ce6c9b7.
2017-06-28 16:00:26 -07:00
Lucas Dupin
512ce6c9b7 Support dark text on Recents
Test: visual. Set light and dark wallpapers
Change-Id: I100c7d6dac066168636b1741ed1ed7fc309988ef
Fixes: 63080632
2017-06-27 18:25:53 -07:00
Lucas Dupin
ae885416dd Replaced overlay target package
Changing from android to com.android.systemui
will keep it from showing up in the settings app.

Bug: 62346335
Bug: 62739503
Test: manual
Change-Id: Ie8864d4508f229f83aec58380136549f3e4fb759
2017-06-27 18:22:13 -07:00
Lucas Dupin
96d7be7129 Separate theme breakpoints
Separating dark sysui theme from dark
colors on lock screen since they should
be independent.

Bug: 62346335
Test: manual
Change-Id: I1e2ddc8b80f838bcac1647b7c5ac2d5ba50765e3
2017-06-19 17:33:51 -07:00
Jason Monk
7a319313c4 Merge "QS vis tweaks" into oc-dev am: 2b2221e94b
am: abd4f9844f

Change-Id: I7d84ce77d7e5f3626904b0b665fab1001b4b5d62
2017-06-02 19:44:43 +00:00
Jason Monk
3ebde83ba2 QS vis tweaks
- QS Header status centering 24dp -> 32dp
 - Several fonts condensed -> medium

Test: visual
Change-Id: Ic8bc08d6a4d78ee708c4a890140b87716a883373
Fixes: 38199857
2017-06-02 13:25:26 -04:00
Lucas Dupin
987f1937a0 Change keyguard theme when wallpaper colors change
Bug: 38163994
Bug: 37014702
Bug: 62053168
Test: visual
Change-Id: I5a2da4ef2ad6fc1dab71588f2d0f5bd207731900
2017-06-01 12:14:53 -07:00
Lucas Dupin
c1cc759aa4 Color extraction under Power and Volume menus
Bug: 37013646
Test: visual
Change-Id: I29a1734d49e8225f49133424841dfcbfbff59516
2017-05-23 15:38:30 -07:00
Jason Monk
9a376bcd45 Fix the status icon colors in QS
Requires lots of theming magic

Test: visual
Change-Id: I1cd28b570f30989b496065c0e06a5aca461deb41
Fixes: 37619734
2017-05-12 16:16:39 -04:00
Adrian Roos
6f6e159484 AOD: Notification groups on Ambient Display
Bug: 36690937
Test: receive notification group on ambient display
Change-Id: I9dd91b85432e3d4309e0eb78a7b03ada87c3554e
2017-05-09 17:02:25 -07:00
TreeHugger Robot
c1d9cdfe79 Merge "Update snooze visuals to match latest design" into oc-dev 2017-04-19 18:41:56 +00:00