summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Fix null pointer crashingChih-Wei Huang2016-09-291-1/+1
| | | | Change-Id: Ie55d1c37c05b334398b713db17353885a9125e3a
* Gallery: Remove more possible NPEsMichael W2016-08-132-0/+7
| | | | | | | getCache can return null -> check this before proceeding Change-Id: I834780a4dafbe22f2d345fe5571cb20f3f3e5e2e
* Gallery: Make sure no NPE happensMichael W2016-06-041-11/+15
| | | | | | Fix for the case when getExternalCacheDir returns null Change-Id: I15f4a4a37ac44d70d14ac08cd743d3327f91dde1
* Gallery: Try to open existing cameraMichael W2016-05-233-9/+13
| | | | | | | | | Do not just open Camera2, just open any existing cam Also get rid of context parameter as it's unused (Reference: BugReports 13-20160506-12 Line #5) Change-Id: I18514ee30411a639230840fc2f152b8331bbca3d
* Gallery2: Revert DRM featureSteve Kondik2015-10-1819-353/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Missing framework support in M, revisit later. Revert "Gallery2 : Drm file can be set as wallpaper" This reverts commit b00985f4de70444fa5ece9e8a78a79e73f4475b1. Revert "Gallery2 : Drm lock icon added on Photo widget for drm content" This reverts commit 4f3e49619d3954056f899660cc764f3773d92141. Revert "Gallery2 : GIF animated drm file can be visible in Gallery app" This reverts commit f5b491b181839286f58d640ae690f1860ef19e8c. Revert "Gallery2 : Delete and Details options are not visible on Camera preview" This reverts commit 704bff736bda2bc5f6c5aa2956879f55101191f5. Revert "Gallery2 : Video share option is not working" This reverts commit ea87a93df185b9f8c1e477188b55a2fe97dc983e. Revert "Gallery2 : Uses internal Drm image decoder api in Gallery app" This reverts commit 01f5f347cf33813b51bd0865dc620d001c8d8735. Revert "Gallery2 : Added support for Oma drm (CD and SD)" This reverts commit 43044da1965c1b687695f3f4e1d44d3636496978. Revert "Gallery2: Make Gallery2 support OMADRM feature" This reverts commit 829f9ad8c06070038cdef24e5fac76a8a16f841b. Change-Id: I4300285fd8539eb2e3134a0e472a087b83a0228f
* Merge branch 'cm-12.1' of ↵Steve Kondik2015-10-17105-459/+6562
|\ | | | | | | | | | | git://github.com/CyanogenMod/android_packages_apps_Gallery2 into cm-13.0 Change-Id: Ib8caa024d2e6feca332e3645038f226fd5a910a2
| * Gallery2 : Delete and Details options are not visible on Camera previewParamananda2015-09-182-4/+4
| | | | | | | | | | | | | | | | Added SUPPORT_DELETE and SUPPRT_INFO option on option item of image preview screen. CRs-Fixed: 819964 Change-Id: If8bbc702073d7193afb445feaa08d766886d3f22
| * Gallery2 : Video share option is not workingParamananda2015-09-181-3/+5
| | | | | | | | | | | | | | | | - Issue is due to OMA DRM integration on the platform. - Added video share option on local video supported operation list. CRs-Fixed: 822784 Change-Id: Ia2a81b5f08ac02b98dd365b788d766ae3b57020e
| * Gallery2 : Drm file can be set as wallpaperParamananda2015-09-151-0/+4
| | | | | | | | | | | | | | | | | | | | - Only DRM FL file can be set as device wallpaper. Other licenseable files like CD and SD can not be allow for wallpaper because after license expaired we can not revert wallpaper to default. CRs-Fixed: 804190 Change-Id: I42f501b6a06a057765f80a6a124970bec6619e85
| * Gallery2 : Drm lock icon added on Photo widget for drm contentParamananda2015-09-153-4/+35
| | | | | | | | | | | | CRs-fixed : 804180 Change-Id: I11c969f0156dba6db75c924a568eaa0733395208
| * Gallery2 : GIF animated drm file can be visible in Gallery appParamananda2015-09-151-0/+20
| | | | | | | | | | | | CRs-fixed : 804192 Change-Id: I0d62ebc31b54d5369e9530089e7c47088fc8d92f
| * Gallery2 : Uses internal Drm image decoder api in Gallery appParamananda2015-09-1524-699/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove all previous drm implementation which is basically uses base bitmap decode apis to decode drm image files. - Introduced new hidden apis on BitmapFactory and BitmapRegionDecoder specific to DRM content which is more practical to DRM framework. - Uses DrmHelper a utility drm api library to code reusability. - This approch will fix the issue on sharing images from Third party application. CRs-fixed : 804191 Change-Id: I2e9489800c57df4fdeeb21f1548fbccc6dfbd3f9
| * Gallery2 : Added support for Oma drm (CD and SD)Paramananda2015-09-159-40/+21
| | | | | | | | Change-Id: I9c793f85e255e8fd183197410111de2dc618ca76
| * Gallery2: Make Gallery2 support OMADRM featureParamananda Pradhan2015-09-1523-35/+766
| | | | | | | | | | | | - Make Gallery2 can recognize and consume DRM images and videos. Change-Id: I1655d295bcec31b5760c2c86c06f815cf6ed57ee
| * Gallery3d : Fix CROP_ACTION for third party appsDanesh M2015-09-142-35/+143
| | | | | | | | | | | | | | | | | | | | Certain apps such as google photos, don't respect return-data true, since the bitmap could be very large. Switch to a file provider to pass the external apps a uri to write cropped results to. Change-Id: I9ec8b8defaffa3d9fa0c2cdfd68422eeff5aef84
| * Photo Gallery widget: fix NPE in getViewAtRaj Yengisetty2015-07-081-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repro: - Add Photo Gallery widget to a home screen - Select "Shuffle all images" - Immediately drag widget to "Remove" - Observe NPE The remote view is destroyed and the reference to mSource is null. By making onDestroy and getViewAt synchronized methods, we ensure that destroy cannot be executed to null out mSource while getViewAt is being called. Change-Id: I470f9f6227f437039cf111071c905268db1bd62e
| * Gallery2: Fix crash when Bluetooth service is disabledroot2015-06-011-2/+3
| | | | | | | | Change-Id: I2807b0e2be58a0661bb2161d5d894c0191d050b2
| * Add Storage preference (2/2)Scott Warner2015-05-317-15/+78
| | | | | | | | | | | | | | Based on CM11, this patch adds an intent listener to listen for storage path changes from the camera app and set the default camera folder. Change-Id: I5efec988136c6daaffe9d209278b6aa4ca29116b
| * Gallery2: Fix RTL album pickingCaio Schnepper2015-05-041-6/+0
| | | | | | | | | | | | The gallery picks the albums in inverted side while using RTL languages, this makes it correctly open the choosen album Change-Id: I9e944731515514f00838c62b72900442461d4014
| * Revert OMADRM feature.staging/cm-12.1Steve Kondik2015-03-2823-747/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * No need for this. Revert "Gallery2 : Added support for Oma drm (CD and SD)" This reverts commit 6144de8cc35fdd114802545c9922a1a234af8397. Revert "Gallery2: Make Gallery2 support OMADRM feature" This reverts commit 9382a979292e52de5c60a39ba24688362dce8bc1. Change-Id: I13a0d69a792aad36d7b15bc0b3c78e3f55d396bc
| * Add record time to details viewFlamefire2015-03-283-13/+34
| | | | | | | | | | | | | | | | PS2: Move strings PS3: Move DateTime format to public in ExifInterface PS4: Actually use that DateTime format Change-Id: If30e19d0b79039357f393752544c655e073a46d2
| * Reduce logspam in video playeremancebo2015-03-284-35/+87
| | | | | | | | Change-Id: I71b1356f7e326174378c99b4b0e5e60764a7c139
| * gallery: use inJustDecodeBounds in ImageFilterBorderJorge Ruesga2015-03-282-4/+50
| | | | | | | | | | | | | | | | | | | | To avoid OOM exceptions loading the border drawable JIRA: BUGDUMP-20716 https://jira.cyanogenmod.org/browse/BUGDUMP-20716 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Change-Id: Ie3fdb34de83f4a863c0d1d23bb8162b2425955e9
| * Gallery2 : Store DATE_TAKEN as millisecondsDanesh M2015-03-281-1/+1
| | | | | | | | | | | | DATE_TAKEN expects milliseconds Change-Id: I1958057f1af5aaab8190cdffc81f2b994d81a186
| * Camera: Fix out-of-order operations while setting up the editorRicardo Cerqueira2015-03-281-2/+4
| | | | | | | | | | | | | | | | | | | | The buffer's producer is created by the cache pipeline generation, so verifying that it isn't null before calling compute() is wrong. This breaks a few devices, and should actually break them all, so fix it; only check if getProducer() is valid after running setProducer() Change-Id: I9d7d03fa9c9eb7063daef2ae28a78cd70b7a5ef3
| * Camera: Ensure background edition complete on back KeySuman Mukherjee2015-03-283-1/+13
| | | | | | | | | | | | | | | | | | | | Block back key event till the image will get displayed while user pressed edit option/icon. This'll allow the background process to cleanup memory. Added null check and bitmap recycle to avoid crash. Change-Id: Ied1c1f3ecf07a352743908135a5b7976373a58a3 CRs-Fixed: 587402
| * Revert "Gallery2: The settings in the gallery is blank."Michael Bestas2015-03-281-2/+2
| | | | | | | | | | | | This reverts commit 21a80743d420fe04c1d24ff9e36f05224bacc8d5. Change-Id: I9417af7e6c51384f289dc1e90f6794133bac5fb7
| * Gallery2: Make grids scroll vertically by defaultcretin452015-03-285-55/+110
| | | | | | | | | | | | - Can optionally be switched back to horizontal via overlay. Change-Id: I666a2e7cfe95cba630171b6272eda9a786be4cb6
| * Gallery2: More material for filtershowcretin452015-03-281-2/+0
| | | | | | | | Change-Id: I2633910d3007a12103e45d319997d239aebbc4b8
| * Gallery2: Fix filtershow renderscript for lollipopcretin452015-03-2811-33/+34
| | | | | | | | | | | | * Use the non support version Change-Id: Idce8f3f4741def8dcd080f226cd9a0ef909f7eb1
| * Gallery2: Materializationcretin452015-03-281-2/+6
| | | | | | | | | | | | | | | | | | | | | | - Material theme - FAB - New Icon - Add missing resources for movie settings - Fix action mode - Vector drawables Change-Id: I9c8cc81759502a417a5585fd1d3fd9b61e0bd68b
| * Revert "Gallery2: reduce post delay time"Surajit Podder2015-03-281-1/+1
| | | | | | | | | | | | | | This reverts commit a062a4a3b567553622aa1e3b4de393917225b8b3. CRs-Fixed: 756218 Change-Id: I22eee7e21b0eb4a7900ae7db886b9a3cab56fe23
| * Gallery2: reduce post delay timevivek mehta2015-03-281-1/+1
| | | | | | | | | | | | | | | | Currently there is 500ms of delay added in Video view that adds to app playback startup latency time. Reducing this delay to 50ms helps in reducing the startup latency. Change-Id: If1db674a66d68b94654868fd3e4d5c84ea5265e7
| * Merge "Gallery2: Fix wake up the screen, the video does not continue to play."Linux Build Service Account2015-03-231-7/+13
| |\
| | * Gallery2: Fix wake up the screen, the video does not continue to play.kaiyiz2015-03-231-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When security is set to none and wake up the screen,gallery lack of a broadcast to make video continue playing. Add receiver to processing video continue playing when wake up screen. Change-Id: I053f44f17178c3baa79ceea871cd66ec2683a743 CRs-Fixed: 809777
| * | Gallery2: Remove wait when notify dirtykaiyiz2015-03-212-6/+1
| |/ | | | | | | | | | | | | | | | | | | | | When notify Dirty from photo data adapter, where is a operation of waiting, but this Object.wait is locked by ReloadTask. Remove the wait when notify dirty, which notify all right away. And do the delete operation after last picture's deletion is done. Change-Id: I3c322c8d01944d1e41d784346da930b907efdb1c CRs-Fixed: 808799
| * Merge "Gallery2: Move files to the correct location"Linux Build Service Account2015-03-199-0/+545
| |\
| | * Gallery2: Move files to the correct locationJay Wang2015-03-189-0/+545
| | | | | | | | | | | | Change-Id: Ife7f7a2fa656cba06e2f713b27dcdadc720a021d
| * | Merge "Modify:Gallery2 for branch Gallery2"Linux Build Service Account2015-03-1910-9/+124
| |\|
| | * Modify:Gallery2 for branch Gallery2Zhang Zhenzhen2015-03-1810-9/+124
| | | | | | | | | | | | | | | | | | | | | Conflicts: res/values-zh-rCN/strings.xml res/values/strings.xml Change-Id: I6b760469290ca154f223f94a3c284fca7a513121
| * | Gallery2: Add "No faces" stringsmqi2015-03-161-1/+1
| |/ | | | | | | | | | | | | | | | | | | Gallery shows "Untagged" when grouping pictures by faces if no faces were tagged. Change "Untagged" to "No faces". Change-Id: I7cde7a26e7340bdd95706d34480d8e8f61683138 CRs-Fixed: 807429
| * Merge "Gallery2: Set video view visible"Linux Build Service Account2015-03-131-2/+0
| |\
| | * Gallery2: Set video view visiblekaiyiz2015-03-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The video view is set invisible when do OnPause in movie player. Cancel the video view set in doOnPause. Change-Id: I56616ad838024bba52727122c71d3cde26546cd4 CRs-Fixed: 801784
| * | Merge "Gallery2: set the progress bar when we pause the video"Linux Build Service Account2015-03-131-0/+1
| |\ \ | | |/ | |/|
| | * Gallery2: set the progress bar when we pause the videokaiyiz2015-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The progress bar isn't set when we pause the video. Set the progress bar when we pause the video. Change-Id: I46d2890111a7e085ffc6787fe29f2e34977ce4f2 CRs-Fixed: 801770
| * | Gallery2: Pause video when dialog showskaiyiz2015-03-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The live stream will be pause by server timeout dialog but start by surface change callback later. Check whether the dialog shows before start media player. Change-Id: I77e8e2b6f84cb0957571d86d9eef2cfb997f1074 CRs-Fixed: 802294
| * | Gallery2: Menu options list disappears very fastkaiyiz2015-03-053-2/+27
| |/ | | | | | | | | | | | | | | | | | | | | Video playback UI in accordance with the 2.5 seconds interval automatically hide, and the Actionbar overflow menu is hidden, the UI is going to hide, the menu display time less than 2.5 seconds. When the UI is hidden, click the Actionbar overflow time after the restart the hidden. CRs-Fixed: 801773 Change-Id: I136980d246adfe0d62d452a3a5840efa1ce6e539
| * Gallery2: Allow edit if launched from SnapcamByunghun Jeon2015-02-241-1/+4
| | | | | | | | Change-Id: I3d1b8f5ed9cb52012a9be5037eef8a6c5323a151
| * Merge 78ae61f1f21a9164052dd16f85f086f033560440 on remote branchLinux Build Service Account2015-02-224-7/+17
| |\ | | | | | | | | | Change-Id: Ia05e5a8b4a21efb31eabb8361384af141e185f17
| | * Gallery2: Translate image draw to Chinesekaiyiz2015-02-154-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | The name of FilterDrawRepresentation is set 'Draw' constant. Set name of FilterDrawRepresentation from imageDraw in filter_string. Change-Id: If4ee1c4e96e52cd267c90afde1081d5b68f4d206 CRs-Fixed: 794963