Commit Graph
7 Commits
Author SHA1 Message Date
Tony Wickham f2bd93c7e0 Handle errors gracefully in WallpaperCropActivity.
(cherry picked from commit c984cde008)
Now instead of crashing, it says "Couldn't load image."

Bug: 25326319
Bug: 25656670
Change-Id: I71471f4b26f7c23dee40b60772ddd798f67b409e
2015-11-18 11:31:26 -08:00
Sunny Goyal e49c105de5 Verify that an image can be rendered on a GL Surface before using it
Bug: 20138883
Change-Id: I8de70eb971f31c2a4c07a7903e097a1586402282
2015-05-18 16:42:22 -07:00
Sunny Goyal 65b929d6f2 Reducing memory usage of wallpaper picker
> 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 283c2261bd)
2015-02-24 23:18:25 +00:00
Adam Skory 5fbdd06489 Squash unreachable catch
The compiler warning distracts me often.

Change-Id: I0192314f4ac9d8e3acb40dd10a39de297affcdac
2014-06-04 18:13:49 +01:00
Michael Jurka b1f50d70e9 Catch exceptions if Exif is malformed
Bug: 11650650

Change-Id: Iee8f1675850c692fe54dc619f3e969ba180e4206
2014-01-23 15:26:50 +01:00
Michael Jurka 34c2e6cf7a Clean up imports 2013-12-13 16:20:53 +01:00
Michael Jurka 7ad868b86e Create separate project for Wallpaper Picker
Change-Id: Id9e855780b9fb68c63eb6e9f6c19bcbce28a6fd5
2013-12-13 12:50:32 +01:00