Commit Graph

47 Commits

Author SHA1 Message Date
Sunny Goyal
bd822508e5 Deleting the WallpaperPicker code inside launcher.
Instead linking it to the packages/apps/WallpaperPicker project

Change-Id: Ib6830b180a22c22afece01e0a4f6e94e89d6452b
2016-02-18 15:09:21 -08:00
Michael Jurka
96749c1321 Revert "Revert "Move wallpaper picker code to a separate directory""
This reverts commit 39de459a86.
2013-12-11 15:41:28 +01:00
Michael Jurka
39de459a86 Revert "Move wallpaper picker code to a separate directory"
This reverts commit 8e88cb8478.
2013-12-10 23:47:28 +01:00
Michael Jurka
8e88cb8478 Move wallpaper picker code to a separate directory
Change-Id: Id79d11ed08085c4fe356739498a8b77952e30392
2013-12-10 18:28:50 +01:00
Michael Jurka
a7d82b939c Fix default wallpaper thumbnail
Bug: 11588279
2013-11-08 15:50:10 +01:00
Michael Jurka
619a180be5 Make wallpaper picker/cropper more robust
- don't crash if image passed to wallpaper picker
is invalid
- close input streams correctly

Bug: 11413915
Bug: 11380658
Bug: 11362731

Change-Id: I973e6bdc532d24a64efd6d174e89fdac626d7ee3
2013-10-29 22:50:30 +01:00
Michael Jurka
83699e56be Stop using a separate ImageView for default wallpaper
Fixes janky transition when going from default
wallpaper to another wallpaper

Bug: 11278179

Change-Id: I738d1ae7bbc5e2d139a084e721b53fed9008367f
2013-10-23 23:54:21 +02:00
Michael Jurka
862f7e3950 Load images on a bg thread
Bug: 11134758

Change-Id: Ie789a2fcb2024832ac104cd9cdbc3602abee85ee
2013-10-21 14:51:49 -07:00
Michael Jurka
12ca6134bf Use new default wallpaper API
Change-Id: I77ce7f03f0d2c94d890d3eeee6750488b071b2ab
2013-10-15 14:46:10 -07:00
Daniel Sandler
13348ffcff Merge "Simplify wallpaper strip animation." into jb-ub-now-indigo-rose 2013-10-13 18:45:14 +00:00
Michael Jurka
8713a94562 Add EXIF rotation support to wallpaper picker
Bug: 11137824

Change-Id: I64e488207ffea219fca5ee00f47b98ccb2ac86d8
2013-10-12 01:12:36 -07:00
Daniel Sandler
24f397d94d Simplify wallpaper strip animation.
Bug: 10852554
Bug: 11010469
Change-Id: I0330ab125097f7d2a6c0c584161cee646c6b757d
2013-10-12 01:01:35 -04:00
Michael Jurka
7b715496b0 Fix crash when pick an image for wallpaper
Bug: 11145171
2013-10-09 11:22:34 -07:00
Alan Viverette
89a233fb0a Announce wallpaper selection for accessibility
BUG: 11012903
Change-Id: Ie926b131f3781a413f551943cc6ac19c42ca6c67
2013-10-08 16:01:53 -07:00
Michael Jurka
ba65185edd Merge "Add content description for wallpaper thumbs" into jb-ub-now-indigo-rose 2013-10-08 21:14:54 +00:00
Michael Jurka
507250cfb7 Switch to using theme for translucent nav bars 2013-10-07 17:23:55 -07:00
Michael Jurka
6b783a06d2 Add content description for wallpaper thumbs
Bug: 11012903
2013-10-07 15:39:42 -07:00
John Spurlock
d4507eefa3 Migrate to new WM.LP.flags based translucent decor API.
Update/rename common helper class TranslucentDecor to handle both
apis so behavior is correct on old and new builds.

Bug:10674960
Change-Id: Id3b2d523026e9e4f2f71f0eab404792207c6d8c7
2013-10-06 16:08:58 -04:00
Michael Jurka
2fe1530ce9 Fix NPE
Bug: 11069853
2013-10-04 12:35:27 -07:00
Michael Jurka
5b4b6904ae Finalize visuals of wallpaper picker items
Also, move third-party wallpapers to end of list

Bug: 10852962
Bug: 11024560
2013-10-03 18:15:08 -07:00
Michael Jurka
fe0ace3583 Fix RTL bugs with wallpaper parallax
Bug: 10901046

Change-Id: Id4277173b0c13d25eb0507bd6fa9fa1309946510
2013-10-03 16:19:06 -07:00
Michael Jurka
7267fa5869 Make some changes for transparent system bars
-Move transparent bars from just GEL to Launcher3
-When wallpaper strip animates, render it under the nav bar
-Disable rotation of wallpaper picker on phones

Bug: 10814785
Bug: 10852650
Bug: 10852554

Change-Id: I9efeccbc4ad1933689266a5dede201ccfd34acf4
2013-10-01 11:56:43 -07:00
Michael Jurka
1b495f5298 Merge "Add default wallpaper to picker" into jb-ub-now-indigo-rose 2013-09-26 16:59:58 +00:00
Michael Jurka
10f3e9ff1a Merge "Fix NPE" into jb-ub-now-indigo-rose 2013-09-25 22:34:06 +00:00
Michael Jurka
8a34bdba65 Fix bug where no images could be deleted in wallpaper picker
Bug: 10926729

Change-Id: I9392e297d071f1ed12bb6665e591756dfe42009f
2013-09-25 08:08:49 -07:00
Michael Jurka
db84e82a0a Add default wallpaper to picker
Bug: 10852485

Change-Id: Idb70cd3bb0901f924da245016f5a8b96ec414470
2013-09-25 06:50:28 -07:00
Michael Jurka
b92f433136 Fix NPE
Bug: 10906469
2013-09-24 12:53:49 +01:00
Michael Jurka
1e4e6ddb38 Refactoring to better support mixed wallpaper sources
Change-Id: I3b47a8f56d418c6f2e7b9fd469427c3056def8d8
2013-09-24 12:09:34 +01:00
Michael Jurka
e8115d5664 Fix bug: wallpaper strip needed two taps to come back
Bug: 10781201
2013-09-20 03:52:24 +02:00
Michael Jurka
998e4ff3dc Add live wallpapers and third-party pickers to bottom strip
Bug: 10742727
Bug: 10805463

Change-Id: I961344b34fff3b183380caf3508d23b05c1ca26c
2013-09-20 01:12:53 +02:00
Michael Jurka
5664de2524 Update assets for pressed/focused/selected states
Also, add shadow below/above wallpaper strip

Bug: 10722070

Change-Id: I37c445bab90e103f414c95b62e101a73d060661f
2013-09-18 15:16:00 +02:00
Michael Jurka
42a7174255 Update styling of tile to pick image as wallpaper
Bug: 10743257
2013-09-18 00:45:45 +02:00
Bjorn Bringert
c639f8cdab Don't use resource ID in switch
This makes Eclipse unhappy when the code is used
as a library project.

Change-Id: I75949ebd36fabcdc88914150dc3a21aecc3357d8
2013-09-13 13:42:00 +01:00
Michael Jurka
d6dc6043ad Adding ability to delete previously saved wallpapers
- Also preserving temporarily picked wallpapers on
rotation

Change-Id: I35361e2a5619cd986bd8b66268ce9e94b9a0027e
2013-09-12 20:49:17 +02:00
Michael Jurka
be2f8ddd80 Adding persistence of saved wallpaper images
Bug: 10640466
Bug: 10648660

Change-Id: I545a0419a3a6a23b75fb035d7a3be854426d13d4
2013-09-12 20:48:53 +02:00
Michael Jurka
6218e5b737 Add error message when built-in wallpapers not found 2013-09-10 14:07:20 +02:00
Michael Jurka
26acafbe67 Fix crash when setting wallpaper
Also clean up some unused code

Change-Id: Ibef8d3d594cc859a993640fd6ee578e9eeb633d1
2013-09-05 21:52:14 +02:00
Michael Jurka
2d8de5845b Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
2013-09-05 20:37:56 +02:00
Michael Jurka
4b94060491 Show and hide the wallpaper list in response to touch 2013-09-05 12:42:08 +02:00
Michael Jurka
eadbfc564d Move wallpapers to external activity
Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a 
framework class

Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
2013-09-04 16:21:20 +02:00
Michael Jurka
1042243412 Adjust wallpaper crop sizes
- Cap the widths to the previous default wallpaper
size
- Increase the height to cover the nav bar area
2013-08-30 18:27:20 +02:00
Michael Jurka
fe09cb7fe3 Improve wallpaper cropping
- Add support for tablets
- Add support for parallax with user-cropped images
- Improve behavior in landscape

Change-Id: I50c4bba59b03d26d595a086a9ea425894f341705
2013-08-29 18:14:29 +02:00
Michael Jurka
fd471c0b4f Fix wallpaper cropping
Images were not being scaled correctly and
wallpaper dimensions weren't always being set
2013-08-26 15:54:03 +02:00
Michael Jurka
fe14e04987 Merge "Finish support for third-party wallpaper pickers" into jb-ub-gel-agar 2013-08-22 22:13:43 +00:00
Michael Jurka
fbf25c19aa Disable zoom/pan for built-in wallpapers 2013-08-22 16:01:17 +02:00
Michael Jurka
a805e1a297 Finish support for third-party wallpaper pickers
Clicking on the pickers didn't do anything before.

Change-Id: I103caafbe8d44d27d1797436ce479fb769c4c0f4
2013-08-22 15:05:45 +02:00
Michael Jurka
104c456776 Initial implementation of new wallpaper picker.
Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
2013-08-21 13:18:29 +02:00