471 Commits

Author SHA1 Message Date
Jorim Jaggi
44f8d455fe Merge "Improve unlock motion." into lmp-preview-dev 2014-06-10 21:31:35 +00:00
Jorim Jaggi
fd9d4414e8 Improve unlock motion.
Bug: 15244051
Change-Id: Ib33a7a8e27a2dc191c6e18ffe1cd2725dfa3bb37
2014-06-12 06:08:12 +02:00
John Spurlock
3332ba54ae Heads-up notifications for low battery warnings.
Falls back to dialogs when heads-up are N/A.

Add new ongoing notification if battery saver mode
is active.  Offer to start battery saver on warnings,
if not already started.

True up BatteryMeterView's levels to the latest threshold
levels.  15% for first warning.

Bug:13329308
Change-Id: Id8ad11a1997079ee7165ae003a8fa1c744462ab3
2014-06-11 19:38:00 -04:00
Selim Cinek
1e119db1a3 Changed the visual appearance of the speedbump view.
The colorfulldots are replaced by a simple line to avoid
catching too much attention.

Bug: 15188625
Change-Id: I41be50dcc61d495f3bc88e4731388f770fda83d0
2014-06-11 19:53:18 +00:00
Jorim Jaggi
80f5e3c08d DO NOT MERGE: Fix paddings for user switch and status bar icons.
Paddings approved by allysont@ for preview build.

Bug: 15540707
Change-Id: If7288d032b9625e0fbb5b657afcf680d178e63ee
2014-06-10 20:31:58 +00:00
Jorim Jaggi
36b15237a6 Fix black background for auto-redacted legacy notifications
Also removes the wrongly implemented Froyo compatibility mode, as now
all the notifications are light and the background is provided by us,
it's again like in Froyo-world! :-)

Bug: 15295371
Bug: 14105711
Change-Id: Icbae15e690494465b0e63935d81d59edfa05e76e
2014-06-10 19:24:42 +02:00
Dan Sandler
44c0dfd52f Pour one out for the old notification ticker.
Heads-up notifications are what it always wanted to be,
anyway.

Bug: 14588447
Change-Id: I64aa1ed85fb162d8577468019e68df9de183a992
2014-06-09 16:55:02 +00:00
Alan Viverette
3cb07a462b DO NOT MERGE Material theme
BUG: 15467097
Change-Id: I15191362e104a902895418fc615892c21db64c35
2014-06-06 14:19:53 -07:00
Adrian Roos
3b60d3fe9d Merge "Display time to charge on lock screen" into lmp-preview-dev 2014-06-04 15:18:19 +00:00
Adrian Roos
12c1ef57d0 Display time to charge on lock screen
Bug: 14410848
Change-Id: I7ffad4dcc83ceeaeb29342439de11c91b4d63ce8
2014-06-04 17:15:40 +02:00
Selim Cinek
dffb3e7ed0 Merge "Changed the overscroll and expanding behaviour." into lmp-preview-dev 2014-06-04 15:02:55 +00:00
Jorim Jaggi
e37bd648e6 Merge "Fix more card appearance to spec from design." into lmp-preview-dev 2014-06-04 14:59:45 +00:00
Jorim Jaggi
b741f05339 Fix more card appearance to spec from design.
Bug: 15392952
Change-Id: I4539b48af33dc6838ef0c59dac7ca08fc1a2bd03
2014-06-04 16:58:33 +02:00
Selim Cinek
1408eb5a58 Changed the overscroll and expanding behaviour.
Only the first selected element will be expanded, no subsequent children.
Afterwards, overscrolling is performed.
This improves overscroll consistency a lot and people don't accidentally
expand unwanted notifications, just the one they wanted to.
If the users primary intent is overscrolling (i.e if he drags on a card
which is already expanded), then we allow him to go to the quick settings.

Bug: 14487435
Bug: 15181651
Change-Id: I978cc4e06ae85c2ca69e15a149cb85ac54b2ef35
2014-06-04 16:43:07 +02:00
John Spurlock
012d4a229c QuickSettings: Tile label string updates.
Bug:15186962
Change-Id: I4a1167e094de81ffbcb498815bb1c7c03fc2be7b
2014-06-04 00:42:29 -04:00
John Spurlock
ed33da1734 QuickSettings: System accent color for seekbars.
Decouple system ui's seekbar's color from the platform
default.

Bug:15186962
Change-Id: I8e4f5605bf5f8be32b290e588d2d854e908f2387
2014-06-04 00:18:27 -04:00
Jorim Jaggi
a52c68772d Merge "Animate unlock icon while unlocking." into lmp-preview-dev 2014-06-03 19:25:56 +00:00
Winson Chung
6b264f6e7b Merge "Fixing crash, ensuring that we get the post-animation callback, adding nav bar scrim (Bug. 15157307)" into lmp-preview-dev 2014-06-03 16:19:58 +00:00
Jorim Jaggi
8dd95e03f8 Animate unlock icon while unlocking.
When the user reaches the threshold such that the gesture is accepted
as an unlock, the icon scales a bit and gets fully opaque. When the
user flings, it gets even larger and fades out.

Bug: 15163546
Change-Id: Icd963aa8f7268712f239b204cdfa61ebc2baf4d0
2014-06-03 16:21:40 +02:00
Jorim Jaggi
b3f0a2ff00 Hint for phone and camera.
Bug: 15189049
Bug: 15126962
Change-Id: Ie28fc8202ace4af56542201d168572ef6ad78d19
2014-06-03 15:31:19 +02:00
Winson Chung
521e7dc0a6 Fixing crash, ensuring that we get the post-animation callback, adding nav bar scrim (Bug. 15157307)
Change-Id: I601ee7eda22a4b5ecb2e6835d55ed6539c5cd503
2014-06-02 17:33:09 -07:00
Jorim Jaggi
457cc35608 Hide header when notifications collide with it on Keyguard.
Bug: 15163546
Change-Id: If4f39786916df75537959a8104823353c475448f
2014-06-02 21:34:33 +00:00
Jorim Jaggi
58136d0211 Merge "Implement unlock hint." into lmp-preview-dev 2014-06-02 13:36:42 +00:00
Jorim Jaggi
9012958742 Implement unlock hint.
Before, users didn't have any clue how to unlock their phone. Now
they have. Also, a tap now dismisses the notification shade in the
unlocked state.

Bug: 14080971
Bug: 15189435
Bug: 15282191
Bug: 15126962

Change-Id: I779344b043b4415809dd98217b7cb9ff6d57fa3e
2014-06-02 15:35:54 +02:00
John Spurlock
d1c86e2cb2 QuickSettings: Icon updates + BT connecting state.
Bug:15186962
Change-Id: I56de6f3cabcb36b13617d4027323a078cceb9587
2014-06-01 00:04:53 -04:00
Adrian Roos
5d9cc668e1 Update HUN visuals to UX spec
Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb
2014-05-31 13:43:44 +02:00
Winson Chung
b2f4bc8727 Merge "Updating paddings to design spec." into lmp-preview-dev 2014-05-30 21:06:18 +00:00
Winson Chung
cd23c849af Updating paddings to design spec.
Change-Id: I11286937216494304c38c87280bc69ef9522c596
2014-05-30 11:44:27 -07:00
John Spurlock
303170e5c2 Merge "QuickSettings: Maintain tile panel Y in detail mode." into lmp-preview-dev 2014-05-30 17:40:23 +00:00
John Spurlock
3e04cc8c9b QuickSettings: Maintain tile panel Y in detail mode.
Hide the brightness slider to reduce visual clutter.
Stabilize the tile panel further by preventing it from
shrinking to less than the tiles height.

Bug:15341870
Change-Id: I785ff9c13f8489e86e3bdc8dde45ebd39f9a1413
2014-05-30 13:14:16 -04:00
John Spurlock
2078caf797 VolumeZen: shadow protection for volume dialog.
Bug:15186962
Change-Id: I8525e62348e2cc8b68b938d2f7d986f5cbe0273f
2014-05-29 22:20:14 -04:00
John Spurlock
3bd4feec3d QuickSettings: visual updates.
- Update style for do not disturb subhead.
- Fix strict mode warning setting zen from volume panel.
- Longer delay in volume panel when expanded.
- Update zen icons.
- Update header peek height.
- Update detail pane back icon.

Bug:15186962
Change-Id: Icb8b95656f866bf9b0aa076d0b85c019a77e76c0
2014-05-29 20:51:09 -04:00
John Spurlock
414a486e4c Merge "QuickSettings: Hide the expanded header in detail mode." into lmp-preview-dev 2014-05-29 23:43:51 +00:00
John Spurlock
5729d090ab QuickSettings: Hide the expanded header in detail mode.
When a tile's detail panel is showing, hide the header
panel above - giving it more real estate.

Bug:15315490
Change-Id: I8aac0ec0eae5dad7393e334107b6aeac76f54545
2014-05-29 19:37:48 -04:00
Winson Chung
602de03cf3 Enabling shadows again.
Change-Id: I4e4a771a7be3f696383059cb608e78dd6315a47a
2014-05-29 15:43:11 -07:00
Winson Chung
b01ed681fe Fixing issue with configuration states not being reset on configuration change.
- Also updating some interpolators

Change-Id: Ia29fc6f10705c7d286246162f894a25de7b4be40
2014-05-29 14:44:27 -07:00
Winson Chung
24cf152483 Updating task view style, fixing performance on enter-recents animation.
Change-Id: I42ca9296170a93a14184ae8963abbd3f0494e503
2014-05-29 12:30:26 -07:00
Selim Cinek
4c6969a512 Implemented basic camera and phone affordance.
The phone and the camera can now be accessed when swiping anywhere
on the background of the keyguard in the corresponding direction.

Bug: 15126905
Change-Id: If5551078676275764d5b7ddbca6e71cf008a1904
2014-05-28 15:56:22 +02:00
John Spurlock
8600534df6 VolumeZen: combine ringer/notification volume and zen.
- Implement a new volume panel widget, combining volume and
  zen mode + conditions.
- Show zen mode + conditions when modifying ringer or notification
  streams.
- Host the volume panel widget in a dialog when being controlled
  by the audio service / volume keys.
- Remove support for multiple sliders in the volume panel.
- Remove support for separate ringer + notification volumes
  in the volume panel.
- Move volume panel resources up to SystemUI.
- Create a new combined Notifications quick settings tile.
- Host the volume panel widget in the quick settings panel under
  Notifications.
- When the quick settings detail panel is visible, route the volume
  keys to the embedded widget instead of showing a redundant dialog.
- Create common styles for quick settings text to be closer to spec.
- Update the framework resources for the ringer stream.
- Show the ringer icons in global actions.
- Add "until you turn this off" back as a separate zen condition.
- Disable time condition buttons when they are N/A.
- Don't allow volume changes to set ringer mode silent.

Bug:15186070
Change-Id: Id5e321dd1d5e7c4cf3917027ffbdf7e80d38b00d
2014-05-27 10:08:00 -04:00
Adrian Roos
41b170d606 Merge "Replace KeyButtonView's custom glow with Quantum Ripple" into lmp-preview-dev 2014-05-26 20:54:13 +00:00
Jorim Jaggi
7c1d454da1 Merge "Improve scrim handling" into lmp-preview-dev 2014-05-26 20:44:52 +00:00
Jorim Jaggi
ecc798e666 Improve scrim handling
Bug: 15163546
Change-Id: I0d2c05b035f832f4b4e6a2fc34113fe9d5677525
2014-05-26 22:41:16 +02:00
Adrian Roos
cde52d77eb Replace KeyButtonView's custom glow with Quantum Ripple
Bug: 15212514
Change-Id: Ia66bccd627c123f637d67076f78ab418c3f9e835
2014-05-26 22:40:52 +02:00
Adrian Roos
279582689b Merge "Update open lock icon with actual assets from UX" into lmp-preview-dev 2014-05-26 14:43:16 +00:00
Jorim Jaggi
f62f2bbcf2 Make QS panel peek below the header.
Bug: 15210059

Change-Id: I84e45092b3c9c397da8b458dbaa136fd52e665a6
2014-05-26 16:11:14 +02:00
Selim Cinek
72b6f4d4d9 Decreased shadows between notifications slightly.
Bug: 15181880
Change-Id: Iee71e4ebf95df044b7bbdd3044cb69455d704150
2014-05-23 14:59:51 +02:00
Adrian Roos
3ef2a7cbc3 Update open lock icon with actual assets from UX
Bug: 14295559
Change-Id: Ia9f94688a8776517e964bf7c84d71575d0ef985c
2014-05-23 12:36:06 +02:00
Jorim Jaggi
05b7e2c671 Merge "Change fling behavior of PanelView." 2014-05-21 23:24:10 +00:00
Jorim Jaggi
01ad7a18c2 Merge "Make velocity tracker used in panel dependent on config." 2014-05-21 23:23:56 +00:00
Winson Chung
7220faeec6 Merge "Small perf tweaks." 2014-05-21 23:12:32 +00:00