4782 Commits

Author SHA1 Message Date
Selim Cinek
72b6f4d4d9 Decreased shadows between notifications slightly.
Bug: 15181880
Change-Id: Iee71e4ebf95df044b7bbdd3044cb69455d704150
2014-05-23 14:59:51 +02: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
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
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
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
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
aec8c47082 Merge "Import translations. DO NOT MERGE" 2014-05-21 15:33:52 +00:00
Adrian Roos
38dfba03d5 Merge "Add trust indicator to keyguard" 2014-05-21 14:04:43 +00:00
John Spurlock
3346a80208 VolumeZen: SystemUI now hosts the volume dialog.
- Allow SystemUI to set the volume controller interface using
  a new binder call to audio service.
- Remove VolumePanel's dependency on AudioService.
- Host the base VolumePanel in the SystemUI process.

Change-Id: I095d5a1a579d42b68d0f81abb4087bd0c754b876
2014-05-21 09:58:41 -04:00
Adrian Roos
2fe592d49b Add trust indicator to keyguard
Changes the unlock icon to an open lock
when the keyguard will not ask for credentials.

Bug: 14295559
Change-Id: If34a5ec9e23b2d22813860faee125e6b2d700643
2014-05-21 15:51:14 +02:00
Winson Chung
c637482a80 Removing unnecessary proguard flag for removed info view. 2014-05-21 00:31:43 +00:00
Winson Chung
7bb188521c Merge "Wrapping console logs." 2014-05-20 23:25:42 +00:00
Winson Chung
10f8139d3b Wrapping console logs. 2014-05-20 16:21:31 -07:00
Winson Chung
48dfae92d2 Merge "Removing the info pane." 2014-05-20 21:42:52 +00:00
Winson Chung
863db8a4e7 Removing the info pane.
Change-Id: I5486291144cbcb1b31a7e5b8a234e5ef7cf85325
2014-05-20 14:33:04 -07:00
Jorim Jaggi
112e5147f6 Merge "Fix invisible notification backgrounds." 2014-05-20 21:29:00 +00:00
Jorim Jaggi
3c3c3fc38c Fix invisible notification backgrounds.
Bug: 15094262
Change-Id: I37eeb03a6ebb595da6793cfc95aa159662ab3990
2014-05-20 23:17:44 +02:00
Winson Chung
1bba1c8c1a Should not be closing system dialogs when Recents is hidden. (Bug 15109551)
Change-Id: Ia73753074ce620ede136cd4b156d6bfeadb900cf
2014-05-20 13:12:12 -07:00
Baligh Uddin
7d95733061 Import translations. DO NOT MERGE
Change-Id: I2a1b7fbb0bd146cdb8689dae216e87a041c5bcc7
Auto-generated-cl: translation import
2014-05-20 09:12:39 -07:00
Selim Cinek
37dd822089 Merge "Fixed measuring and layouting of the more card and expandableviews." 2014-05-20 12:48:22 +00:00
Selim Cinek
24d7cfa4d6 Fixed measuring and layouting of the more card and expandableviews.
Change-Id: I2848b39c6498ce9ad197ed7bad8423c74b372419
2014-05-20 14:38:08 +02:00
Selim Cinek
2f4a82af91 Merge "Fixed a big with the vetobutton, circumventing double tapping." 2014-05-20 02:27:17 +00:00
Selim Cinek
863834bd96 Fixed a big with the vetobutton, circumventing double tapping.
Change-Id: Ie31d06fe4e2454cf6a3223bef75eca2c76f47b59
2014-05-20 04:20:25 +02:00
Selim Cinek
e704324a01 Merge "Fixed several bugs introduced by the new background views." 2014-05-20 01:42:46 +00:00
Selim Cinek
c9c00ae2fa Fixed several bugs introduced by the new background views.
Also notifications are now limited to 4U again.
Bug: 14880580

Change-Id: I05d19981ad1bb06687bf6c994608e21ac925a759
2014-05-20 03:33:40 +02:00
John Spurlock
f3281e4a3c Merge "QuickSettings: cap touch feedback to panel." 2014-05-20 01:13:04 +00:00
John Spurlock
ee912bb8ed QuickSettings: cap touch feedback to panel.
Bug:15089348
Change-Id: I0d9cc21d9888e1cc67f61c61dfae5e6c519ace1b
2014-05-19 21:11:14 -04:00
John Spurlock
c135fffe99 Merge "Rehide status bar signal problem colors on user builds." 2014-05-19 23:55:18 +00:00
John Spurlock
8a6810e8ea Rehide status bar signal problem colors on user builds.
Bug:15089446
Change-Id: I322156a49e3117c38de2d2c5ba3223cea03abfff
2014-05-19 19:52:07 -04:00
Alan Viverette
c80ad99a33 TouchFeedbackDrawable is now RippleDrawable
Change-Id: I59f5f04b73089215c6320560556ac21beb03db06
2014-05-19 16:27:31 -07:00
ztenghui
6e9b18a604 Merge "Removing versionCode" 2014-05-19 22:43:32 +00:00
ztenghui
6d6ebaf4ca Removing versionCode
Change-Id: I4b768d591208d10a5ae9b23a845102398eac20b6
2014-05-19 15:29:07 -07:00
Winson Chung
a4fcdad1b8 Merge "Using new APIs for handling system bar insets." 2014-05-19 21:53:36 +00:00