250 Commits

Author SHA1 Message Date
Selim Cinek
7d5f374dda Improved the dismiss all animation
Added an AVD to the icon and changed the order
to be from bottom to the top.

Bug: 17903685
Bug: 17007783
Change-Id: Ia1509e2d4e02c87782285e05b7b7fb6a11854f95
2014-11-11 17:10:38 +01:00
John Spurlock
bc8365148f Merge "QS: Icon animation update for existing animations." into lmp-mr1-dev 2014-11-10 14:09:24 +00:00
John Spurlock
b836befec1 Merge "QS: Animated hotspot tile icon." into lmp-mr1-dev 2014-11-10 14:09:03 +00:00
John Spurlock
bb4a702e6f Volume dialog: Add zen mode icons and notification access.
- Add icon above text to all three zen mode states, update text style.
- Remove zentoast.
- Update shared borderless rect background, masks now support shapes.
- Update size of volume stream icons.
- Ensure all volume icons are expressions of white.
- Make volume icons testable via new demo mode command.
- Add a divider + secondary icon to access the notification slider.
- Animate the transition when accessing notification slider.

Bug: 18206097
Bug: 16303068
Bug: 18102850
Change-Id: I5eb6f820dc317e89be272cc78f6c80ed969ad5e9
2014-11-10 08:32:23 -05:00
John Spurlock
1832d2fc50 QS: Animated hotspot tile icon.
Bug: 17426910
Change-Id: Ic7d0219b0a5d749223c35fcbedca78d4adf585c5
2014-11-09 18:37:19 -05:00
John Spurlock
d7faa95f4e QS: Icon animation update for existing animations.
- Remove starting delay.
- Remove alpha on <group>s.

Bug:17426910
Change-Id: I497cb1ca07df865e693c24e9726fd7e80dffa03c
2014-11-09 18:24:16 -05:00
Jason Monk
18f99d9134 Material design for screen pinning cling
Switching from a dialog to a cling-like view to be more material.
Also moving it into SysUI as it highlights the buttons in nav bar.
This will be triggered directly from recents, but from apps it
will be triggered by the PhoneStatusBar.  In the case that apps
trigger the request, there will be a 'no thanks' button so that
users can refuse.

Bug: 16957435
Change-Id: Ie880f82c66f4b2be98283ed3fa789703c4bd7ed5
2014-11-07 11:09:19 -05:00
John Spurlock
c6df3cf273 QS: Toggle tile icon animations.
- New location tile icon animation.
 - New flashlight tile icon animation.
 - New airplane-mode tile icon animation.
 - New color inversion tile icon animation.
 - Remove obsolete static icons.

Bug: 17426910
Change-Id: I51c98979afd46f4cdfc2fd383e80d7bf13c5eeab
2014-11-05 09:20:16 -05:00
John Spurlock
2d695813b4 QS: New rotation-lock tile icon, using AVDs.
Also:
 - Better icon change detection, unify tile.icon vs tile.iconId.
 - Fix regression in touch feedback by fixing a11y string calculation.

Bug: 17426910
Change-Id: I14772f4e9b3be127bc39106ae9146ed46488fa48
2014-11-03 19:08:39 -05:00
John Spurlock
404658eee9 Merge "Update 1-bar status bar / qs icons." into lmp-mr1-dev 2014-10-31 19:01:17 +00:00
John Spurlock
fd9aa5ff03 Update 1-bar status bar / qs icons.
To make the difference from 2-bars more pronounced.

Also fix a tragic regression in status bar demo icon scale.

Bug: 18019421

Change-Id: I4f4e3fea3ed07de5705ea7a1420deb4ccaa398b0
2014-10-31 14:51:54 -04:00
Selim Cinek
1d59af45f6 Mirrored clear all animation for RTL
Also automirrored the icon.

Bug: 18173905
Change-Id: I510efaf18b89a676959d72ad1b9e9a8edd417e60
2014-10-31 16:11:40 +01:00
Jason Monk
952d5d8d8a Add hotspot icon to status bar
Bug: 17318034
Change-Id: I291fe6bf7ac8c2faffd37cfda436ef050c1c5ca5
2014-10-28 09:31:42 -04:00
Jorim Jaggi
09e9dd2613 Fix system icon widths
Bug: 18015847
Change-Id: I2556f7f12d3006bdbb939e8daa8c77bca0f69980
2014-10-17 17:40:00 +02:00
Dan Sandler
621fa30c54 am 9eef8749: am 2200f86f: All (er, L) is finally revealed.
* commit '9eef8749232c00afad5ca3c26736c0be785cb8c1':
  All (er, L) is finally revealed.
2014-10-08 18:25:57 +00:00
Dan Sandler
2200f86f80 All (er, L) is finally revealed.
If you exceed 20000 points, please send in a screenshot.

Bug: 15984887
Change-Id: I1164160bfa8e7dca3b9e7d7ca5d50ef9abd38b61
2014-10-08 04:01:01 +00:00
Selim Cinek
face7c1795 Fixed a crash when the detail panel got very big
An example was when we have many casting devices or users,
it was simply crashing. Also fixed a bug where the background
would not be drawn anymore.

Bug: 17699850
Change-Id: Ibdb8f75f53da2806dcd7dd1386ebcc345b012f47
2014-10-06 16:54:46 -07:00
John Spurlock
4bebb1dc5e Update framework icons for media & alarm streams.
Update resources to new style and remove obsolete items.

Bug: 17762712
Change-Id: Ibec121828084934cc066afe117f66b6a0eea603f
2014-10-02 20:11:37 -04:00
John Spurlock
27c7b9295d Supertoast when user changes zen mode.
If the user selects a new zen mode, display a quick toast
with the mode icon + text to aid in association.

Also fix a recent regression in the zen subhead alignment.

Bug:16215680
Bug:17641211
Change-Id: I4ead88d81be4d9c26459aed82c47b8c2fb32eafa
2014-09-25 15:04:32 -04:00
Selim Cinek
9aefd41557 Merge "Removed round rect clipping and hardware layers from recents" into lmp-dev 2014-09-18 18:33:26 +00:00
Selim Cinek
e8199c582d Removed round rect clipping and hardware layers from recents
This saves us a lot of memory and we avoid the clipToOutline.
The view still looks the same, as we now draw the thumbnail
in a rounded rect.
We now only use a hardware layer on the header, which is much
smaller.

Bug: 17522143
Change-Id: I197a1172efe8450ffb0b537c780a240d38f84275
2014-09-18 14:26:35 +02:00
Dan Sandler
4455da985d Living with the LLand.
Bug: 15984887
Change-Id: I2a42a064587db3478d865348f860bda07217f7dd
2014-09-18 06:57:28 +00:00
Selim Cinek
92d892c0cd Changed the swipe up search affordance
The previous card animation is removed and replaced by a animating
circle with a shadow. Also fixes several cases where the card could
either get stuck and the affordance was not launched.

Bug: 17457300
Bug: 17444236
Change-Id: I005313a1dbe63d338490e6100dd3bd01e35687ba
2014-09-15 17:25:40 +02:00
Alexandra Gherghina
64d4dca63f Assign default icon to users at creation time and in SystemUI.
Right now different code in System UI, Settings app and other places replace the
user icon with their own default. This tries to make it consistent by moving the
mechanism used in Settings in a helper class.

Bug: 17311038
Change-Id: Ic858c65bf82a98b9806dbba029e7cdcf441f372e
2014-09-12 15:43:42 +01:00
Winson Chung
7937fdb341 Fixing weird highlight on dismiss button ripple. (Bug 17420495)
Change-Id: I769c0647417efeda9b39913c01c62be0d6ff7887
2014-09-09 22:47:43 +00:00
Jason Monk
3128f12f21 Add VPN Key to signal icons
Since the notification is going away, this gives a persistent
icon to indicate that VPN is active.

Bug: 16153201
Change-Id: Ic2ca7a332817967b76871bd0800d6f0a77a295cd
2014-09-05 10:31:00 -04:00
Dan Sandler
6704cb980b Merge "Adjust iconography in notification guts." into lmp-dev 2014-09-03 22:14:32 +00:00
Dan Sandler
f4db75c20b Adjust iconography in notification guts.
(i) is now the system's app notification info panel,
      allowing you to block, prioritize, and things like
      that.

  (gear) is new; it will appear only if your package has a
      notification settings activity of its own. If the user
      taps this you'll be launched with some useful extras:
      notification_id and notification_tag, matching the id
      and tag of the notification the user longpressed.

Bug: 17005733
Change-Id: Ib09264c2564152ab27e744c47ed87a0e9223656f
2014-09-03 18:15:26 +02:00
Jorim Jaggi
0c06d6bff1 Merge "Status bar iconography updates" into lmp-dev 2014-09-03 12:56:16 +00:00
Jorim Jaggi
5172dc2f36 Status bar iconography updates
- Use new assets for location, flightmode and "more" notifications
  icon.
- Update icon size and clock to spec.
- Change from fixed width of the icons to WRAP_CONTENT, so they look
  more evenly distributed.
- Adjust subpixel rendering of battery icon to match other vector
  icons.

Bug: 16161255
Change-Id: I0a80f223b7d532bc53a201cff37b8f1cb09f08c2
2014-09-02 23:52:48 +02:00
Selim Cinek
b2da91b14f Notifications are now selectable by the Keyboard
Also adapted the ripple colors a bit to be more visible.

Bug: 17203303
Change-Id: I7d0446d2641bcabb1e09b3af9535d88c4142e216
2014-09-02 17:35:20 +02:00
Selim Cinek
f0fc0a4ec4 Merge "Notification guts have now the actualHeight of the notifications" into lmp-dev 2014-09-01 19:16:24 +00:00
Selim Cinek
024ca598dd Notification guts have now the actualHeight of the notifications
Before it just had the height of the notification leading to bugs
in cornercases during animations and swiping.
Also updated to colors to use system colors.

Bug: 17333457
Change-Id: I00d87820595a789006632c582e8c35759a61969d
2014-09-01 21:14:59 +02:00
Chris Wren
cd8f4f71fc Disable lockscreen notifications for secure users on upgrade.
Add a notification for those users that teaches them how to re-enable
the notifications.

Bug: 15934899
Depends-On: Ie0bcc207c4f331def207e588bbad36b8986fe114
Change-Id: I4a169e268042cfcaa4ad80cdf205904f9c90e76d
2014-08-29 20:49:36 +00:00
John Spurlock
98f8a04620 Merge "StatusBar: Add new icon slot for cast status." into lmp-dev 2014-08-27 13:58:14 +00:00
John Spurlock
96fe98d0c0 StatusBar: Add new icon slot for cast status.
Bug:17275998
Change-Id: I7e80b3d76480fc2fdcb3aa5d445d895829d341d0
2014-08-27 09:36:02 -04:00
Jorim Jaggi
31fc3e8047 Update IME switcher icon
Also make the transparency consistent with the other icons.

Bug: 15597889
Change-Id: Ia5c8ea0bed192b57c552c62358b365d979c4b062
2014-08-26 20:42:38 +02:00
John Spurlock
b4782526f5 Display notification effects suppressor in the volume panel.
Bug:16958514

Change-Id: I0eac173875e8af62e3c6b39001722c3fda4517de
2014-08-22 18:08:17 -04:00
Jason Monk
e8847bd831 Merge "Update VPN Icon to key." into lmp-dev 2014-08-21 14:06:53 +00:00
Jason Monk
e5656c75fe Update VPN Icon to key.
Bug: 16153201
Change-Id: I7d1dd3ca85a6f9325a6443da0e0bcb2ae8c51ab3
2014-08-20 15:54:00 -04:00
Adrian Roos
fd3b324feb Merge "Implement trust managed visuals" into lmp-dev 2014-08-16 04:29:45 +00:00
Adrian Roos
2e3ccbb37e Implement trust managed visuals
Updates the trust managed indicator to match the
speced visuals and behavior.

Bug: 15519687
Change-Id: I2be04e8b37f3b5d9865ae4d25b46222cafadd113
2014-08-20 18:54:25 +02:00
John Spurlock
06b7b61352 Copy framework internal resources for indeterminate anim.
Bug:14622065
Change-Id: Icfe4df5b01f342b7d3dc792e03391dc764abd59b
2014-08-20 11:44:45 -04:00
Selim Cinek
3f11dede31 Removed bugreport tile code from Quick settings
And also the corresponding string / drawable

Bug: 15385554
Change-Id: If1482a20274439891e6dda1f9f2f8b6a26ed2b51
2014-08-19 13:09:36 +02:00
John Spurlock
465cefa1a2 QS: Add scanning progress state indication.
- Create a modified version of the new platform horizontal
indeterminate progress indicator, and align it to the bottom
of the header.
- Ensure the scanning state takes the active detail panel into
account.

Bug:16145178
Change-Id: I7f80c458ff6565aa00085da9059a4e9fe7e49233
2014-08-16 10:54:24 -04:00
Jorim Jaggi
e210cc8e94 Make clock larger on tablets
Also fixes "Large text" option on lockscreen and fixes Keyguard
layout on smaller devies. In addition, make sure that landscape
layout for phones isn't terrible broken (it's not pretty but
it works).

Bug: 14994495
Bug: 15589636
Bug: 16799035
Change-Id: I9ab76af41cbecd1a727d019e422765efbbd3276d
2014-08-14 12:30:14 +00:00
Winson Chung
a0e88b5013 Implementing Recents focus states. (Bug 16950262)
- Fixed issue with focus going to send front most task when coming from Home
- Adding shortcut to dismiss a task
- Refactoring code to get secondary overlay and affiliation color
- Throttling alt-tab key presses
- Fixing issue with slivers of the task thumbnail being visible for affiliated tasks

Change-Id: Iaafe408318646a423fd58b51bbe93dbe0f2eed99
2014-08-12 23:18:34 +00:00
Adrian Roos
cd542b8a98 Update brightness slider thumb and spacing
Also fixes a few errors in the measuring logic.

Bug: 15170399
Change-Id: I7ce7edef0a08dc00ef747988cd64e40a9fbae192
2014-08-12 21:04:26 +00:00
Adrian Roos
5fd872e8ea Hide panel while changing brightness
Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654
2014-08-12 17:27:41 +00:00
Dan Sandler
e9a4e90db6 Link to new app notification settings from the inspector.
Also hide the inspector whenever the keyguard changes state,
to make sure we don't leave any notification guts lying
around when you turn the screen on and off or unlock.

Bug: 16208321
Change-Id: I47cf6a0cb82e765eb6b50984972f57616b534ed3
2014-08-07 12:04:36 -04:00