10705 Commits

Author SHA1 Message Date
Winson Chung
bf5dbf1c15 Enabling recents stack clipping
The taskviews now avoid overdraw by clipping invisible
parts. Also adapted some timings of the animation.

Bug: 17455301
Change-Id: Ifbf7bab363e530cb2ad842baed50fc16dcfcc4c4
2014-09-18 18:34:17 +00:00
Jorim Jaggi
a8433c6512 Merge "Add option for recents to use fake shadows" into lmp-dev 2014-09-18 18:33:42 +00:00
Selim Cinek
9aefd41557 Merge "Removed round rect clipping and hardware layers from recents" into lmp-dev 2014-09-18 18:33:26 +00:00
Adrian Roos
595f6d912a Merge "Reinitialize emergency calls only view if configuration changes" into lmp-dev 2014-09-18 18:32:07 +00:00
Jason Monk
3ad242df72 Block QS in sec. users setup when simple
When simple user switcher is enabled block QS for secondary users
during setup.

Bug: 16782635
Change-Id: Ibc39c61675f8728d73a5f8ef04d0613ff36af909
2014-09-18 18:26:39 +00:00
Baligh Uddin
61e7929a70 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-18 18:10:15 +00:00
Baligh Uddin
6641c1051f Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-18 18:00:17 +00:00
Jason Monk
2bc75f0821 Merge "Fix crash from USER_PRESENT broadcast in sysui" into lmp-dev 2014-09-18 16:12:06 +00:00
Adrian Roos
72cc3702d2 Fix wrong face unlock size
Bug: 17533062
Change-Id: I532d7197fcd59baffd8f6c4e76a9fb8eda389eac
2014-09-18 17:25:09 +02:00
Jason Monk
cf5a9530f7 Fix crash from USER_PRESENT broadcast in sysui
Since sending the USER_PRESENT broadcast too early in the boot
process can result in a SecurityException, don't do auto-unlock
until after the boot has completed.

Bug: 17464800
Change-Id: Iee3d0b9723ed38abddf0bdde009f95331881008b
2014-09-18 11:02:19 -04:00
Adrian Roos
763546a15a Merge "Don't crash if a user can't be created" into lmp-dev 2014-09-18 12:47:45 +00:00
Jorim Jaggi
cb5570316d Add option for recents to use fake shadows
Bug: 17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a
2014-09-18 14:26:52 +02:00
Selim Cinek
e8199c582d Removed round rect clipping and hardware layers from recents
This saves us a lot of memory and we avoid the clipToOutline.
The view still looks the same, as we now draw the thumbnail
in a rounded rect.
We now only use a hardware layer on the header, which is much
smaller.

Bug: 17522143
Change-Id: I197a1172efe8450ffb0b537c780a240d38f84275
2014-09-18 14:26:35 +02:00
Dan Sandler
1391d8a9b3 Merge "Living with the LLand." into lmp-dev 2014-09-18 11:34:18 +00:00
Dan Sandler
4455da985d Living with the LLand.
Bug: 15984887
Change-Id: I2a42a064587db3478d865348f860bda07217f7dd
2014-09-18 06:57:28 +00:00
Svetoslav
0d2d9637ed Page content sometimes missing in preview when scrolling.
Removed the restriction for the page content providers to
be singletons as the RecyclerView may hold on views with
providers and ask us to bind other views for the same page.
Note that the views that RecyclerView is holding will be
soon rebound or recycled just they are not at the time we
bind other views for the same position. We were guarding
against this but caused some pages not appearing sometimes
on scrolling. Also now keeping the media size and magins
of recycled page view (will be updated if needed on
rebinding) or avoid changes of the background to null as
setting it to not null later causes an undesired layout pass.

bug:17537922

Change-Id: If029f6c413e15d4f5c1ba1ac5e4d52ad2cad5904
2014-09-17 23:03:19 +00:00
Winson Chung
905950abd0 Listening for widget changes while Recents is in the background. (Bug 17153663)
Change-Id: Ibaff45e988deda21280b684757396a73bb3294c0
2014-09-17 23:25:39 +02:00
Svetoslav
a732950ade Merge "Page content sometimes disappears when scrolling a long doc in print preview." into lmp-dev 2014-09-17 18:52:19 +00:00
Svetoslav
7fd5ada98a Page content sometimes disappears when scrolling a long doc in print preview.
The operations of the remote renderer have to be performed in order, open,
render some pages, close. One of the tasks was executed on the wrong executor
resuling in a race and an occassional bad state.

Also fixed a NPE if the preview list is flinged and then the user presses
back.

bug:17537922

Change-Id: I5048078ba2b875a2a8335f3a4324afaa34d014a2
2014-09-17 11:11:08 -07:00
Adrian Roos
54f934cd0c Reinitialize emergency calls only view if configuration changes
Bug: 17420007
Change-Id: I2eec7a04e86e776aff5da3c059469dcdaa780445
2014-09-17 18:36:35 +02:00
Adrian Roos
f99727cb87 Don't crash if a user can't be created
Bug: 17543257
Change-Id: I3ef4ac1524a0e23b4ce1d77c4c05c97f061adc97
2014-09-17 16:19:18 +02:00
Christoph Studer
9077cbc30e Merge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev 2014-09-17 14:17:33 +00:00
Winson Chung
4e96eb709d Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)
Change-Id: Ia11e0f77e6c1f28f3d6946362d5a6333b57ac80e
2014-09-17 15:20:10 +02:00
Christoph Studer
37e4468be1 SysUI: Add no-wallpaper recents theme for low GFX devices
Also add a config flag to control the theme to apply to RecentsActivity.

Bug: 17522143
Change-Id: I8d03e84e37b77698243673f6c4e676b2c53e0d07
2014-09-17 13:28:46 +02:00
Baligh Uddin
4e3cffca11 Import translations. DO NOT MERGE
Change-Id: Iea95517012e1ac1c31a11f63c34f9f431118d2f3
Auto-generated-cl: translation import
2014-09-16 20:36:18 -07:00
John Spurlock
386831dc3c Merge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev 2014-09-16 21:54:02 +00:00
John Spurlock
4291fb79c7 Zen: Fix recent regression in mode selection after reboot.
Bug:17509473
Change-Id: I761cd90384c490c7ab07fb633133535846701ce6
2014-09-16 17:02:23 -04:00
Baligh Uddin
8ccceec29c Import translations. DO NOT MERGE
Change-Id: Ie463ae1ff5e528f8076f2e3c6b49205264deff95
Auto-generated-cl: translation import
2014-09-16 13:56:42 -07:00
Svetoslav
e9f275d309 Merge "Print preview disappearing on screen off/on." into lmp-dev 2014-09-16 20:48:16 +00:00
Jeff Sharkey
47e3124da0 Merge "Always force list divider in DocumentsUI." into lmp-dev 2014-09-16 19:44:16 +00:00
Svetoslav
d724a40136 Print preview disappearing on screen off/on.
We were not clearing the tracked printer when the print activity is
paused and then not setting the tracked printer when the activity
is resumed.

bug:17525271

Change-Id: Ib0fb29006bfcf5ad03dce24b3407cd96dc421442
2014-09-16 11:53:19 -07:00
Svetoslav
b37b7ae137 Merge "Do not change fragments if print activity finishing." into lmp-dev 2014-09-16 18:47:45 +00:00
Jeff Sharkey
b1e71af498 Always force list divider in DocumentsUI.
DialogWhenLarge recently dropped the divider.

Bug: 17523958
Change-Id: I7ee3ce6853c01dbd3da6fc3e79ef02681b53df4c
2014-09-16 11:40:03 -07:00
Jorim Jaggi
e571ed0668 Merge "Use RenderThread for navigation bar ripples" into lmp-dev 2014-09-16 17:53:27 +00:00
Jorim Jaggi
072707dfad Use RenderThread for navigation bar ripples
Bug: 17506181
Change-Id: Icf3b80f8c4bc29fe85313381d4019dda3ef85ea9
2014-09-16 17:51:55 +00:00
Svetoslav
23d3361e17 Do not change fragments if print activity finishing.
It is possible that we try to switch framents after the print
activity finish method is called. In this state the activity
is going away and trying to perform a fragment operation throws.
Now if we are finishing no fragment opration is performed.

bug:17520007

Change-Id: I0dd935d3cdaeddca31fccf49bd5de97e878abb9d
2014-09-16 10:50:55 -07:00
PauloftheWest
1dd9048b3f Merge "Fixed an RTL overlapping issue in volume settings." into lmp-dev 2014-09-16 17:49:40 +00:00
Baligh Uddin
5e85ddd675 Import translations. DO NOT MERGE
Change-Id: Ie9fb53c8c5a93a7059ede5961f2967c1892e0faf
Auto-generated-cl: translation import
2014-09-16 10:44:39 -07:00
PauloftheWest
2cabb42193 Fixed an RTL overlapping issue in volume settings.
Bug: 17468763
Change-Id: Iea9b769013e4551f8b523a08a229ed7804b275f5
2014-09-16 10:34:36 -07:00
Baligh Uddin
9206c09dca Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:18:24 +00:00
Baligh Uddin
2356487b45 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:17:08 +00:00
Baligh Uddin
71cb3a44c1 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:16:40 +00:00
John Spurlock
50a8ea6ec2 Doze: Workaround vibration-related pickup gestures.
Ensure the pickup is registered a safe period of time after the
last notification before resetting the notification pulse schedule.

Bug:17496795
Change-Id: I0edc9bcbdf078cbf55df5935744a3eee7e902b5d
2014-09-16 09:12:03 -04:00
Svetoslav
e3cdd4dc6c Merge "Missing or wrong pages in preview when scorlling large docs." into lmp-dev 2014-09-16 06:19:59 +00:00
Svetoslav
f3f963b0be Missing or wrong pages in preview when scorlling large docs.
The bound pages in the adapter were not properly tracked, more
specifically we did not remove pages from the bound set ending
up in a bad state. Also when the printer changes and if the
new one has different page size the content disappears due to
us not notifying for the data set change.

bug:17515670

Change-Id: Iac74e864609012f6804584fa133e87c27dc186a5
2014-09-15 21:07:27 -07:00
Svetoslav
56bdeeeb80 Merge "Page shredder callback invoked on the wrong thread." into lmp-dev 2014-09-16 02:22:22 +00:00
Svetoslav
0e51a6d97a Merge "Update print preview when a printer becomes available" into lmp-dev 2014-09-16 02:21:59 +00:00
Svetoslav
fb3532eea3 Page shredder callback invoked on the wrong thread.
The code executed in the shredder completion callback must
be called on the main thread but instead it was called on
another one. This led to a crash.

bug:17514533

Change-Id: Id9e86d38a90fedadc60f967b193470fd83eb3362
2014-09-15 19:01:34 -07:00
Svetoslav
e0fa06c088 Update print preview when a printer becomes available
We laizily request printer capabilities and when they are reported
we were not updating the preview and as a result the content was not
rendered, hence pages showing an empty state.

bug:17514117

Change-Id: Icfee7eaa1ab63f5e4d7655d4057ef2110c27cd43
2014-09-15 18:21:14 -07:00
Adam Lesinski
61d9409239 Show the lockscreen when more than 1 user is present
Bug:17399024
Change-Id: Iaf2ea2747cbcd9db45ba9faa7c8fe0389a799855
2014-09-15 17:46:10 -07:00