summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker
Commit message (Collapse)AuthorAgeFilesLines
* Removing duplicated and/or unused resources from WallpaperPicker that ↵Cameron Neale2014-10-203-24/+0
| | | | | | conflict with Launcher 3 resources. The resource duplicated between the two is now only held within Launcher3. These changes are necessary in order for GSA to build in Google3. Change-Id: I70f5a250db52303c876e6abedd9c6d32d1d4761e
* Add more Launcher files to delete on Clear Launcher DataHelena Josol2014-10-162-7/+5
| | | | | Bug: 12753154 Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1
* Merge "Using DeviceDefault theme for Launcher and WallpaperPicker" into ↵Sunny Goyal2014-10-082-6/+6
|\ | | | | | | ub-now-queens
| * Using DeviceDefault theme for Launcher and WallpaperPickerSunny Goyal2014-10-082-6/+6
| | | | | | | | Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f
* | Updating the wallpaperpicker thumb selection feedbackSunny Goyal2014-10-0815-4/+98
|/ | | | | | | | | | > Using shape drawable instead of 9-patch image > For L and above, using ripple click feedback with a tick when selected. The vector path for tick is from go/icons ('Done') Bug: 17897837 Change-Id: Ic9c9e455eb8bc39322b1474dd55432961b9a6498
* Merge "Create a central list of files the Launcher writes to the app ↵Helena Josol2014-10-061-4/+5
|\ | | | | | | directory" into ub-now-queens
| * Create a central list of files the Launcher writes to the app directoryHelena Josol2014-10-061-4/+5
| | | | | | | | | | | | | | Replace hardcoded Launcher filenames with the defined constants. Bug: 12753154 Change-Id: I072f202d9388a703b9e6851bde64ea7fafe4b10a
* | am 4b8d11fc: Add missing xxhdpi assetAdam Cohen2014-10-031-0/+0
|\ \ | |/ |/| | | | | * commit '4b8d11fcb396760eca75cf2b055a7acd05c594ec': Add missing xxhdpi asset
| * Add missing xxhdpi assetAdam Cohen2014-10-031-0/+0
| | | | | | | | | | Bug: 17813013 Change-Id: If1e3448fb109e3f7f0c1ae6562a795fecf3bdf42
| * Import translations. DO NOT MERGEBaligh Uddin2014-09-252-4/+4
|/ | | | | Change-Id: I619612c919567fdaec3d7d0f5b9a33c94439c759 Auto-generated-cl: translation import
* Add ability for Partner customization apk to override certain DeviceProfile ↵Adam Cohen2014-09-042-107/+1
| | | | | | | | | | | params -> Workspace row / col counts -> All apps row / col counts -> Workspace icon size issue 17208277 Change-Id: I25cfafede4da783083593b9bfeff4e5ba7751d36
* Saving the system wallpaper thumbnail prefixed by the SDK_INTSunny Goyal2014-08-131-8/+20
| | | | | | | | so that it is recreated after a system update. issue: 15670065 Change-Id: I237ef1d99676d5a0ac6ff7b4a80a7a72905ef1ed
* Autoinstalls loading xmlSunny Goyal2014-08-121-20/+4
| | | | | | | | | | > Launcher checkes for an apk in the system image with a broadcast receiver for action: com.android.launcher3.action.LAUNCHER_CUSTOMIZATION > Default layout is parsed from that apk, which can also contain icons and string resources used in the layout config Change-Id: I44fc9e7c3134f525f7b5db29f4e8bb56e17ce445
* Add partner customization option to force first run flowAdam Cohen2014-08-081-0/+8
| | | | | Change-Id: Id50587cbb95e375b3847597f12bd8566c70dd7bc (cherry picked from commit 923e1de9f0d7672dd18947ecde2b0da8c5768b7a)
* Fix SecurityException when exiting wallpaper picker earlyAdam Cohen2014-07-241-4/+18
| | | | | | issue 16155967 Change-Id: Iba1add737089b73e6e5bbfb143dce4204fa9dc7c
* Merge "Adding options in the partner apk to disable the default wallpaper ↵Sunny Goyal2014-07-234-87/+109
|\ | | | | | | and provide a folder containing additional wallpapers" into ub-now-master
| * Adding options in the partner apk to disable the default wallpaper andSunny Goyal2014-07-164-87/+109
| | | | | | | | | | | | | | | | provide a folder containing additional wallpapers issue: 16045459 Change-Id: Id411121ff552d0d270258a5b371d1fd756bd7884
* | Fixing memory leak in WallpaperCropActivitySunny Goyal2014-07-221-0/+8
|/ | | | | | issue 15516788 Change-Id: I6feb4cb72052bc7f19e9c30957bff7dcccd5bc9d
* 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