11359 Commits

Author SHA1 Message Date
Jason Monk
2e647efe01 Merge "Move LOCK_TO_APP_EXIT_LOCKED from System to Secure" into lmp-mr1-dev 2014-11-03 14:36:02 +00:00
Svet Ganov
fce84f035c Crash apps that print malformed or password protected PDFs.
If apps are writing malformed content (typically not a PDF file) or if the
PDF content they provide to the print system is password protected, are now
crashed as both of these are app bugs.

bug:17636435

Change-Id: Ifce6a3199e587448dd38f6a84290a965c24b698b
2014-11-01 00:06:08 +00:00
Svetoslav
93134ce87e Merge "Save to a PDF file should look like print preview." into lmp-mr1-dev 2014-10-31 19:54:05 +00:00
Chris Wren
b9144cea51 Merge "Clear the initialized flag when resetting the height." into lmp-mr1-dev 2014-10-31 19:10:53 +00:00
John Spurlock
404658eee9 Merge "Update 1-bar status bar / qs icons." into lmp-mr1-dev 2014-10-31 19:01:17 +00:00
Chris Wren
310df3127a Clear the initialized flag when resetting the height.
When the notification was updated within the heads up, touches were being
dropped due to an invalid actual height, after a height reset in the update code.

Bug: 18102199
Change-Id: I6c95d360452665464a868b2bc5ce4f6e104b6652
2014-10-31 18:55:39 +00:00
John Spurlock
fd9aa5ff03 Update 1-bar status bar / qs icons.
To make the difference from 2-bars more pronounced.

Also fix a tragic regression in status bar demo icon scale.

Bug: 18019421

Change-Id: I4f4e3fea3ed07de5705ea7a1420deb4ccaa398b0
2014-10-31 14:51:54 -04:00
Jason Monk
94cfd9d7c4 Move LOCK_TO_APP_EXIT_LOCKED from System to Secure
To prepare for controlling from settings.

While here, add lock to app settings to backups.

Bug: 16957435
Change-Id: I059140cd07a7a0d5ceb4e0bfe5e0176cb96629d3
2014-10-31 14:47:13 -04:00
Svetoslav
bec22beb99 Save to a PDF file should look like print preview.
When rendering a PDF file for print preview we take into account
the selected print options such as paper size, orientation, etc
without modifying the document. To print we send the doc in its
original form and the print options so the print service can apply
the necessary transforms in addition to the optional custom options
it supports. When saving to PDF we have to actually change the
document as we act as a print service.

bug:13545980

Change-Id: Icdcecf962bec6ff742cc6015df5af9d9086ce760
2014-10-31 10:41:34 -07:00
Jorim Jaggi
06a0c3a445 Implement nice transition for unlocking while QS is open
Also allow to swipe from the very bottom on Keyguard to close both
QS and notifications, to have the same behavior like in the normal
shade.

Bug: 18167287
Change-Id: I2150ac5834efe1061ca8c8d32815a481c0796c97
2014-10-31 16:45:59 +01:00
Selim Cinek
aed002f85c Merge "Fixed a bug with the notification appear animation" into lmp-mr1-dev 2014-10-31 15:17:21 +00:00
Selim Cinek
69d7dfd450 Merge "Mirrored clear all animation for RTL" into lmp-mr1-dev 2014-10-31 15:13:02 +00:00
Selim Cinek
bb3d1cf11d Fixed a bug with the notification appear animation
This happened since the switch animation was running
even when invisible. This is fixed now and only
runs when the view is actually shown.

Bug: 18168562
Change-Id: I7fa2254411d249c23cd623cdff64524729f0817c
2014-10-31 16:11:53 +01:00
Selim Cinek
1d59af45f6 Mirrored clear all animation for RTL
Also automirrored the icon.

Bug: 18173905
Change-Id: I510efaf18b89a676959d72ad1b9e9a8edd417e60
2014-10-31 16:11:40 +01:00
Selim Cinek
af2442e9e5 Merge "Fixed a bug that the panel was not closable in the locked shade" into lmp-mr1-dev 2014-10-31 15:04:03 +00:00
Selim Cinek
ac457b1bae Merge "Fixed a crash in the Notification expandHelper" into lmp-mr1-dev 2014-10-31 15:03:43 +00:00
Selim Cinek
43d991ef8a Merge "Fixed a bug when tapping in the empty space of the notification panel" into lmp-mr1-dev 2014-10-31 15:03:10 +00:00
Christoph Studer
104078c8ba Merge "SysUI: Never log GONE notifications as visible" into lmp-mr1-dev 2014-10-31 14:55:31 +00:00
Selim Cinek
ab1dc954b2 Fixed a bug that the panel was not closable in the locked shade
This happened when draging on the active lock icon.

Bug: 18185875
Change-Id: I27917fad000bc89f37b82fc8be978d867356904e
2014-10-31 15:19:14 +01:00
Selim Cinek
1b7f51ebc6 Fixed a crash in the Notification expandHelper
Bug: 18004384
Change-Id: I3b8e60041c527689722591962f384ea91f4a954a
2014-10-31 12:37:43 +01:00
Selim Cinek
3a9c10a286 Fixed a bug when tapping in the empty space of the notification panel
This happens often when tapping in the dismissView area.
Also fixed a bug where the decor views and the speedbump where swipable.

Bug: 18031244
Change-Id: I2c9685e068420c21032affb3aa58f7d53183ff52
2014-10-31 12:37:43 +01:00
Selim Cinek
a68da93829 Merge "Fixed a bug with notification clipping" into lmp-mr1-dev 2014-10-30 18:33:14 +00:00
Selim Cinek
c5baa3eb08 Fixed a bug with notification clipping
The clip rect was not correctly set for a view which
was fading out leading to some overdraw.
It also fixes a bug where the alpha was not applied when
made invisible.

Bug: 16077953
Change-Id: I4c26aee88c5c87147df31ec7fb413bc63cd2625c
2014-10-30 19:19:26 +01:00
Jorim Jaggi
cdbdbe3a54 Merge "Make status bar expanding more tightly coupled to finger" into lmp-mr1-dev 2014-10-30 14:51:45 +00:00
Jorim Jaggi
0b1528aac4 Make status bar expanding more tightly coupled to finger
Improves the "direct modification" feeling a bit.

Bug: 17040206
Change-Id: Ide4bfb36aef584da36e0340bc2ed099e2e24c0ee
2014-10-30 15:35:38 +01:00
Jorim Jaggi
2905cafcb8 Merge "Follow up to I495ce480c25de24b6433adebdfe923b637d98f66" into lmp-mr1-dev 2014-10-30 14:25:51 +00:00
Svetoslav
d3786a5931 Merge "Print preview disappearing if printer is changed." into lmp-mr1-dev 2014-10-29 22:17:57 +00:00
Svetoslav
7c053c1e41 Print preview disappearing if printer is changed.
This is a regression caused by my previous patch.

Change-Id: I80a0b4d880fd4e48e6a44fac303a4c8204e8ec0d
2014-10-29 13:50:42 -07:00
Chris Wren
755f4021ae fix build break from mis-named DEBUG flag in SystemUI
Change-Id: I55459fe090ae4c159ebdad8b60658b25db29271e
2014-10-29 16:43:51 -04:00
Chris Wren
79ac09e439 Add logging to diagnose notification click issue.
Bug: 18102199
Change-Id: Id022faa7b75f28f446155f15ab4a8373869c163c
2014-10-29 14:38:01 -04:00
Christoph Studer
12cf9e5159 SysUI: Never log GONE notifications as visible
Bug: 18170453
Change-Id: I58a3990b481889fe4a1370e1eaa88058df53079d
2014-10-29 17:35:30 +01:00
Geoff Mendal
ba9836d972 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-10-29 16:19:47 +00:00
John Spurlock
f9824b91f3 Merge "PowerUI: Suppress warning on incremental drops." into lmp-mr1-dev 2014-10-29 15:40:56 +00:00
Jason Monk
5d80f19c14 Merge "QS: Only hide grid if there is detail to show" into lmp-mr1-dev 2014-10-29 15:38:58 +00:00
Geoff Mendal
3c8b334d02 Import translations. DO NOT MERGE
Change-Id: I63c0b33a09334fbb50cd62d6eccb43edee751e45
Auto-generated-cl: translation import
2014-10-29 08:37:57 -07:00
John Spurlock
42bfc9ab00 PowerUI: Suppress warning on incremental drops.
If the user explicitly dismisses the warning notification,
don't update the notification until the next threshold value.

Bug: 17691122
Change-Id: I840f33f787f1dd6f217de543a291bc9f65b1b046
2014-10-29 11:13:01 -04:00
Jason Monk
98fa70c98f QS: Only hide grid if there is detail to show
If the animation ends at the 'same' time as handleShowDetail is
running it is possible for the grid content to get cleared by the
animation callback just after it is shown in handleShowDetail.
This checks mDetailRecord to avoid that chance.

Bug: 18009138
Change-Id: Ia2951f44b5a1470321bf6580daf33917bbcb1ffd
2014-10-29 11:03:41 -04:00
Jorim Jaggi
cfaec4862e Follow up to I495ce480c25de24b6433adebdfe923b637d98f66
Bug: 18146441
Change-Id: Ifaa7ca6b4a1c6f084112b7420f999b80b173604c
2014-10-29 14:30:16 +01:00
Jorim Jaggi
81aef807d5 Merge "Improve doze transitions" into lmp-mr1-dev 2014-10-29 13:28:09 +00:00
Jorim Jaggi
16423aa0c6 Improve doze transitions
This change animates the status bar and the bottom area when exiting
doze mode from touch. We also prevent all animations when exiting
from other means, i.e. usually when the power button is pressed, so
we don't have a distracting animation there. In addition, this also
optimizes the scrim animations a bit in terms of interpolation and
duration to make the experience smoother and cleans up some logic.

Bug: 18146441
Bug: 17717584
Change-Id: I495ce480c25de24b6433adebdfe923b637d98f66
2014-10-29 14:24:00 +01:00
Jorim Jaggi
6533c544cf Merge "Tune spacing in navigation bar for small and big devices" into lmp-mr1-dev 2014-10-29 13:22:24 +00:00
Jorim Jaggi
ca8c626feb Tune spacing in navigation bar for small and big devices
Bug: 18032228
Change-Id: Ia187fa3c108b93f4ca74e109d3fa76e625b711e3
2014-10-29 14:14:17 +01:00
Jorim Jaggi
b9e290c713 Cancel ripple animations when window is hidden
Bug: 17737340
Change-Id: I0acb4bb20365634875489269bc84ade5161ea3ac
2014-10-29 13:39:21 +01:00
Adrian Roos
579a7f9940 Merge "Close keyguard user switcher on tap outside" into lmp-mr1-dev 2014-10-28 20:27:41 +00:00
Jason Monk
8c01dfc5af Merge "QS: Bring back BT/Wi-Fi sub-panels" into lmp-mr1-dev 2014-10-28 18:45:34 +00:00
Jason Monk
09895be87e Merge "Add hotspot icon to status bar" into lmp-mr1-dev 2014-10-28 18:27:06 +00:00
Jason Monk
5d325074b1 QS: Bring back BT/Wi-Fi sub-panels
Bluetooth has stayed pretty much the same, just came back.

Wi-Fi now shows the currently available networks like settings does.
Networks that require extra steps are taken to Settings to complete
the process.

Bug: 17722817
Change-Id: Idfcfd92f557b20168693ced26d4001f3708f08a4
2014-10-28 13:43:04 -04:00
John Spurlock
ee990413b5 Merge "Zen: Show "(until 4:56 PM)" in exit conditions." into lmp-mr1-dev 2014-10-28 17:08:43 +00:00
John Spurlock
c90e6fe863 Zen: Show "(until 4:56 PM)" in exit conditions.
Implement two-line exit conditions, display the duration + end
time on separate lines.

Bug: 16824863
Change-Id: I8dabc83042fce604ccb86b463b9bb547c7903c64
2014-10-28 12:57:43 -04:00
Adrian Roos
2d1ef3012c Close keyguard user switcher on tap outside
Also closes when tapping the current user.
Also fixes a bug, where the background alpha was
not properly initialized. And while we're at it,
fixes a bug where the user switcher was closable
in simple mode by extending quick settings.

Bug: 17691134
Change-Id: I5444fe42a8a2887ab012ef6cbdcc57ba81a8c1c2
2014-10-28 17:46:03 +01:00