8498 Commits

Author SHA1 Message Date
Selim Cinek
b72b09cb5e Merge changes I884b6830,Iee71e4eb into lmp-preview-dev
* changes:
  The layertype was incorrectly restored with overlapping alpha animations.
  Decreased shadows between notifications slightly.
2014-05-23 17:33:23 +00:00
John Spurlock
6627ff6d9d QuickSettings: Use connectivity manager for airplane mode.
Bug:15187219
Change-Id: I8455d062a9d974a464abff3c656ca18d6da3fe9d
2014-05-23 12:59:27 -04:00
Selim Cinek
1efb240c1a The layertype was incorrectly restored with overlapping alpha animations.
This could lead to weird clipping bugs on the lockscreen. We now simply
set its type to back to NONE after the animation.

Bug: 15186220
Change-Id: I884b6830d748309105ed62471cb8b6dee71d51fe
2014-05-23 17:33:00 +02:00
John Spurlock
d08f91fa67 QS: Reset user activity timeout on the lockscreen.
If the quick settings panel changes, call userActivity to
delay the screen timeout.

Bug:15166195
Change-Id: Ie32fb39c5a975d9cf0d80d7fdf711177028a6b5c
2014-05-23 11:03:05 -04:00
Selim Cinek
72b6f4d4d9 Decreased shadows between notifications slightly.
Bug: 15181880
Change-Id: Iee71e4ebf95df044b7bbdd3044cb69455d704150
2014-05-23 14:59:51 +02:00
Selim Cinek
8a4729d871 Merge "Improved the animation logic of the stack scroller." into lmp-preview-dev 2014-05-23 12:50:30 +00:00
Selim Cinek
8efa6dde2b Improved the animation logic of the stack scroller.
Newly introduced appear and disappear animations when in the shade.
Also introduced individual child delays such that notifications
appear in a slightly more appealing quantum way.
Also fixed a racecondition, such that added notifications already
have their final visibility state when they are added to the scroller.

Bug: 14081264
Change-Id: I18f5c57c2206f8e05996253981f540e97521e102
2014-05-23 14:43:17 +02:00
Adrian Roos
818301b543 Remove unnecessary layout request from Keyguard
Reverts the fix for 7137389 that does no longer apply after
the architectural change of Keyguard and SystemUI.

Bug: 15088101
Change-Id: Ic9234a9e69363b65b6e121eab498cb8d74660c91
2014-05-23 14:38:34 +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
Christoph Studer
d57f8fc42d Merge "SysUI: Implement NotificationListenerService in StatusBar" into lmp-preview-dev 2014-05-23 09:22:34 +00:00
Christoph Studer
0cc609606a Merge "SysUI: Use SBN keys instead of IBinder keys DO NOT MERGE" into lmp-preview-dev 2014-05-23 09:21:13 +00:00
Christoph Studer
60748e7122 SysUI: Implement NotificationListenerService in StatusBar
This is currently disabled by constant that is off.

Bug: 15131411
Change-Id: I0da6e5b3b81c87004f0794d3056c4cf0ecbb1d61
2014-05-22 22:51:15 +00:00
Jorim Jaggi
7d16bb1e32 DO NOT MERGE Move clock and top padding while dismissing Keyguard.
Such translation. Much alpha. Very parallax. Wow.

Bug: 15163546
Change-Id: Id419acced94083cf6cd7abebbcf1d5a08439b0a7
(cherry picked from commit c42bdc3ba9493efe68b9ed39fbd55c84ba175185)
2014-05-22 21:43:46 +00:00
Christoph Studer
71f18fd1b6 SysUI: Use SBN keys instead of IBinder keys DO NOT MERGE
In preparation of migrating to NotificationListenerService,
remove dependence on IBinder keys for notifications and switch
to SBN.getKey() instead.

Bug: 15131411
Change-Id: Ic272e4a05fde6481c734144c5b34c49b2f021649
(cherry picked from commit 7c96ae873d9a54ebaeb5b7ef21b48224dc42d094)
2014-05-22 21:41:13 +00:00
Jorim Jaggi
aa7707ddc4 Merge "Fix weird state with QS expansion." 2014-05-22 12:27:51 +00:00
Jorim Jaggi
9cd731a013 Fix weird state with QS expansion.
Bug: 15147023
Change-Id: Ief32ee756e22b330e0fb63b0dab64aa83ffb9124
2014-05-22 14:26:06 +02:00
Jeff Sharkey
9f561c367b Merge "Support for renaming documents." 2014-05-22 05:45:29 +00:00
Dan Sandler
842dd77bb9 Introducing Notification.MediaStyle.
Allows you to create a nice music player with all the
trimmings, including:

  * up to 5 actions in the bigContentView, styled as
    transport control buttons
  * up to 2 of those actions in the 1U (!)
  * a nice custom progress bar
  * a tinted background (taken from your Notification.color)
  * a special place to put your MediaSessionToken

Bug: 15147533
Change-Id: Ic20a2b369eb6c5fe4853987a44ffd9bace720c7f
2014-05-22 01:36:46 -04:00
Jeff Sharkey
b7e1255d5c Support for renaming documents.
DocumentsProviders can mark documents as supporting rename, and they
have the opportunity to change the DOCUMENT_ID as a side effect of
the rename.  This supports providers that embed the display name
into DOCUMENT_ID.  Issues a URI permission grant to the new document,
if any.

Adds renaming support to platform ExternalStorageProvider.  Also
adds directory deletion support.

Bug: 12350110
Change-Id: Ica4b1ae6769ee994f70f6b6b2402213eebd064e0
2014-05-21 22:24:45 -07:00
John Spurlock
d9792b7d31 Fix header clipping bug on rotate to landscape.
Since the header view's manual clipping is a function
of its width, we need to update it whenever the width
changes.

onConfigurationChanged is too early, so wait until the width
actually changes before updating the clip.

Change-Id: I017448f7e1c2d4bbcf7c93a6a47ad3073c43f5d5
2014-05-21 23:54:27 -04:00
Jorim Jaggi
8aacfb8099 Merge "Improve logic when flinging up." 2014-05-21 23:24:31 +00: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
John Spurlock
8a5feb7906 Merge "Zen mode condition selection updates." 2014-05-21 23:08:31 +00:00
John Spurlock
d62e0539db Zen mode condition selection updates.
Change-Id: Ic169066db9783581c5aad2bdf14efd4abe8bb6c1
2014-05-21 19:07:35 -04:00
Winson Chung
47a3e65acc Small perf tweaks. 2014-05-21 16:03:42 -07:00
Jorim Jaggi
efbd7e3bb8 Improve logic when flinging up.
Makes sure that we don't accelerate even more if the movement is
already fast enough. Around 3000dp/s, we switch to a linear curve.

Change-Id: I9a1cdb1a0a65ed7a8ddf00683c08e83c13bf20f7
2014-05-22 01:01:36 +02:00
Jorim Jaggi
1d480695df Change fling behavior of PanelView.
Change-Id: Ie700be6b1ef48350601ce6bc7fe60579fddae098
2014-05-22 01:01:36 +02:00
Jorim Jaggi
b7b61ddaef Make velocity tracker used in panel dependent on config.
The velocity tracker used in PanelView can now be configured with
a boolean value. The default is to use tha platform-standard velocity
tracker, but can be overriden to use our own velocity tracker for
noisy touch screens instead.

Change-Id: I375f4e2675ddbaa003acd6f085065bb3fe59ebf4
2014-05-22 01:01:36 +02:00
John Spurlock
e660694c69 Merge "Display intercepted notifications if configured." 2014-05-21 22:27:29 +00:00
John Spurlock
014ad591c2 Display intercepted notifications if configured.
Don't suppress notifications if the user has configured them
to display, even in zen mode.

Change-Id: Ief549164cafd0922726feaeaf2029b8840dcf735
2014-05-21 18:18:41 -04:00
John Spurlock
35453dd751 Merge "QuickSettings: fix text alignment." 2014-05-21 21:28:16 +00:00
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
Winson Chung
451e964f2c Merge "Enabling clipping on task views." 2014-05-21 20:24:05 +00:00
Winson Chung
5a9b0b0c7d Enabling clipping on task views.
Change-Id: I2a4b8fe06ae379364081534bd5b02f52b27e4ff2
2014-05-21 11:07:26 -07:00
Baligh Uddin
fb1810e34f Merge "Import translations. DO NOT MERGE" 2014-05-21 15:42:58 +00:00
Baligh Uddin
e24d8c8fc3 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:34:50 +00:00
Baligh Uddin
746b1f2bf4 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:34:50 +00:00
Baligh Uddin
c77960884d Merge "Import translations. DO NOT MERGE" 2014-05-21 15:34:50 +00:00
Baligh Uddin
94f9338800 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:34:50 +00:00
Baligh Uddin
811d7f2499 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:34:50 +00:00
Baligh Uddin
7a8b892bb6 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:34:17 +00:00
Baligh Uddin
dd45bb1023 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:34:17 +00:00
Baligh Uddin
f08dbdb9f8 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:34:17 +00:00
Baligh Uddin
aec8c47082 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:33:52 +00:00
Baligh Uddin
dbc082efe1 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:33:44 +00:00
Adrian Roos
38dfba03d5 Merge "Add trust indicator to keyguard" 2014-05-21 14:04:43 +00:00
John Spurlock
5639828a62 Merge "VolumeZen: SystemUI now hosts the volume dialog." 2014-05-21 13:59:20 +00:00
Brian Colonna
d9a5cfa6f7 Merge "Fix 14988763: FUL only shows on bouncer now" 2014-05-21 13:59:11 +00:00