559 Commits

Author SHA1 Message Date
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
Jorim Jaggi
e46f521161 Change scrim on lockscreen and transparency of cards a bit.
Bug: 13635952
Change-Id: Iaae4728fd7ed4944b3a2b80343bbdeaa5438ca9c
2014-04-11 19:28:32 +02:00
Adrian Roos
58aae51102 Merge "Set a dark theme for SystemUI." into master-lockscreen-dev 2014-04-10 23:43:22 +00:00
Adrian Roos
070a0b61cd Set a dark theme for SystemUI.
The default theme for the platform has changed to a
light variant. This puts SystemUI back in the dark.

Bug: 13635952
Change-Id: I230a2078ba6bf5a79c768f0e357fcbd75f283cf8
2014-04-11 01:36:33 +02: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
Winson Chung
00cecfbb32 am 2adb9586: Merge "Allow for different rects when animating to a single task stack view and a multiple task stack view."
* commit '2adb95860f9682ed2c4893da58679540cd8cac56':
  Allow for different rects when animating to a single task stack view and a multiple task stack view.
2014-04-09 23:54:49 +00:00
Winson Chung
2adb95860f Merge "Allow for different rects when animating to a single task stack view and a multiple task stack view." 2014-04-09 23:50:33 +00:00
John Spurlock
1fcb5400b3 resolved conflicts for merge of 3c86a27d to master-lockscreen-dev
Change-Id: Idcf46beb8790ff95566942d1633baf70ca5eddf8
2014-04-09 18:33:06 -04:00
Winson Chung
0d767551c5 Allow for different rects when animating to a single task stack view and a multiple task stack view.
- Fixing regression in task bar enter animation duration
- Fixing issue with extra long titles in the task bar
- Cleaning up some constants and unused code
2014-04-09 14:33:23 -07:00
John Spurlock
bf20eab6fc Put suppressed notifications behind a summary notification.
Bug:13726563
Change-Id: Ib1c3fba3a328792dc674c8403735f75d4db41973
2014-04-09 16:52:20 -04:00
Adrian Roos
9a0a4c9d7e Enable quick settings from lockscreen and merge into one shade.
Change-Id: Ic5b5f54bcfe3816549287f707715e29340522d9b
2014-04-08 18:25:34 +02:00
Winson Chung
e8cfc94ef6 Merge "Fixing crash when filtering tasks too quickly." 2014-04-04 17:22:07 +00:00
Winson Chung
2f2ca08baa Fixing crash when filtering tasks too quickly.
- Using a translation-based animation duration scheme
- Fixing issue where filtering a task could slide it out of view

Change-Id: Id434b4a98aa671d84d047dad18cbe26f543cdf25
2014-04-04 10:18:24 -07:00
Winson Chung
b9a7d8c2c4 Merge "Adding activity icon to the task view" 2014-04-03 21:07:56 +00:00
Winson Chung
5e3e5d8945 Adding activity icon to the task view
- Also fixing issue where the activity icon was being used as the application icon to filter with
2014-04-02 15:44:55 -07:00
Alan Viverette
e3c38a0b0e Fix recents theme, add missing headers
Change-Id: Ib8eea6153eaf7e0e93e54c69fe59e63e98a409a6
2014-04-02 15:39:13 -07:00
Alan Viverette
b325345ef0 Merge "Switch framework Holo references to Quantum.Light" 2014-04-02 22:15:16 +00:00
Alan Viverette
6259933ec9 Switch framework Holo references to Quantum.Light
Change-Id: Ib545a143f1959b6104adbc9d594dd626851d90b3
2014-04-01 14:57:39 -07:00
John Spurlock
1bdb48e31a Zen Mode QS tweaks.
- Move settings button to the bottom.
 - Align title left.
 - Fix padding.
 - Auto-activate on dialog launch.

Bug:13670014
Change-Id: I5a88e97a84b66bf6200473c147b71cc7ceeb0b95
2014-04-01 16:38:05 -04:00
John Spurlock
0e14f2d455 Merge "Remove obsolete MultiWaveView" 2014-03-28 13:11:09 +00:00
Selim Cinek
ddaba4360b Merge "Initial implementation of NotificationStackScroller" 2014-03-27 14:28:56 +00:00
Jorim Jaggi
73581effb0 Merge "Move legacy notification processing to Notification.Builder" 2014-03-27 14:25:17 +00:00
Selim Cinek
67b2260093 Initial implementation of NotificationStackScroller
Change-Id: Ida9a90ca4c9645166794afea8cf0c1d1b7afe1b4
2014-03-27 14:56:07 +01:00
Jorim Jaggi
5c2d84675b Move legacy notification processing to Notification.Builder
Bug: 13485610
Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
2014-03-27 12:08:55 +01:00
John Spurlock
4f0db5e23a Remove obsolete MultiWaveView
Change-Id: Ic878221c873d29577928aed2669f967851307e4d
2014-03-26 21:52:03 -04:00
John Spurlock
eeb397b77f Zen mode updates.
- Now only two modes, no more ZEN_MODE_FULL.
 - Alarms are allowed by default.
 - Interstitial dialog cleanup to follow current UX.

Change-Id: I8e4c8f64854dabfef69ad33b3eb35bee07e55ef7
2014-03-26 13:41:54 -04:00
Winson Chung
37c8d8ef85 Moving task view layout into resource.
- Using new activity icon/labels

Change-Id: If27bf60d2df75813213e9f3095baeb03085da8f7
2014-03-24 15:55:39 -07:00
Winson Chung
303e1ff1fe Initial changes for recents.
Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
2014-03-11 12:03:08 -07:00
Jorim Jaggi
39fa59fc49 Change appearance of notifications to light theme.
Change-Id: Ic15e96582d6b46b4dc195b1c7c0cef38f25f0d38
2014-03-07 14:34:17 +01:00
Alan Viverette
858a0405ec Add icons for display adjustment quick settings
BUG: 13028934
Change-Id: I437abc48ad34364995b37c504019f7a4871c8031
2014-03-06 18:36:43 -08:00
Chris Wren
8fd39ec46b create a synthetic 2U heads up notification
combine the 1U with the action buttons to make a mid-sized notification
bounded to 128dp by the system ui
used for the heads up

Bug: 13208692
Change-Id: I382bb0bd1ce73f35295f05ca2606195986cff1d3
2014-02-28 11:20:11 -05:00
John Spurlock
29786fc72d Make QS battery composite color match others.
Change-Id: I2a906cd997d2372f5740532a159f04ad857d393d
2014-02-04 17:55:47 -05:00
John Spurlock
4b786ff4b5 Battery meter: remove bolt color compromise & improve pct.
- Bolt remains opaque (white) below a threshold level, otherwise
   transparent.
 - Draw the entire shape using a path, removing the need for a
   software layer.
 - Use a similar approach to make the percentage text readable,
   but this still requires a software layer (since text is involved).

Bug: 12131168
Change-Id: Ifde5e99121155bf1be171f44b2c80c116b17c9e7
2014-01-08 15:04:50 -05:00
John Spurlock
8ab172e8d9 Add rotation-lock to Quick Settings on phones.
Make the rotation-lock QS tile available for display on phones.

Devices < sw600dp are only allowed to lock rotation to their
natural orientation (i.e. portrait on most phones), so tweak
the QS tile label to make this clear.  e.g. "Locked to Portrait"
instead of "Rotation Locked" on portrait phones.

Simplify RotationLockController now that the sw600 check is no
longer hardcoded in RotationPolicy.

Remove redundant sw600dp check in SystemUI, everything driven
from the RotationPolicy helper, though SystemUI can still
choose not to display the tile at all with a resource config.

Clean up some of the docs in RotationPolicy to make clear the
subtle distinction between the two ways of locking rotation:
 - From Accessibility (locks to natural orientation on all devices)
 - From System UI (locks to natural < sw600dp, else current rotation)

Bug:11062710

Change-Id: I5caa4485c9501315da9fed964d6667d3012b43cb
2013-12-19 17:47:20 -05:00
John Spurlock
74d2480845 Move moveable non-public framework resources up to SystemUI
Specifically, non-public resources only referenced by SystemUI
and nowhere else in frameworks or system apps (via @*android:)

Remove orphan resources found during the process.

Change-Id: I005514ff1ce52e1622849bc01cd825b09fa55842
2013-12-02 17:37:40 -05:00
Jeff Brown
1aebcb9b93 am d2169447: am 2bced6dc: am a7a46a66: Merge "Update cast screen strings." into klp-dev
* commit 'd21694476563e9a6efc833b78a141e9de2bb35d3':
  Update cast screen strings.
2013-11-14 17:37:30 -08:00
Jeff Brown
cef34fce3c Update cast screen strings.
Bug: 11257292
Change-Id: Ia66152985bafcdd8ec88a3145623536a2b439b78
2013-11-14 16:03:36 -08:00
Jeff Brown
7671231d41 am e5ae0bfd: am a20f625c: am 41b92b00: Merge "Finalize assets for screen casting." into klp-dev
* commit 'e5ae0bfdf7933d7ea8bec94f0c7e25347c423710':
  Finalize assets for screen casting.
2013-11-13 09:02:27 -08:00
Jeff Brown
e7ae644522 Finalize assets for screen casting.
Extend wifi display connection timeout.

Show a notification while connecting to wifi display.

Ensure that remote display providers are really trusted before
connecting to them.

Bug: 11257292
Change-Id: Iad0caaa30d7946df818bc75ade071f2e377f8a53
2013-11-13 02:17:53 -08:00
Jeff Brown
ae9bf8dd42 resolved conflicts for merge of 6a1a2f9b to master
Change-Id: Ie204a484b9b989a66423b756bb4743d7018c0884
2013-11-07 21:25:26 -08:00
Jeff Brown
635e915296 Integrate remote display providers into Quick Settings.
This is a first pass at integrating new remote display functionality
into Quick Settings.  The Wireless Display card which previously
only supported Wifi Display is reimplemented to use the media router
to enumerate available remote display routes.  This ensures that the
user is presented with a consistent state regarding the currently
selected display route.

In this patch, the Wireless Display card still launches the old
Settings preference page for Wifi Display when clicked.  This will be
addressed in future patches.

As part of this change, it was necessary to derive some new lifecycle
information regarding the visibility of the Quick Settings model.
When Quick Settings is shown, an onPrepare event is delivered to
give the model a chance to update its state.  Likewise when Quick
Settings is hidden, an onUnprepare event is delivered.

These events allow the system to determine precisely when remote
display discovery is required to update the UI so as not to waste
power performing discovery in the background all of the time.

Bug: 11257292
Change-Id: Id802aa0983b625aeb972b5d123e4cc080dd6705f
2013-11-07 16:07:18 -08:00
Victoria Lease
3efe709991 am df5ba9bf: am d19e7af0: am 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev
* commit 'df5ba9bfeb8e77522fbea7cb60bd0d9da8fb5276':
  add accessibility string for location quicksetting
2013-10-23 11:18:32 -07:00
Victoria Lease
3ac54a3a51 add accessibility string for location quicksetting
This gives the location quick setting the same ability that all the
other quick settings have: the accessibility text can now be
different from the display text.

Bug: 11010329
Change-Id: I0dee7b6f974b4e1dc314a35e39d907e90dc8dc3c
2013-10-14 14:54:10 -07:00
Alan Viverette
2a64861344 Update string for translation
BUG: 11161348
Change-Id: I54b830cfba2703f3a32d7135b2aff7307754c0be
2013-10-10 12:22:57 -07:00
Chris Craik
2b1ed49c48 am df947299: am 2b126b6c: am 46ec729a: Merge "Clean up unused resources" into klp-dev
* commit 'df9472996a73eba58fdb80448dfe6c15a8aeaba4':
  Clean up unused resources
2013-10-08 10:33:59 -07:00
Chris Craik
641ac6429a Clean up unused resources
bug:10641374

Additionally, fixes incorrect getColor use

Change-Id: Ie56ad5baa099cc421629a5dcc8ef9de14e44079a
2013-10-07 11:00:33 -07:00
Alan Viverette
467e4ffbbc Merge "Add accessibility display adjustments to Quick Settings" 2013-10-04 22:38:18 +00:00