summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
Commit message (Collapse)AuthorAgeFilesLines
...
* Import translations. DO NOT MERGEBaligh Uddin2014-07-061-1/+1
| | | | | Change-Id: I1a573caae29dd7e7b6d5095121991ffa1e142c05 Auto-generated-cl: translation import
* Add method to check if there is a partner folderAdam Cohen2014-06-121-0/+6
| | | | Change-Id: I6154c731edfeb2a4fc0aed94f74a556059b5d103
* Add null check for empty MediaStore cursorAdam Cohen2014-06-121-5/+8
| | | | | | issue 15397853 Change-Id: I1c28262e181a4f32e1f7a58813121db72746d6a8
* Squash unreachable catchAdam Skory2014-06-041-3/+0
| | | | | | The compiler warning distracts me often. Change-Id: I0192314f4ac9d8e3acb40dd10a39de297affcdac
* Adding ability for partners to specify a default layoutAdam Cohen2014-06-021-0/+7
| | | | Change-Id: Ib071faa4b41d13961c3a33b865b40a644631c08a
* Check before suggesting default wallpaper dimensionsAdam Cohen2014-05-211-4/+15
| | | | | | issue 14470153 Change-Id: Id00e9cb4bd2b769818ed61de65be8c1c0119e07d
* Move Partner.java into the Wallpaper directory.Sameer Padala2014-05-021-0/+84
| | | | | | | WallpaperPicker depends on this and have this class in Launcher3 would cause a circular dependency in google3 Change-Id: Ia582bcb988a4f6375904660546b1bc1744d25238
* Add support for partner customization.Jeff Sharkey2014-04-221-11/+18
| | | | | | | | | | | | | | | | | | Traditionally Launcher workspace customization is offered through overlays at build time, but we don't have access to partner-specific customization at build time. To solve this, this adds a new "partner-folder" tag which points at an XML resource provided by an external package. The external package XML can't depend on the binary XML attributes defined by Launcher3, so we switch to using manual string-based attribute lookups. Partners can also provide extra wallpapers. When a folder only results in a single item, promote that item into the folder location instead of deleting completely. Bug: 13340779 Change-Id: Ide558288bef4113565f288b700d8245055c0fee9
* Fixed crash when setting wallpaper with built in rotationSelim Cinek2014-03-271-7/+8
| | | | | | | | | If an image had a built-in rotation, a crash could occur, when setting it. An example was a panorama image which had a rotation of 90 degrees. Change-Id: Iede8226dac3a40f08d39a69162eb388e6aba97ec Bug: 13507421
* Fixed wallpaper bug where wrong size was taken when croppingSelim Cinek2014-03-241-3/+5
| | | | | | | | When cropping, the selected area of the image was incorrectly cropped to the size of the view instead of the size of the image Bug: 13617446 Change-Id: I0b40711c04f3d3b5929e7bb037d6cf21d4bb5bcb
* Fixed a crash when an image with an odd width/height was selectedSelim Cinek2014-03-141-0/+8
| | | | | | | | | | Due to an internal rounding in the renderer, the calculations for the cropping area could be slightly offset, getting out of the image boundaries. I sanitized the rect by ensuring they are inside the image. Bug: 12174629 Change-Id: I5e08c83fe3e9cd48254fa6c8ba9cef77ab8a51a6
* Catching security exception when activity destroyedSelim Cinek2014-03-051-1/+15
| | | | | | | | | Fixed a bug where an asynctask tried to load an image even after the activity was destroyed leading to a security exception since the permission could not be granted anymore. Bug: 12760267 Change-Id: I76ee2c0ab268b0ab4bde606706046caf0e39f1e9
* Merge "Changed behaviour of the wallpaper picker." into ub-now-lunchboxSelim Cinek2014-03-047-27/+180
|\
| * Changed behaviour of the wallpaper picker.Selim Cinek2014-03-037-29/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When opening the picker, the currently chosen wallpaper is shown in the background. In this change also the nullpointer was fixed when deleting the currently selected wallpaper and setting it, because we revert to the old wallpaper in that case. When going into the same live wallpaper than the currently selected we are going back to home if the user sets it or goes back now, in order for the user not to loose state. The real fix for this will be done later when the following bug will be fixed: b/13241760 Bug: 12063773 Bug: 13219612 Change-Id: I7c6abb25755eca99c3255278e0884d1ff4749b55
* | Merge "Guard against null default wallpaper" into ub-now-lunchboxChristoph Studer2014-03-031-9/+15
|\ \
| * | Guard against null default wallpaperChristoph Studer2014-03-031-9/+15
| |/ | | | | | | | | | | | | Deal with WallpaperManager.getBuiltInDrawable() returning null. Bug: 13109487 Change-Id: Ib5665a0eb947e9784cdcd0e8dfab1a01b4deca82
* / Changed inconsistency when selecting default wallpaper, where it did not go ↵Selim Cinek2014-02-281-0/+1
|/ | | | | | | back to home. Bug: 13219313 Change-Id: I4961c6724a1550dbae126f97e45dc166cbe9a565
* Fixed visibility issue of save button in case the url loading failedSelim Cinek2014-02-251-0/+1
| | | | | Bug: 12953091 Change-Id: Idc640532e2c2c6143d49d330bd541682eca64ac5
* Fix for Can't convert to dimension: type=0x12 Crash on JB deviecs.Yura2014-02-134-5/+58
| | | | | Bug: 11578157 Change-Id: I116cef5f30e9028348cd028eaf46038d9d79bdd3
* Catch exceptions if Exif is malformedMichael Jurka2014-01-232-0/+9
| | | | | Bug: 11650650 Change-Id: Iee8f1675850c692fe54dc619f3e969ba180e4206
* Disable Set Wallpaper button while loading imageMichael Jurka2014-01-173-0/+10
| | | | | Bug: 12472111 Change-Id: I2a0cba47f31af2416b0dd062929f277fcbf80481
* Keep selected wallpaper on configuration change.Jorim Jaggi2014-01-141-7/+15
| | | | | | | | | | Keeps the currently selected wallpaper when a configuration (for example, device rotation) occurs. This change also effects the logic when the thumbnail gets displayed after loading the image from an external URI, as this must be now handled independently of which wallpaper is selected. Bug: 11007874 Change-Id: Id676c378aec38d0b21e5d9150846f33aff415cad
* Add ability to center the crop (disabled)Michael Jurka2014-01-142-5/+18
|
* Move saved wallpaper images from cache directory to data directoryMichael Jurka2014-01-091-1/+13
| | | | | Bug: 12028275 Change-Id: Ia8fdd0ea50a4dad34e560287c50ae3fcc6d09cf9
* Import translations. DO NOT MERGEBaligh Uddin2013-12-2623-7/+691
| | | | | Change-Id: I9ced3c60b831f09e8436f562d8c1fef1e2aa6156 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-12-1636-0/+1296
| | | | | Change-Id: I40a264c567f7d0e599182ce68f5b844bd2856f9d Auto-generated-cl: translation import
* Clean up importsMichael Jurka2013-12-133-5/+0
|
* Create separate project for Wallpaper PickerMichael Jurka2013-12-1393-0/+14649
Change-Id: Id9e855780b9fb68c63eb6e9f6c19bcbce28a6fd5