summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d/common/BitmapUtils.java
Commit message (Collapse)AuthorAgeFilesLines
* Reuse bitmap for all micro thumb images to prevent GC.Owen Lin2012-03-141-32/+17
| | | | Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
* Remove unused code.Chih-Chung Chang2012-02-231-25/+0
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Use FloatMath instead of Math.Chih-Chung Chang2012-02-111-5/+5
| | | | Change-Id: I41661b231f6c034dbca6af26d5950eda6c5fc7da
* Revert "Use FloatMath instead of Math."Chih-Chung Chang2012-02-101-5/+5
| | | This reverts commit 6bb8b2eb8695c042798f0eb798032cd30d642a65
* Use FloatMath instead of Math.Chih-Chung Chang2012-02-111-5/+5
| | | | Change-Id: I26eb6a554f72c13ba2801ce35ef0cf2a1466a97b
* Fix 5481444 Face clustering should use PWA profile shot instead of random photoRay Chen2011-11-111-1/+1
| | | | Change-Id: Ie4e3f9ae19431ab5b36d216cd7f4c626de503bbf
* Fix 5337270: Thumbnail is not generated for large GIF images.Chih-Chung Chang2011-09-201-0/+11
| | | | Change-Id: I8e2e8cafb01b2289f59b28b7e2eadae3dc5c0c50
* Add a hard limit on the size of the widget images.Owen Lin2011-09-191-1/+1
| | | | | | | | | | | | | | | There is a limit on the size of the data transfered by binder. For now, we just add a hard limit (360 pixel) to ensure the widget's image can be passed by binder. Also adjust the size of widget to make it looks better. Fix a bug in DecodeUtils which cause OOM for a image in size 12200x1920. In that case, we should generate a screen nail of size 640x101 instead of 4066x640. Change-Id: Ia8227d8e5368471fe7af94bf164d67017aa321fa fix: 5273271
* Fix picasa images rotate incorrectly.Owen Lin2011-09-121-0/+1
| | | | | | fix: 5268469 Change-Id: I58fc4a6d4a10c2952040eedee5936efa949b66e2
* Revert "bug #5252975: guard against null bitmap object, don't NPE."Owen Lin2011-09-061-15/+1
| | | | | | | This reverts commit 7012ebe1c85e538c572e23d4cb98cad88699c782. We would like to know the crash as soon as possible. bug: 5252975
* Improve the performance of Reviewing a photo.Owen Lin2011-09-051-3/+0
| | | | | | | | | | | | | | | | | fix: 5144370 There is two componenet in the photo page. One is the large photo and the other is the thumbnail strip. They idenpendently load their own data and images. This change fixes several issues here: 1. Prevent sending to many jobs to ThreadPool and block others. In a worse case, if the thumbnail strip send image requests first, it may block the ThreadPool very long. 2. Improve the performance of extracting thumbnails from local files. Now we try to extract the thumbnails from EXIF data first. Change-Id: I45100d4daa025efb479f47c4f105de2b4731b498
* bug #5252975: guard against null bitmap object, don't NPE.Wei Huang2011-09-021-1/+15
| | | | | | - check for null Bitmap object before using. Change-Id: I99d85916dae45128d67be084860d66dd89ec2f95
* Use getEmbeddedPicture to get thumbnail of a picture.Owen Lin2011-08-261-0/+6
| | | | | Change-Id: I69d0d2129906eb780df3940f0bdce0e84c5e2b1d fix: 4190748
* Initial code for Gallery2.Owen Lin2011-08-181-0/+285
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c