summaryrefslogtreecommitdiffstats
path: root/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Reducing method count by eliminating synthetic accessorsAdam Cohen2015-03-201-17/+18
| | | | | | | | | | | Elimates 304 methods based on dex analysis The java compiler generates sythetic accessor methods for all private fields, methods and contructors accessed from inner classes. By marking them package-private and @Thunk instead, sythentic accessor methods are no longer needeed. These annotated elements should be treated as private. Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
* Cleaning up some resources in WallpaperPickerActivitySunny Goyal2015-02-261-49/+15
| | | | Change-Id: I4923403c0c094d0ae0b00e3a08a13099c3addb10
* Reducing memory usage of wallpaper pickerSunny Goyal2015-02-241-40/+36
| | | | | | | | | | | | > Loading preview bitmap only once, instead of loading it twice at BitmapRegionTileSource and BitmapSource > Maintaing a weak-set of reusable bitmaps and reusing them for decoding bitmaps > Loading images on a HandlerThread (instead of AsyncTask) and removing any non-started task before submitting a new task > Loading inbuild images (from resources) on HandlerThread instead of UIThread > Freeing up unbound GL textures before binding a new texture. Bug: 18382606 Change-Id: Ic4ca630dd113ded65d2853eb0d291c9e5823637e (cherry picked from commit 283c2261bd4440f4108a564cea0f5fc499781213)
* Merge "Moving some files and methods around" into ub-launcher3-masterSunny Goyal2015-02-201-6/+9
|\
| * Moving some files and methods aroundSunny Goyal2015-02-121-6/+9
| | | | | | | | | | | | | | | | > Removing android.util package > Moving static methods and classes out of WallpaperCropActivity > Removing some unused utility methods Change-Id: I252a0655ddce195189b6b3f0bf92970e5808c9d7
* | Merge "Fixing logic to determine if wallpaper change." into ub-launcher3-masterSunny Goyal2015-02-201-26/+2
|\ \ | |/ |/|
| * Fixing logic to determine if wallpaper change.Sunny Goyal2015-02-121-26/+2
| | | | | | | | | | | | | | > Current logic to determine if livewallpaper changed returns true all the time > Use returnCode passed by the calling activity. Change-Id: Ida800a90451b1f7d368234e1a7e10938dcf2f6f7
* | Fixing last image thumb, being loaded twiceSunny Goyal2015-02-121-2/+1
|/ | | | Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f
* Add more Launcher files to delete on Clear Launcher DataHelena Josol2014-10-161-6/+4
| | | | | Bug: 12753154 Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1
* Add ability for Partner customization apk to override certain DeviceProfile ↵Adam Cohen2014-09-041-1/+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
* Fix SecurityException when exiting wallpaper picker earlyAdam Cohen2014-07-241-4/+18
| | | | | | issue 16155967 Change-Id: Iba1add737089b73e6e5bbfb143dce4204fa9dc7c
* Adding options in the partner apk to disable the default wallpaper andSunny Goyal2014-07-161-45/+79
| | | | | | | | provide a folder containing additional wallpapers issue: 16045459 Change-Id: Id411121ff552d0d270258a5b371d1fd756bd7884
* Add null check for empty MediaStore cursorAdam Cohen2014-06-121-5/+8
| | | | | | issue 15397853 Change-Id: I1c28262e181a4f32e1f7a58813121db72746d6a8
* 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
* Merge "Changed behaviour of the wallpaper picker." into ub-now-lunchboxSelim Cinek2014-03-041-10/+94
|\
| * Changed behaviour of the wallpaper picker.Selim Cinek2014-03-031-12/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Disable Set Wallpaper button while loading imageMichael Jurka2014-01-171-0/+4
| | | | | 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
* Create separate project for Wallpaper PickerMichael Jurka2013-12-131-0/+1004
Change-Id: Id9e855780b9fb68c63eb6e9f6c19bcbce28a6fd5