481 Commits

Author SHA1 Message Date
John Spurlock
4bf31983d2 QuickSettings: fix text alignment.
- Abandon dynamic sizing, give each tile a fixed height.
- Align the baselines of the first line of each tile in a row.
- Clean up dimension resources.
- Center the touch feedback on the icon center, and dial it down.

Bug:15120277
Change-Id: If43986f80ef6d01722b60b6feedb278eed27e936
2014-05-21 17:24:44 -04:00
Adrian Roos
2fe592d49b Add trust indicator to keyguard
Changes the unlock icon to an open lock
when the keyguard will not ask for credentials.

Bug: 14295559
Change-Id: If34a5ec9e23b2d22813860faee125e6b2d700643
2014-05-21 15:51:14 +02:00
Winson Chung
863db8a4e7 Removing the info pane.
Change-Id: I5486291144cbcb1b31a7e5b8a234e5ef7cf85325
2014-05-20 14:33:04 -07:00
Selim Cinek
2f4a82af91 Merge "Fixed a big with the vetobutton, circumventing double tapping." 2014-05-20 02:27:17 +00:00
Selim Cinek
863834bd96 Fixed a big with the vetobutton, circumventing double tapping.
Change-Id: Ie31d06fe4e2454cf6a3223bef75eca2c76f47b59
2014-05-20 04:20:25 +02:00
Selim Cinek
e704324a01 Merge "Fixed several bugs introduced by the new background views." 2014-05-20 01:42:46 +00:00
Selim Cinek
c9c00ae2fa Fixed several bugs introduced by the new background views.
Also notifications are now limited to 4U again.
Bug: 14880580

Change-Id: I05d19981ad1bb06687bf6c994608e21ac925a759
2014-05-20 03:33:40 +02:00
John Spurlock
f3281e4a3c Merge "QuickSettings: cap touch feedback to panel." 2014-05-20 01:13:04 +00:00
John Spurlock
ee912bb8ed QuickSettings: cap touch feedback to panel.
Bug:15089348
Change-Id: I0d9cc21d9888e1cc67f61c61dfae5e6c519ace1b
2014-05-19 21:11:14 -04:00
Jorim Jaggi
e595504f09 Merge "Move background from notification into a view." 2014-05-19 21:13:36 +00:00
Jorim Jaggi
a8b48e166c Move background from notification into a view.
This allows to run a circular clip animation for the double-tap
interaction on the lockscreen.

Change-Id: I1c36f4d250c0255fc1fd89f97f078b3f5914ee47
2014-05-19 23:10:32 +02:00
Winson Chung
958e559b98 Merge "Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)" 2014-05-19 16:25:40 +00:00
John Spurlock
ba2c6a084f VolumeZen: Unify ringer + zen status bar icons.
- Remove zen mode indicator from LHS.
- Update ringer mode icons to latest design.
- Zen mode trumps ringer mode in slot if enabled (as it will in QS).

Change-Id: I48bd7e8fdb2a19333b0b6d24d34cc98aa142691f
2014-05-19 10:10:42 -04:00
John Spurlock
83e2848c56 QuickSettings: Remove vector drawable runtime processing.
Remove temporary harness responsible for creating enabled/disabled
versions of vectors at runtime.  Instead, pre-compute the necessary
states as separate files.

Normalize all qs icon names, cleanup obsolete pngs, and replace
the DND hangtag.

Bug:14133785
Change-Id: Ifb58635b832d25ca1de7e9f79cf8ec3503ea8cec
2014-05-18 17:20:05 -04:00
Winson Chung
1e8d71b605 Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)
Change-Id: Icc5d2a784ed3c3c27143eb04cbb4305549ee223a
2014-05-17 00:31:50 +00:00
Jorim Jaggi
069cd03740 Position clock and notifications dynamically.
The positioning is dependant on how many notifications are currently
showing. This makes sure that the lockscreen always looks balanced
and harmonic.

Bug: 14592994
Change-Id: Ic647b887dd23e6cc5ecd07d70f279ff2f218f4ca
2014-05-17 02:01:41 +02:00
Selim Cinek
c27437b7fd Implemented visual speed-bump for notifications.
The separation between the important and the less important
notifications has now a visual representation.

Bug: 14607473
Change-Id: I8baa0a08924ec041be2884a2834139477313ab40
2014-05-16 23:19:28 +02:00
Adrian Roos
cd10d7c595 Merge "A better auto brightness" 2014-05-14 10:32:26 +00:00
Adrian Roos
daf7d410fc A better auto brightness
Bug: 14927472
Change-Id: I62d0695b7da16ffa7a27c465c3b6bc4b1515f9c0
2014-05-14 10:32:08 +00:00
John Spurlock
af8d6c44f0 New quick settings implementation.
Bug:14133785
Change-Id: I7f57f8e7ebcc3e1a06fa5204f477470f14299e1f
2014-05-13 18:43:40 -04:00
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