summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d/common
Commit message (Collapse)AuthorAgeFilesLines
* Add existence check for face detection methods.Ahbong Chang2012-07-121-0/+20
| | | | | | | | | | android.hardware.Camera.setFaceDetectionListener() android.hardware.Camera.startFaceDetection() android.hardware.Camera.stopFaceDetection() android.hardware.Camera.Parameters.getMaxNumDetectedFaces() Bug: 6707152 Change-Id: Ia6b54246273548db44ec28c40f9efe49048ea8d5
* Add existence check for DevicePolicyManager.getCameraDisabled()Hung-ying Tyan2012-07-101-0/+5
| | | | | Bug: 6706695 Change-Id: Ib8ea8805a4bea862c8407f8c73a6e5ba1e0f49d3
* Avoid using setSystemUiVisibility in old platforms.Yuli Huang2012-07-061-0/+3
| | | | | | bug:6785569 Change-Id: I0a19ab2818b6f34d530c5d65e781d3168533d44f
* Don't test the EXTRA_LOCAL_ONLY before HC.Owen Lin2012-07-051-0/+3
| | | | Change-Id: Idebb2aba994e38cf7eead795f1834ff98eaec27d
* Don't show the shuffle and album widget for old platformsOwen Lin2012-07-051-0/+3
| | | | Change-Id: Ide7074025aefe289bf6c71d623eac5100ab72932
* Don't use invalidateOptionsMenu before API level 11.Owen Lin2012-07-051-1/+15
| | | | Change-Id: If46d46e44797b2bd4f66235eca0954a55d0008cf
* Don't use AutoFocusMoveCallback on older platforms.Chih-Chung Chang2012-07-041-0/+3
| | | | Change-Id: I281888ee88c08b1caf4754e714f0f42c75e26dd9
* Use MTP only if the MTP API is available.Chih-Chung Chang2012-07-041-0/+3
| | | | Change-Id: I5c747d0da2905eb344c56dfab6333034dd5eecc3
* Merge "Add ExifTags to hold tag names that are not available in ExifInterface"Hung-ying Tyan2012-07-031-0/+27
|\
| * Add ExifTags to hold tag names that are not available in ExifInterfaceHung-ying Tyan2012-07-031-0/+27
| | | | | | | | | | | | | | prior to API level 11. Bug: 6775786 Change-Id: Iab564f577d9a0b87c8fb7b91eda6cabc12b5a11a
* | Remove dependencies on APIs only exist on newer platforms.Chih-Chung Chang2012-07-033-0/+1483
|/ | | | Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
* Don't reuse bitmap before HoneyComb.Owen Lin2012-07-031-0/+3
| | | | Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
* Don't use Build.VERSION_CODES.Owen Lin2012-06-281-3/+11
| | | | | | | | Since they won't be available on old platform. bug: 6752318 Change-Id: I55a9e83dbf05b93c83c68cb31f6edcbc29793283
* Don't reuse bitmaps in BitmapRegionDecoder before JB.Owen Lin2012-06-281-0/+6
| | | | Change-Id: I8a2f520f98116af6861fa2cd1460e6f848bbb4e4
* Use MediaColumns.WIDTH and MediaColumns.HEIGHT only when they are available.Owen Lin2012-06-221-0/+4
| | | | | | bug:6698720 Change-Id: Iaabfd1d5fe16b5d89f564d688a78e773ad36c8bd
* Guard the use of SYSTEM_UI_FLAG_XXXX with TargetApiOwen Lin2012-06-221-0/+37
| | | | | | bug: 6698718 Change-Id: I6962f0128ce2bd57658b7f3b77d2bc150eff1f60
* Move LongSparseArray into Gallery for unbundling.Owen Lin2012-06-201-0/+368
| | | | Change-Id: Ifa0d06818a2d21bd8ddeabe808d792f39c31322f
* Mark FileCache initialized after init really goes through.Hung-ying Tyan2012-05-091-1/+4
| | | | | Bug: 5988196 Change-Id: Ia826ce6a33c200a2cd09c21d7ef22f4dd161caa9
* Add UNIQUE to EntrySchema.Hung-ying Tyan2012-05-042-2/+17
| | | | Change-Id: I0fbf69a60aafe8d7a82241467d077c48beadbf49
* Reuse bitmap for all micro thumb images to prevent GC.Owen Lin2012-03-142-37/+22
| | | | Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
* Remove unused code.Chih-Chung Chang2012-02-232-108/+0
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Reduce memory allocation and make small improvements.Chih-Chung Chang2012-02-221-6/+8
| | | | Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
* 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
* Add close() to Download cache.Owen Lin2011-12-012-4/+10
| | | | | Change-Id: Idf0482e9f3cd2f667dca902ffea75bb0a0225d2d fix: 5664497
* Fix 5481444 Face clustering should use PWA profile shot instead of random photoRay Chen2011-11-111-1/+1
| | | | Change-Id: Ie4e3f9ae19431ab5b36d216cd7f4c626de503bbf
* Add maskDebugInfo to display info for debugging build only.Owen Lin2011-09-291-0/+15
| | | | | | bug: 5335366 Change-Id: I5b6de536bb8e9439b61eb3778fbb1801c8e898c8
* Merge "Make the column type constants public in EntrySchema"Hung-ying Tyan2011-09-201-9/+9
|\
| * Make the column type constants public in EntrySchemaHung-ying Tyan2011-09-181-9/+9
| | | | | | | | | | | | so that we can use the 'type' member in ColumnInfo. Change-Id: Ia1a8af6fd0464b9b799796b5c99037531a0de00b
* | 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
* Merge "Revert "bug #5252975: guard against null bitmap object, don't NPE.""Owen Lin2011-09-081-15/+1
|\
| * 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
* | Suppress log from Utils.parseXXXSafely().Hung-ying Tyan2011-09-061-2/+0
|/ | | | | | | Callers already expect non-number strings with these calls. No need to print out the stack trace. Change-Id: I27226ca50e4e7e906939505ad5d53906e8999e95
* 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-189-0/+2648
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c