summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/MediaItem.java
Commit message (Collapse)AuthorAgeFilesLines
* Gallery2: support GIF animationLikai Ding2014-11-041-0/+1
| | | | | | | This change implements a Java GIF decoder. Change-Id: I72b6e8eb25572bba77a2a46e1754d8db8c47a0cc Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Replace various BitmapPools with a smarter unified poolBobby Georgescu2013-02-221-24/+0
| | | | | | | | Make all of gallery use a single shared pool, and pave the way for making the pool more adaptive based on the current workload. Change-Id: Ia32561ad50b1b9716ebe2fd32a7bf02737685dac
* Move calls to LightCycleHelper off the UI thread.Mangesh Ghiware2012-10-111-8/+0
| | | | | | | | | Bug: 7320303 Replace multiple methods in LightCycleHelper with a single one that returns relevant metadata. Change-Id: Iaa75b3c1ccc8a5b724b253cec654b5b5acb4878e
* Share only 360-degree panoramas with new MIME typeMangesh Ghiware2012-10-081-0/+4
| | | | | | | | | | Bug: 7302972 Instead of using the UsePanoramaViewer attribute in XMP metadata, ensure that the panorama is full 360 degree by checking if the cropped width is same as the full panorama width. Change-Id: I66d864df96052f96db5fa19fb02b3abe214b4dec
* Set the thumbnail/screennail sizes based on screensizeBobby Georgescu2012-10-051-11/+25
| | | | | | | | | | | | | | Bug: 7232758 Prior to this CL, the thumbnail and screennail sizes were hardcoded which resulted in mediocre image quality when using the Gallery in general and the camera filmstrip. Now, we set the size of these items based on the resolution of the display. Because high-resolution devices tend to have higher-performance graphics to drive their large displays, we expect that this will not introduce any significant performance impact. Change-Id: I90e08f7aca670e275c913fd9e21e4459c8bf9fcf
* Add UriImage support for viewing LightCycle panoramas.George Mount2012-09-181-0/+4
| | | | Change-Id: I7f61cef39370fd23b9481708dc3c902c17873074
* Show play icon for panorama.George Mount2012-09-101-0/+4
| | | | | | Bug 7124494 Change-Id: I17fdb5d6bcab1f3997a1ab92fcf45e0309b394b3
* Don't reuse bitmap before HoneyComb.Owen Lin2012-07-031-3/+11
| | | | Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
* Add thumb pool the cache Bitmap used for thumbnails.Chih-Chung Chang2012-04-181-3/+7
| | | | Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
* Add BytesBufferPool to prevent GC.Owen Lin2012-04-101-1/+10
| | | | Change-Id: Ia8513ff380a60f102481cbf25650eca149b75064
* Upload textures in background.Owen Lin2012-04-051-1/+9
| | | | Change-Id: I365f7be9aaab793366884249cbb10e8b6f0ab0e6
* Create a ScreenNail interface so we can add other types of screenails.Chih-Chung Chang2012-03-211-0/+7
| | | | | | Add a new MediaItem type to contain a ScreenNail. Change-Id: Ia303949f3013dd48ded204eaf9ec69a102b8503e
* Reuse bitmap for all micro thumb images to prevent GC.Owen Lin2012-03-141-2/+14
| | | | Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
* Fix 5611147 attachments (picture) can't be viewed after they're savedRay Chen2011-11-161-0/+2
| | | | Change-Id: I0de0b8c176e1c3f838e81e3549c6795613b90069
* Fix 5481444 Face clustering should use PWA profile shot instead of random photoRay Chen2011-11-111-0/+4
| | | | Change-Id: Ie4e3f9ae19431ab5b36d216cd7f4c626de503bbf
* Fix 5299746: New UI layout, part 2.Chih-Chung Chang2011-09-201-0/+5
| | | | | | | | | | - Replace various icons and add xhdpi/sw600dp-mdpi versions of them. - When user press on the thumbnails, show a color overlay on it. - For a wide (w/h > 2) picture, add panorama overlay on it. - Align photo count label position when there is no icon for it. - Adjust offline page layout. Change-Id: I327d25806e99843bfa05d3ca0e9be5a8f9375595
* Fix picasa images rotate incorrectly.Owen Lin2011-09-121-0/+6
| | | | | | fix: 5268469 Change-Id: I58fc4a6d4a10c2952040eedee5936efa949b66e2
* Initial code for Gallery2.Owen Lin2011-08-181-0/+75
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c