summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data
Commit message (Collapse)AuthorAgeFilesLines
* Setup the saving framework to support hiding original photo for editor.ztenghui2013-06-191-4/+4
| | | | | | | | | | | This new approach will try to hide the original image into an auxiliary directory. User will only see one edited image, while being able to go back to the original image in the editor. Refactor SaveCopyTask for more private funcs and more comments. bug:9468909 Change-Id: I866321d23e6db0b3dbd08fec2a6a7e3142b17b65
* Revert "New loading model"John Reck2013-03-2115-277/+184
| | | | Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
* Exif parser modifications.Ruben Brunk2013-03-133-121/+71
| | | | | Bug: 8018327 Change-Id: I66a2ec309f9807ac255bbf29d8f5f26de60e89b8
* Start of photosJohn Reck2013-02-221-1/+6
| | | | Change-Id: Id53dd96d8873e0fe6c2685e07cd7bdc0cde7ea75
* Replace various BitmapPools with a smarter unified poolBobby Georgescu2013-02-224-152/+21
| | | | | | | | 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
* Tweaks for canvasJohn Reck2013-01-181-6/+0
| | | | Change-Id: I9aecf757047f93159212441e5317ef2b3b304a70
* New loading modelJohn Reck2013-01-1615-196/+274
| | | | | | | | | | | | | Rename reload() to loadIfDirty() loadIfDirty is implemented by MediaSet and is final loadIfDirty is now blocking instead of async Subclasses must implement two protected methods, isDirtyLocked() and load() The change from async reload() to sync loadIfDirty() should be fine since all users of reload() were doing so from a background thread already, and the longest load() is PicasaAlbumSet which is still a fairly brisk 40ms or so Change-Id: If5cc596a1c13e52e5f4efff1a144bd086d37cfb7
* Add a blocking load to MediaSetJohn Reck2013-01-162-0/+15
| | | | Change-Id: I367975fd33f884fb7e576b7064c495bdb7a3ce7b
* Replace camera importerBobby Georgescu2013-01-078-748/+9
| | | | Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07
* Merge "Apply ExifModifier for rotation" into gb-ub-photos-bryceAngus Kong2012-12-192-15/+36
|\
| * Apply ExifModifier for rotationEarl Ou2012-12-192-15/+36
| | | | | | | | Change-Id: Ifa3cee7816ffeacab2415f479234856916acfecf
* | Add relativePath field into photo widget dbDoris Liu2012-12-141-0/+32
| | | | | | | | | | | | | | | | | | | | | | Bug: 7481248 The bug is caused by the change of external storage going from JB to JBMR1. In light of this change, a new field has been added to the photo widget app database to store the relative path for the local album. With the relative paths stored, the widget app should be more resilient to future storage path changes. Change-Id: Ia2497b882ae67178fa0632f23e07673b82d3a942
* | Removed old crop.Ruben Brunk2012-12-061-121/+0
| | | | | | | | | | Bug: 7441237 Change-Id: I29801f798a1d1ad3af81a82950edbb8a72ccae82
* | Added support for Crop extras. Wallpaper & Widget use editor crop.Ruben Brunk2012-12-061-0/+121
|/ | | | | | Bug: 7561976 Bug: 7441237 Change-Id: I0d6644171177650568ed911fc63c0c7e104f8d8c
* Merge "Video: Add the mute functionality." into gb-ub-photos-bryceTeng-Hui Zhu2012-11-162-1/+2
|\
| * Video: Add the mute functionality.Teng-Hui Zhu2012-11-142-1/+2
| | | | | | | | | | | | | | | | | | 1. Enable the mute video functionality. 2. Consolidate the sharing code, especially for file handling. bug:7543943 Change-Id: Ie7ec605996bc3242b1a50385f506e6a50ee2d2fc
* | Remove import exiftagsEarl Ou2012-11-141-1/+0
| | | | | | | | Change-Id: Ifa9882a32ab788e02b1ce5f1751d8c976d67c013
* | use ExifReader in MediaDetailsEarl Ou2012-11-141-18/+41
| | | | | | | | Change-Id: If8c7f32804ba55b4b0351c350e324dc1b6e508d7
* | Use getValueAt() to read different data in ExifTagEarl Ou2012-11-141-1/+1
|/ | | | Change-Id: I4d8a72523a6ad4ae34e173c4b845a462644e83c7
* use ExifParser to parse the orientaionEarl Ou2012-11-071-125/+36
| | | | Change-Id: I47171c028cbc1f94b7de5d067de0636a9e241fbb
* Load correct localized album names after language changeBobby Georgescu2012-11-052-6/+3
| | | | | Bug: 7459805 Change-Id: I484ffea5b07488ffdda2e265c4efa32a3333ea03
* Fix extra gray item in secure album.George Mount2012-11-011-4/+9
| | | | | | Bug 7454444 Change-Id: I83f40e7e74f658a7b9ada148932a231ef8c31f73
* Don't use an album for UriImages.George Mount2012-10-291-32/+0
| | | | | | Bug 7422455 Change-Id: Ic9b0ae762b56f6734a1bd452c6c877431b90c0a6
* Initialize the modified date correctly.Teng-Hui Zhu2012-10-241-0/+2
| | | | | | | | | On top of that, the date_taken is in units of seconds, while others are in units of milliseconds. bug:7307090 Change-Id: I3f14a6354fa72a20d228d49a92d5c2007ca29df1
* Use TiledTexture for thumbnails.Owen Lin2012-10-241-1/+1
| | | | | | | | | | 1. Use TiledTexture for thumbnails to prevent jank in uploading big thumbnails. (e.g., 512 * 512) 2. Use larger thumbnails (DISPLAY_LONG_SIDE / 5). bug: 7381302 Change-Id: I7661d648373e893b40b2a0304037171760091e00
* Remove panorama checks from supported operations.George Mount2012-10-185-145/+45
| | | | | | | | | | Bug 7351383 Bug 7349438 Move panorama support checks from getSupportedOperations so that calls to getSupportedOperations are consistent. Panorama checks are moved to only based on callbacks. Change-Id: Id9ff138204df84c6fb0a4c971dcea59f1220aee2
* Save edited picasa to "Edited Online Photos" albumDoris Liu2012-10-172-1/+9
| | | | | | | | | | | Bug: 7346157 This CL includes the following changes: 1) Save the new image to a new folder named "Edited Online Photos" 2) After the picture is saved, the user will be in the "Edited Online Photos" folder 3) Change the toast during saving to "Saving to" + new folder name Change-Id: Ic505925425419ba9e3c7dac31fd403bf73d6887d
* Update empty placeholder assetBobby Georgescu2012-10-161-1/+1
| | | | | Bug: 7362100 Change-Id: I521c1c481a00959bb50d17fee3be6981be84a269
* Remove old camera classes.Wu-cheng Li2012-10-164-15/+0
| | | | | bug:7201108 Change-Id: I539d02c411c654238d7e5e0c34e9ec3e6e6d4d90
* Cherry-pick of 092fd92 to fix bug 7344730 also.Chih-Chung Chang2012-10-151-1/+1
| | | | | | | | | Make getSupportedOperations() call getSupportedOperations(boolean) by default. So things will work for MediaObject who doesn't override the new method. Bug: 7336562 Change-Id: Ic9ed6211981bb91c56702eafa7b21e83ed071cef
* Add stitching panorama image to secure album.Wu-cheng Li2012-10-131-1/+16
| | | | | bug:7285105 Change-Id: I9f609f30d817f10a6c9c94fc6eadb58bc1bdd580
* Improve performance of filmstripBobby Georgescu2012-10-123-3/+3
| | | | | | Bug: 7336758 Change-Id: I22dbf2e75bc069341a9bbc2c4dcdf7750f23be7f
* Refresh panorama image after stitching completionMangesh Ghiware2012-10-112-4/+0
| | | | | | | | | Bug: 7336784 Updating photo refreshes the supported operations which indiate if said MediaItem is a panorama or not. Change-Id: If3a169c9256b3f898594a30740930b5dfd96dba0
* Move calls to LightCycleHelper off the UI thread.Mangesh Ghiware2012-10-116-73/+192
| | | | | | | | | Bug: 7320303 Replace multiple methods in LightCycleHelper with a single one that returns relevant metadata. Change-Id: Iaa75b3c1ccc8a5b724b253cec654b5b5acb4878e
* Clear cached stitching preview thumbnails.George Mount2012-10-111-0/+12
| | | | | | Bug 7328408 Change-Id: Ifbc469dc9eef95025cd8e828a0df80e76d2ff064
* Disable in-place crop for 360 panoramaMangesh Ghiware2012-10-102-2/+4
| | | | | Bug: 7281479 Change-Id: Id89e25a883a5eab8a91604ebfeab4f178ba1066f
* Change how stitched images are inserted into Gallery.George Mount2012-10-104-55/+11
| | | | | | | | | Bug 7299396 Stitching images now use normal LocalImages for their MediaItem instead of LightCycleItems. They are no longer part of a special album. Change-Id: Ic62822a44b9743829dee50bcfa6f455cd538afa7
* Merge "Dejank camera roll scrolling in grid view." into gb-ub-photos-archesBobby Georgescu2012-10-091-1/+1
|\
| * Dejank camera roll scrolling in grid view.Pin Ting2012-10-091-1/+1
| | | | | | | | | | Bug:7302644 Change-Id: I280be430101f57dde5a5a6f427cf48e725e39b45
* | Handle stitching progress in secure album.Wu-cheng Li2012-10-091-12/+38
|/ | | | | | | | | | | - In secure album, show stitching progress only if it is captured after the device is locked. - Make sure image capture intent does not show stitching progress. bug:7285105 Change-Id: I0b3ba60fe3c03f488bea25e2f09843dd84ab6dfb
* Share only 360-degree panoramas with new MIME typeMangesh Ghiware2012-10-084-6/+44
| | | | | | | | | | 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
* Show stitched panorama in secure album.Wu-cheng Li2012-10-071-1/+21
| | | | | bug:7285105 Change-Id: I36801d4e5b19cceb10600d41a3a3c78244c5ee4a
* Set the thumbnail/screennail sizes based on screensizeBobby Georgescu2012-10-052-12/+26
| | | | | | | | | | | | | | 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
* Support panorama progress items in Gallery.Angus Kong2012-10-042-1/+10
| | | | | | | Bug 7259843 Add dummy files for showing panorama progress in filmstrip. Change-Id: I7ae92b90bbbd992fde00cfcfc68af69b34d34d74
* Disable destructive rotate for lightcycle panoramaMangesh Ghiware2012-10-031-0/+2
| | | | | Bug: 7276024 Change-Id: I2b223d3928517b083cc982db8142770da02dd5b9
* Show Camera placeholder as first filmstrip item in rollBobby Georgescu2012-10-026-38/+126
| | | | | | | | | | Bug: 7272674 The camera roll filmstrip view now shows a shortcut to launch the camera when opened from the Gallery app. Note: the edits to SnailAlbum and SnailSource were made to allow sharing code between SingleItemAlbum and SnailAlbum Change-Id: I1bd2f3db99138c4b79a41c9c5baee46704cd18e0
* Fix crash, remove logging added to diagnose bugBobby Georgescu2012-10-021-11/+2
| | | | | | | | | Bug: 7216012 LocalMergeAlbum index was not being initialized in constructor so it was possible to access the index before it was populated with information. Change-Id: I7025839b0f3953b827f06c717cff6dc47a15b06c
* Merge "Update assets of the lock screen image in the secure album." into ↵Wu-cheng Li2012-10-011-1/+1
|\ | | | | | | gb-ub-photos-arches
| * Update assets of the lock screen image in the secure album.Wu-cheng Li2012-10-021-1/+1
| | | | | | | | | | bug:7192331 Change-Id: I551e14420e43106e97b093884571eaea27b00425
* | Improve display of ActionBar album mode switcherBobby Georgescu2012-10-011-1/+5
| | | | | | | | | | | | | | | | | | | | | | Bug: 7265942 Bug: 7266862 - Ellipsize the title of the album when appropriate - Show correctly title when swiping from camera to gallery - Hide the delete icon in the overflow menu to match the latest UX mocks, making more room for title Change-Id: Ief77f65c972e75086c5dbf4229c9462cbcc17940