311 Commits

Author SHA1 Message Date
Jorim Jaggi
890e1892fe Set primary color of SystemUI.
Also fixes the weird color of the auto-brightness toggle.

Change-Id: I7d8a2a47d630c3ca910983158fbf80ed739e0326
2014-05-12 15:20:27 +02:00
Jorim Jaggi
f056e35a34 Implement intermediate brigthness control on header.
This just reuses the views from BrigthnessDialog. Later, we will move
to a model where we only have one single slider.

Change-Id: Ib8116741802b7de930331648e50ff55fc869d7af
2014-05-12 15:10:13 +02:00
Jorim Jaggi
13c1b1ff36 Implement settings affordance in header.
Also, the status icons are hidden when quick settings is expanded,
except for the battey indicator.

Change-Id: I6fb130c7eb73445b2ec2fdf9a9f3ec181d98033d
2014-05-12 15:03:27 +02:00
Jorim Jaggi
740beb50aa New clock design in header for expanded status bar.
Change-Id: I4fa103d80bc32e34388ab3e1c5a0003965fd47d1
2014-05-11 21:07:36 +02:00
Jorim Jaggi
e18c2cd810 Make notification panel fullscreen on tablets.
We only inset the notification themselves on tablets, and also the
header when not on the lockscreen (on the lockscreen, the header must
be full width so the icons are at the correct location).

Change-Id: I85c8a4559f59b016432dab4a73236352233d9159
2014-05-11 21:05:52 +02:00
Jorim Jaggi
76aaef537a Fix measure performance of whole status bar window #2.
Change-Id: I4cbaa762d61e19016f925556c8e02720249dc22c
2014-05-11 17:07:28 +02:00
Jorim Jaggi
fe051aa36b Merge "Implement new multi-user affordance." 2014-05-11 13:40:14 +00:00
Jorim Jaggi
3d878be53d Implement new multi-user affordance.
Change-Id: I6d7e6cc9893bc7d4fd87431e8e364500af42f107
2014-05-10 03:25:49 +02:00
Winson Chung
6be810570f Merge "Adding dismiss method on the top cards, and disabling the app info pane." 2014-05-10 00:24:27 +00:00
Winson Chung
54e297a5bb Adding dismiss method on the top cards, and disabling the app info pane. 2014-05-09 17:15:32 -07:00
Jorim Jaggi
9054d94cba Move Carrier label into universal status bar header.
Also introduces a different height for the header area on keyguard,
as it looks better with less padding when no background is here (and
is closer to the mocks).

Change-Id: Ie9b94dcf823c3e4af83a22f5fae15d9033e146fd
2014-05-09 22:47:28 +02:00
Jorim Jaggi
0d74eeb9ec Reparent status bar icons into header when expanded.
This change moves the status bar icons into the quick settings header
when the status bar is expanded. Also, the universal header is now
showing on the Keyguard.

Change-Id: Ib91f7e0b8de9f852676a11b500c4419183db1b90
2014-05-09 22:05:24 +02:00
Jorim Jaggi
3084a2996f Revert "Fix measure performance of whole status bar window."
This reverts commit 5ef8eb5661f1b3c0723348f723778be247a2f365.
2014-05-09 20:52:00 +02:00
Jorim Jaggi
bff1f071f3 Remove expansion and clear button.
...

Change-Id: I965317ba221092f970dc9324dd538a7bde5c0642
2014-05-09 19:16:16 +02:00
Jorim Jaggi
6b5c8e207a Make header card look clickable.
Change-Id: I8b131e8fa1a6b8e83201c23a6dc74008dc73b2c7
2014-05-09 18:42:23 +02:00
Jorim Jaggi
c580cbfe9c Fix measure performance of whole status bar window.
Change-Id: If66f6d2ad414d75397bd849509903a9ed777e58e
2014-05-09 17:53:48 +02:00
Jorim Jaggi
e96fcd1faa Enable "More"-card double tap interaction.
Bug: 14492098
Change-Id: I8b80df407df8b6df0af616932018e40e903a7966
2014-05-08 02:45:39 +02:00
Jorim Jaggi
4f0128fb8f Merge "New layout structure for the expanded status bar." 2014-05-07 21:43:14 +00:00
Jorim Jaggi
47a7b0769f Add intermediate lock icon so users know how to unlock.
Bug: 14381296
Change-Id: I51c63dd5ba9a26b7e03be092482f4c4f69b31754
2014-05-07 22:10:17 +02:00
Jorim Jaggi
d7daab7b9e New layout structure for the expanded status bar.
This also includes a new (very WIP) interaction to get to quick
settings, with clumping the cards and a scrollable container with
the cards and the bottom QS part in it.

Change-Id: Ib073bb0174cddcf60347a5e3bb474fb3b6385bcf
2014-05-07 19:49:23 +02:00
Jorim Jaggi
97b63c4112 Implement phone affordance on lockscreen.
Refactor the camera affordance into a reusable view. This change
also swaps the asset for the camera affordance.

Bug: 14488709
Change-Id: I0633614f6a1ea81faa37923f748af3c635e64a52
2014-05-06 13:56:44 +02:00
Winson Chung
f5e22e71cb Incorporating theme colors into task views.
Change-Id: Ie7166d78dacabe4bff7afdade2d1da9d0651e403
2014-05-02 18:35:35 -07:00
Jason Monk
434bdf50b3 Merge "Add IME Switcher icon to Navigation Bar" 2014-05-02 14:04:52 +00:00
Jason Monk
f1ff209523 Add IME Switcher icon to Navigation Bar
Adds button in the same location as the menu button and overrides
it when present.  The setNavigationHintIconHints lets it know when
the button should be shown.

Bug: 14257632
Change-Id: Ia80de7fd2390cd8b083e37cbe58b7ee53555e619
2014-05-02 09:39:41 -04:00
Jorim Jaggi
8f72e8967b Merge "NotificationRowLayout shall rest in its grave." 2014-04-30 13:53:02 +00:00
Jorim Jaggi
59c77fee17 NotificationRowLayout shall rest in its grave.
Long live the stack scroller. Also removed some other unused classes.

Change-Id: Iff126a0e74e13caadb6426d5e0e76ba800489d3f
2014-04-30 15:45:25 +02:00
Jorim Jaggi
8c1a44b62f Layout notifications on top and introduce artifical margin
This allows for animating the notifications between the different
states. So we can nicely switch between Keyguard and full shade,
and make the stack smaller when going to quick settings.

Change-Id: I768dc7cd8f4dc0197365a5befebad24086816a8d
2014-04-30 15:25:56 +02:00
Jorim Jaggi
be565dfc1c Refactored the layout of a notifications
Notifications now consist of ExpandableViews instead of SizeAdaptiveLayouts
to avoid layout passes during the resizing. The StackScrollAlgorithm and its
States are also refactored in order to support the new behaviour. In addition,
the generation of the outline is moved to the notification views instead of
the container which contains them.

Change-Id: I1ac1292a6520f5951610039bfa204c204be9d640
2014-04-29 22:42:55 +02:00
Jorim Jaggi
d3406d7a1a Merge "Flatten notification hiearchy and remove glow." 2014-04-28 19:01:14 +00:00
Jorim Jaggi
fe40f7d13b Flatten notification hiearchy and remove glow.
Currently, the padding and the glow was inside the individual
notification. This no longer works if we want to adjust the
padding dynamically whether we are on Keyguard or not. This change
moves the padding outside of the individual notifications, and as
a side effect, removes the glow. The glow wasn't really visible with
the new layout, so it's not a breaking change. We have to discuss
with UX first what the new "glow" solution is going to be.

Change-Id: Iac16892cb3b7bb1de3001954b1428796b07950c1
2014-04-28 20:59:26 +02:00
Jorim Jaggi
25807936e8 Add carrier text on lockscreen in top left corner.
Change-Id: I88c96eabc4b97295da5c1094db3fd22fcc637390
2014-04-25 14:18:07 +02:00
Jorim Jaggi
fb2b6bc62d Merge "Add text view for double-tap and unlock hint on Keyguard." 2014-04-24 20:34:30 +00:00
Jorim Jaggi
e70d31f48d Add text view for double-tap and unlock hint on Keyguard.
Bug: 14080971
Change-Id: Id6f7344b01bb9666fe6add415ec4a28163315967
2014-04-24 22:08:30 +02:00
Winson Chung
80693f9fb5 Fixing crash in SystemServicesProxy getting activity label (Bug. 14260718)
- Fixing issue with wrong margins due to moved activity icon

Change-Id: Ib3631dc4cf4244d44737ee95b597bd25653815c8
2014-04-23 16:48:33 -07:00
Jorim Jaggi
a6310293c5 Hide navigation bar on Keyguard.
This also moves the camera affordance from navbar to the navigation
panel, so it is still visible on the Keyguard.

Bug: 14086354
Bug: 14085922
Bug: 14110532
Bug: 14059294
Change-Id: I93b51381915a67c688cdffd055fd149f2a220b00
2014-04-22 16:56:26 +00:00
Winson Chung
cdc3a47d4f Merge "Overriding application icon with activity icon where available." 2014-04-21 22:05:20 +00:00
Winson Chung
11e41baac6 Overriding application icon with activity icon where available.
Change-Id: I03ee8f806b3853183db7f96e71f1684c72b79c57
2014-04-21 12:40:52 -07:00
Winson Chung
deb1f268b7 Merge "Initial changes to add search bar." 2014-04-21 19:26:09 +00:00
John Spurlock
507288322b Remove obsolete settings panel artifacts.
I don't always have quick settings.  But when I do,
they live in a flip view, not a separate panel.

Bug:14133785
Change-Id: I3df11d7de308a36a800eb7582a71e3febc897fec
2014-04-21 07:16:15 -04:00
Winson Chung
ecd9b3031c Initial changes to add search bar.
- Scaling touch overscroll

Change-Id: Iee0523ca32efaae3491cbf5dbf3ea2e388f9d644
2014-04-17 10:52:34 -07:00
John Spurlock
73203ebf97 Interim quick settings update.
Make existing QS panel available via pulldown from header
(or keyguard status view on keyguard), update the affordances
as a hint.

Don't allow QS to scroll, cap to max rows.

Add scrim over panel to indicate that this is purely temporary.

Bug:14081801
Bug:14059974
Change-Id: I166033975cbc44b91f45ee70ea5c7540390670dd
2014-04-17 10:26:45 -04:00
Jorim Jaggi
c5dc0d0cce Zoom notifications on lockscreen after tapping.
For the double tap interaction, this change introduces a new cue
that the notifications must be double-tapped: With the first tap,
the tapped notifications gets larger and the others fade out a bit.

Change-Id: Ib48ff0291aee1a5ec083b9e7ed1021bc420514cf
2014-04-15 17:04:49 +02:00
Winson Chung
9f9679d91e Adding experiment for app-info pane.
Change-Id: I647de1a71a2ac82da0a4f8a24125496dd5457441
2014-04-14 12:38:47 -07:00
Dan Sandler
352e108259 Merge "Merge remote-tracking branch 'goog/master-lockscreen-dev'" 2014-04-14 17:54:22 +00:00
Alan Viverette
e8ebaf3f6f Clean up VolumePanel, tweak volume & brightness dialog styling
Change-Id: Ibd008fbc6acab00bf642422cb322ec147799d3d7
2014-04-11 15:44:15 -07:00
Alan Viverette
55e41ea6df am 316e533a: Merge "Update brightness icons to use color attribute"
* commit '316e533ab0ac9888af9e6c3db44e886dd50312e1':
  Update brightness icons to use color attribute
2014-04-10 23:17:50 +00:00
Alan Viverette
515a48a018 Update brightness icons to use color attribute
BUG: 13961573
Change-Id: I6c7f85c8cda739cb1e5e14c39c7e4a9fe20a8650
2014-04-10 16:14:40 -07:00
Adrian Roos
0c5c18a2be Merge "Implement camera affordance" into master-lockscreen-dev 2014-04-10 19:43:41 +00:00
Adrian Roos
5e25caae7a Implement camera affordance
Makes camera on lockscreen work again.

Bug: 13635952
Change-Id: Iec6324651a23289932a5e9816332b6727c23d096
2014-04-10 17:37:08 +02:00
Jorim Jaggi
d4a57440ca Limit notifications on lockscreen to a maximum 4.
All the other notifications are going to be collapsed in a "n more"
card.

Bug: 13635952
Change-Id: I18471c7b18d05d27e92c49ee8214605f1a151927
2014-04-10 16:51:15 +02:00