summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | More logs for gallery crash error, remove a potential causeBobby Georgescu2012-10-012-5/+13
|/ | | | | | | | | | Bug: 7216012 Made sure that FilterDeleteSet doesn't ever return stale item counts, added extra logging in LocalMergeAlbum for NoSuchElementException so that we can have more info to diagnose this crash if it happens in the future. Change-Id: Ic988522fda4a16bb483db6ad34bc7f81ee098b03
* Merge "Fixed behavior for back key when viewing download." into ↵Ruben Brunk2012-09-281-0/+32
|\ | | | | | | gb-ub-photos-arches
| * Fixed behavior for back key when viewing download.Ruben Brunk2012-09-261-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 7205463 Bug: 7164238 Bug: 7175040 When viewing an image via the download notification from browser, changed the default behavior of the back key to take the user to the downloads folder. Change-Id: Ia842bfa0f23c3b0ba767e3f0447add2c9b2cc6a7
* | Show a placeholder when the camera filmstrip is emptyBobby Georgescu2012-09-286-72/+243
| | | | | | | | | | | | | | | | Bug: 7213757 Tapping the placeholder takes the user back to the full-screen camera capture mode. Change-Id: I844f789b8e80f34e79f4a9c366c1c244bbf1f2a5
* | Several secure album changes.Wu-cheng Li2012-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Make the lock screen photo be a standard portrait size photo - In the filmstrip, have the first tap on the lock screen photo take the user directly to the unlock screen. - Switch the asset to be a "locked" lock rather than an "unlocked" lock. bug:7192331 Change-Id: If7541cd67cdfb711f8dd721796db3343ae91343a
* | Merge "Show unlock image in secure album only when camera roll has items." ↵Wu-cheng Li2012-09-261-2/+20
|\ \ | | | | | | | | | into gb-ub-photos-arches
| * | Show unlock image in secure album only when camera roll has items.Wu-cheng Li2012-09-261-2/+20
| |/ | | | | | | | | | | bug:7192331 Change-Id: I8e0a9ea87181c2256632a4dc802cc0668fac1e0e
* / Only create debugTag if necessaryJohn Reck2012-09-261-5/+8
|/ | | | | | | Bug: 7238418 String concatenation isn't free Change-Id: I510a89ef8b673efb631d6f8929ab3d9d9b454931
* Add an unlock image in the end of secure album.Wu-cheng Li2012-09-254-5/+121
| | | | | | | | | | When camera is started from secure lock screen, put placeholder "proto-photo" at the end of the camera roll. When it is clicked, it takes the user to the lock screen. bug:7192331 Change-Id: Ia444d3bb8a88ba69bba4c47cb9783a60a6986c34
* Use vendor specific MIME type for sharing LightCycle panoramasMangesh Ghiware2012-09-233-3/+3
| | | | | Bug: 7150324 Change-Id: I78d426672e9a8fc69f0b9b564438e40eb0230719
* Fix metadata of cropped image for details display.Earl Ou2012-09-202-1/+4
| | | | | | | | | | + drop the old thumbnail of the cropped image + update DateTime tag in EXIF + add EXIF Software tag + display DATE_MODIFIED in details instead of DATE_TAKEN Bug:7192433 Change-Id: I89dcb29dd3242f58fe96cd25398217e94f42fc97
* Add UriImage support for viewing LightCycle panoramas.George Mount2012-09-183-3/+40
| | | | Change-Id: I7f61cef39370fd23b9481708dc3c902c17873074
* Fix bugs relating to grid/filmstrip switchingBobby Georgescu2012-09-171-0/+1
| | | | | | Bug: 7180582 Bug: 7146147 Change-Id: I3d2ad8866a938f9f162e14f11bc2e021834ba513
* Launch next-gen editor if present and show FX buttonBobby Georgescu2012-09-111-0/+5
| | | | | | | | Bug: 7050303 Shows editor button on the photo page and launches the next-gen photo editor if it is present on the device. Change-Id: I4058cffaec3fc4b446bd90dbecb809681d3255ea
* Ensure peekObject is called in the syncrhonization block.Owen Lin2012-09-116-42/+61
| | | | | bug: 7019598 Change-Id: If153287078826afc9827ea64364b4fb64f2b3a5f
* More logging added for monkey crashDoris Liu2012-09-101-1/+3
| | | | | | | The crash is difficult to repro. So I'm adding more logging here to help figure out what caused the crash next time it happens. Bug: 6495745 Change-Id: Ib6a47f45e0508bc5def61fdc9f4e4a488b48ad92
* Show play icon for panorama.George Mount2012-09-103-0/+14
| | | | | | Bug 7124494 Change-Id: I17fdb5d6bcab1f3997a1ab92fcf45e0309b394b3
* Reskin: switching between filmstrip and grid in albumBobby Georgescu2012-09-093-0/+18
| | | | | | | | | | | Bug: 7050303 Bug: 6541425 Allows switching between the filmstrip and the grid views within albums and launches camera roll in filmstrip mode by default. Also fixes animation issue when animating from full-screen to grid view. Change-Id: I2a37b92c129cc090fd807973f7e3e82fed207cd3
* Merge "Use XmpUtil to detect panorama instead of caption." into ↵George Mount2012-09-071-1/+1
|\ | | | | | | gb-ub-photos-arches
| * Use XmpUtil to detect panorama instead of caption.George Mount2012-09-071-1/+1
| | | | | | | | | | | | Bug 7124493 Change-Id: I7a21206b47aea701428132d8500fa0873cb3c91a
* | Update media items when a picture is deleted in secure album.Wu-cheng Li2012-09-071-7/+69
|/ | | | | | | | | Query the database and only show the media items that still exist. bug:7053266 Change-Id: Ic8c1b8c514e59741436bca14e918ef100eaf14f8
* Move LightCycle checking to the closed source.Angus Kong2012-09-051-2/+2
| | | | | bug:7076779 Change-Id: Ieebe0343a46257ca07f06483beb9391a90d7727a
* Set inMutable to true if we may reuse the bitmap.Owen Lin2012-09-041-0/+11
| | | | | bug: 7092330 Change-Id: I0def7e2e9ce57d09ba7f5e001b33cc605a6af44c
* Merge "Fix NPE when deleting a photo in Clustering mode." into ↵Owen Lin2012-09-021-1/+3
|\ | | | | | | gb-ub-photos-arches
| * Fix NPE when deleting a photo in Clustering mode.Owen Lin2012-08-301-1/+3
| | | | | | | | | | bug: 7075760 Change-Id: I64b278b8c9436ada23738f28510736dcf7e18755
* | Remove unused resources and fix some warnings.Owen Lin2012-08-305-15/+24
| | | | | | | | Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
* | Invoke LightCycle viewer for panoramas.Angus Kong2012-08-292-0/+8
| | | | | | | | | | | | | | | | | | | | 1. Add SUPPORT_PANORAMA_VIEW to supported operations. 2. Add helper methods in LightCycleHelper: a. checks if the image file is a panorama. b. invokes the panorama view activity. bug:6912297 Change-Id: I7909e49632cad02a795943a113bca6aec17df9dd
* | add the menu button to support trimmingTeng-Hui Zhu2012-08-272-1/+2
| | | | | | | | | | | | This is only visible for video item. Change-Id: I17f8e902f3560cc8524f890705c020901331df74
* | Add secure album support for lock screen camera.Wu-cheng Li2012-08-275-11/+158
|/ | | | | | | | | Secure album only shows the media items added by the camera. bug:5955016 Change-Id: Id26abec4dfcc036cf9de682398fed25eed73d1a5
* Extract EXIF info only for JPEG filesOwen Lin2012-08-132-1/+7
| | | | | bug: 6489840 Change-Id: I0ad682bffa5374d0d61ebaa502cc8b90e469b4c8
* Add logging for monkeyDoris Liu2012-08-021-1/+2
| | | | | | Bug: 6495745 Change-Id: Ib24ba3dd6a887259c5e6083ca5eb270a0bd4e801
* Fix typo of datetaken field.Wu-cheng Li2012-08-011-1/+1
| | | | Change-Id: I3d53388696101178598910d0b73444988408cbc3
* Don't use Files.getContentUri in previous API levels.Owen Lin2012-08-014-135/+260
| | | | Change-Id: I4d096734d22c93b83b2bf8082450ad0d73ade837