8658 Commits

Author SHA1 Message Date
Selim Cinek
b688bf7ceb Fixed a bug where the device could not be unlocked.
When the Notifications could be scrolled, the shade could not
be closed.

Bug: 15643474
Change-Id: I59b9f55c0290da7683ce7fd40effc4b5413e4267
2014-06-16 16:36:51 -07:00
Baligh Uddin
9aa192c210 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Baligh Uddin
7a5ae205fc Import translations. DO NOT MERGE
Change-Id: Ic5be9149b760c096c0c850e8a9a0f60bd62d819c
Auto-generated-cl: translation import
2014-06-13 12:01:20 -07:00
Winson Chung
47f166dd8c Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)
Change-Id: Ie25f0037a4f8bf8c3069d50e3a0ad670125be9a1
2014-06-13 16:01:05 +00:00
Baligh Uddin
da8a64b80b Import translations. DO NOT MERGE
Change-Id: Ibdd11bf4b5a0ebb0394400688dd0e38a70660a62
Auto-generated-cl: translation import
2014-06-13 07:20:46 -07:00
Jorim Jaggi
67de52cd2e Merge "Bigger clock." into lmp-preview-dev 2014-06-12 05:34:42 +00:00
Jorim Jaggi
220bf5cf9a Bigger clock.
Also fixes a bug where notifications would be wrongly padded
on Keyguard after rotating the screen.

Bug: 15244051
Change-Id: I2418692c3d2ffdd5fe642361f2924629bf9a75eb
2014-06-14 22:43:12 +02:00
Jorim Jaggi
ea384193d9 Change style of clock in status bar.
Bug: 15570452
Change-Id: I39ec2e2a18d382f378d5cccd94a6a8630b55a240
2014-06-14 06:22:34 +02:00
Jorim Jaggi
587e9e1831 Merge "Revert "Improve unlock motion."" into lmp-preview-dev 2014-06-13 21:09:46 +00:00
Jorim Jaggi
cc693247dc Revert "Improve unlock motion."
This reverts commit 03599a4c8fcc539948174136878f5e0ceec1eeda.

Change-Id: Iacd5f7ecd755ee2c8efdf1e37060a21702bcf08a
2014-06-14 03:04:35 +00:00
Jorim Jaggi
fd9d4414e8 Improve unlock motion.
Bug: 15244051
Change-Id: Ib33a7a8e27a2dc191c6e18ffe1cd2725dfa3bb37
2014-06-12 06:08:12 +02:00
Jorim Jaggi
8f4ac9e214 Merge "Revert "Introduced fading views for the camera interaction on the lockscreen."" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Jorim Jaggi
a27b004ca0 Revert "Introduced fading views for the camera interaction on the lockscreen."
This reverts commit 4f963c1b557010bf453af500b00f36b68988f8e2.

Change-Id: I8c7df9d115be1b89b57fb9c9bb2a12b4c1d45520
2014-06-14 03:58:56 +00:00
Selim Cinek
1aed973665 Introduced fading views for the camera interaction on the lockscreen.
Bug: 15126905
Change-Id: I82b0050a4216873d9cd191b32d1e5bf6871acbd6
2014-06-12 03:33:14 +00:00
Christian Robertson
5a1f97abca Merge "New geometric system bar icons" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Christian Robertson
7f37ab64a1 New geometric system bar icons
Bug: 15599260
Change-Id: I37688f368ce22f1dc30119fe174ce701c7c147cc
2014-06-13 17:42:45 +00:00
Jorim Jaggi
0a27be899c Fix blank lockscreen.
Bug: 15281241
Change-Id: If315891274a97fa5cc579554b83b85cf3c87f0fb
2014-06-11 15:45:22 +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
Winson Chung
91b7d2b4fb Merge "Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)" into lmp-preview-dev 2014-06-11 21:23:31 +00:00
Winson Chung
8175a7c2e6 Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)
Change-Id: Ic04dc2ef73c75d63e107e7b50842dd618d3a173a
2014-06-11 14:19:53 -07: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
John Spurlock
edbfd04060 Merge "Brightness slider no longer displays the automatic icon." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
6d20526adf Brightness slider no longer displays the automatic icon.
Bug:15414855
Change-Id: I3a1b8e7758e41abd172c20177f42452077bfc7a7
2014-06-10 19:28:03 -04:00
Winson Chung
6f6f273df6 Merge "Updating Recents to make the cards slightly more visible." into lmp-preview-dev 2014-06-10 22:00:10 +00:00
Jorim Jaggi
ce3d6c4c02 Merge "DO NOT MERGE: Fix paddings for user switch and status bar icons." into lmp-preview-dev 2014-06-10 21:21:32 +00:00
Selim Cinek
e299793343 Fixed the calculation of the clipTopAmount which lead to holes.
The clipTopAmount was calculated with a cached value and not the
calculated one which could lead to weird holes in the shade.

Bug: 15588355
Change-Id: I281858e5b955c8846af8ab63e58211091559621b
2014-06-12 22:37:13 +00:00
John Spurlock
0c377a9024 Merge "PowerUI: dismiss warning notifications when falling back." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
eb44a7de47 PowerUI: dismiss warning notifications when falling back.
The full-screen intents simply fire broadcasts to open fallback
dialogs.  This means the warning notifications are left visible
under the dialog on the lockscreen, or after the dialog is
quickly dismissed.

Once we launch the fallback dialogs, there is no reason for the
notification form to exist.

Bug:13329308
Change-Id: I5735c65d7e8eb620493d3ef3a2cfc27f75cecbb5
2014-06-12 13:00:55 -04:00
John Spurlock
8e2c4da2c1 Merge "PowerUI: Remove obsolete workaround." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
0bd2f266a5 PowerUI: Remove obsolete workaround.
No longer need to cancel and repost notifications when
transitioning from/to heads-up.

Bug:15534198
Change-Id: I93e5433e51410c80c2e183976e0041ca1bfeb3c7
2014-06-12 14:53:47 -04:00
Chris Wren
1dafd04247 Fix notification update path for structural updates.
Similar logic is required for the replacement case, as is already in place
for the update case, although the actions are different.

Bug: 15588056
Change-Id: I9ad115237c589716772e569fa1979a206b77097b
2014-06-12 13:51:51 -04:00
Dan Sandler
59c11b5dda Merge "NotificationListenerService: API updates" into lmp-preview-dev 2014-06-10 21:32:31 +00:00
Christoph Studer
d0694b6735 NotificationListenerService: API updates
Introduce RankingMap holding single notification Rankings
indexed by SBN keys.

Also, pass RankingMap with notification event callbacks so
subclasses don't have to call getCurrentRanking() unnecessarily.

Bug: 15415840
Change-Id: Id41e174f00c06c86359c03646abc3db78028b324
2014-06-11 18:27:18 +02:00
Dianne Hackborn
6de057816f Merge "Implement control of auto power save mode." into lmp-preview-dev 2014-06-10 22:06:31 +00:00
Dianne Hackborn
14272302a8 Implement control of auto power save mode.
Follow the setting for auto power save mode in both
battery service and battery UI.  Default level is 15 when
setting is not set; otherwise it is whatever the setting
gives, with 0 meaning auto battery save is off.

Change how we define the "turn off warn" level to be
an adjustment from the warn level, so we can have a good
value for whatever auto setting is set.

Fix power manager to never go in to power save mode when
plugged in, even if the user has manually turned it on.

Add new delete option to settings command, because I needed
it for testing.

Change-Id: I512b691df84399d50b8e751fd50732c6093ebe85
2014-06-11 10:34:26 -07:00
Jorim Jaggi
1a8e848dc4 Merge "Fix blank lockscreen." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
Chris Wren
b6f4ba7a92 Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev 2014-06-10 21:38:43 +00:00
John Spurlock
c830d8f3b1 Merge "SystemUI asset update." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
899f439a29 SystemUI asset update.
- Updated location icons.
- Updated no-sim, plumb up to QS.
- Updated zen mode synthetic notification icon.
- Updated color inversion icons.

Change-Id: I4849fbe11683feab37160c3d23502b01035de66a
2014-06-11 11:04:43 -04:00
Chris Wren
0fdab2fb43 Merge "Manage heads up state during notification update." into lmp-preview-dev 2014-06-11 15:57:38 +00:00
Chris Wren
d04f6cee5f Manage heads up state during notification update.
Notifications can now get the heads up slot on updates.
FLAG_ONLY_ALERT_ONCE suppresses this behavior.

Bug: 15534198
Change-Id: Ie27b7c7d93c590d777670c538fb796a04252046f
2014-06-11 23:53:30 -04:00
Selim Cinek
a32ab60bb0 Fixed a racecondition which could lead to invisible backgrounds
Notification backgrounds could become invisible when doubletapping
a permanent notification.

Bug: 15545215
Change-Id: I799439a368701042b39ca47bcac6fcce281349a7
2014-06-11 15:46:59 +02:00
Jorim Jaggi
44f8d455fe Merge "Improve unlock motion." into lmp-preview-dev 2014-06-10 21:31:35 +00:00
Selim Cinek
98751ac6d3 Merge "Introduced fading views for the camera interaction on the lockscreen." into lmp-preview-dev 2014-06-11 15:57:38 +00:00
Jorim Jaggi
c746e1f6fd Merge "Material navigation bar." into lmp-preview-dev 2014-06-10 21:31:35 +00:00
Dan Sandler
bd7f105022 Material navigation bar.
Bug: 15567777
Change-Id: I248eddca0e75df6ebf421913f12bfa488bb860ec
2014-06-11 22:02:26 -04: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
Alan Viverette
eb29d330c3 Merge "Change ripple tint to color, remove tintMode" into lmp-preview-dev 2014-06-10 20:14:30 +00:00
Jorim Jaggi
598622df8c Merge "Do not override mColor with default color if none set" into lmp-preview-dev 2014-06-10 20:03:23 +00:00
Winson Chung
b13c46e8b7 Updating Recents to make the cards slightly more visible.
Change-Id: I876d39f4aac4007a3fe0c509ccb7db130f27a737
2014-06-10 12:56:24 -07:00