summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Gallery2: Sort media by DATE_ADDED"lineage-17.1Michael Bestas2020-06-011-1/+1
| | | | | | | | * Media provider has been fixed. This reverts commit a9a010a545ef943706c074200fd5a6378b322a3a. Change-Id: Ideb765187d0760335f2059d536387b409117dd09
* Bump API to match dependencies.Dan Albert2020-05-311-1/+1
| | | | | | | | | libjpeg_static_ndk is built against 17, so we need to be built against at least that. Test: mma Bug: None Change-Id: I6c3697010e308f04c629118c6a63f614d87b3409
* Gallery2: Sort media by DATE_ADDEDMichael Bestas2020-05-271-1/+1
| | | | | | | | | | * Android 10 MediaStore changes broke sorting by DATE_TAKEN. For example, screenshots do not contain the DATE_TAKEN field, so the pictures end up unsorted at the bottom of the gallery. * Work around https://issuetracker.google.com/issues/149515829 in our app until MediaStore is properly fixed. Change-Id: I07c40f985f9cf7060a8e1ea03fd3b196667ff277
* Remove application/SDP from Gallery2's ACTION_VIEW and REVIEW filters.Fares Alhassen2020-05-271-1/+0
| | | | | | Test: None - removing handled mime type from intent filter. Change-Id: I14fb4ed25b7a101316cc7e9893f0d55e11fde6a0
* Gallery2: Fix jni build warningsLuca Stefani2020-05-274-24/+24
| | | | | | | * warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 -> Convert all the source/destitionation of filters to uint8_t Change-Id: I019081943a70708c2725c1ae52b1c3fbb6e87f9e
* Fix warnings and set Werror flag to not let them happen again.Tomasz Wasilczyk2020-05-2713-34/+29
| | | | | | Test: it builds. Bug: b/37159108 Change-Id: I898f5de0f8e992404977d4958b8dd44af4aea9fe
* Cleanup warnings in jni.Dan Albert2020-05-274-13/+10
| | | | | Test: mma Change-Id: I1a3997525427258d628a7c59528c758070ab5f82
* Use a NDK-compatible libjpegDan Willemsen2020-05-261-4/+2
| | | | Change-Id: I5c6e3efca5574a97ff130e43609f860137c67572
* Revert "Switch to static NDK jpeg library"Michael Bestas2020-05-261-2/+2
| | | | | | | | * We'll take the upstream fix This reverts commit 348658059575aa7a3bd722a1f9b06d0683225e9c. Change-Id: Ie5cd3a1f6a49ec8b1184dac22f1ea152fe68460e
* Revert "Use -Werror in packages/apps/Gallery2"Michael Bestas2020-05-262-11/+1
| | | | | | | | * We'll take the upstream fix This reverts commit fb3125e4edc6aa1bfc1f7afc189e9af41a9b1c32. Change-Id: Ic7b2b0bc2e3a766584e07e36b89f10e0a46ffce6
* Revert "Fix compiling warnings"Michael Bestas2020-05-2624-62/+40
| | | | | | | | * We'll take the upstream fix This reverts commit 2ba45029b40b4932fc112efb102dd6b59b757d8a. Change-Id: I067db32fe72db2b177b55cf68562daf227931e7a
* Fix Gallery2's bug: When using Gallery2 player, Device sometimes enters in ↵Dandan Sun2020-05-261-0/+8
| | | | | | | | | | | deep sleep by itself during video playback. Add SCREEN_BRIGHT_WAKE_LOCK in onStart() method of MovieAcitvity,release the lock in onStop() method.which can ensure the brightness of screen during playing the video. Signed-off-by: Dandan Sun <dandan.sun@nxp.com> Change-Id: Id1694510cd8c324838696c35ac721ab7ea3ed28b
* Remove reference to LOCAL_PACKAGE_OVERRIDES.Jaewoong Jung2020-05-261-4/+0
| | | | | | | LOCAL_PACKAGE_OVERRIDES is now fully deprecated. Test: TreeHugger Change-Id: Ie7ae8f769ac1c7f49e8518cabf9e487ac62f8e3b
* Automatic translation importMichael Bestas2020-05-231-0/+9
| | | | Change-Id: I12eada859d2002ce13c54c34b41ae030a6a7fd75
* Gallery2: Add privapp permissions xmlMichael Bestas2020-05-062-0/+32
| | | | Change-Id: I269a237f17ecaccfbcf6b0f1017253278f69c9a1
* Automatic translation importMichael Bestas2020-04-23147-151/+408
| | | | Change-Id: Ib7a4443efbad7cc0bbd3f93f155902b708c96385
* Automatic translation importMichael Bestas2020-03-306-6/+0
| | | | Change-Id: I37077fb015b0a2451ae654b92889f27772b05372
* Merge tag 'LA.UM.8.1.r1-14300-sm8150.0' of ↵Michael Bestas2020-03-118-33/+91
|\ | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/platform/packages/apps/SnapdragonGallery into lineage-17.1 "LA.UM.8.1.r1-14300-sm8150.0" Change-Id: Ie51d2f3aaa835037fd18201fc372d45e8c121083
| * Merge 5b59411dcd0cdae9036f84c76139bb300626d822 on remote branchLinux Build Service Account2019-10-258-33/+91
| |\ | | | | | | | | | Change-Id: I39503978332b10c2e2d0b694fec3b962d91f44e2
| | * Merge "SnapdragonGallery: Set NO_BT_A2DP when connected BT headset" into ↵Linux Build Service Account2019-10-142-5/+21
| | |\ | | | | | | | | | | | | android-snapdragonGallery.lnx.2.0
| | | * SnapdragonGallery: Set NO_BT_A2DP when connected BT headsetxianming wang2019-09-192-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set FORCE_NO_BT_A2DP when connected BT headset and click the Speaker ON. CRs-Fixed: 2530845 Change-Id: I9343566b9454765536dd17aa0f2b66bcb803770a
| | * | Merge "SnapdragonGallery: update min birghtness value" into ↵Linux Build Service Account2019-10-141-1/+1
| | |\ \ | | | | | | | | | | | | | | | android-snapdragonGallery.lnx.2.0
| | | * | SnapdragonGallery: update min birghtness valuejiaoyuan2019-09-121-1/+1
| | | |/ | | | | | | | | | | | | | | | | | | | | update min birghtness value, 0.0f is not support Change-Id: I6423dab0e882187ef6e1a8d670efaad04dc80fc7
| | * | Merge "SnapdraongGallery:Get HEIC exif" into android-snapdragonGallery.lnx.2.0Linux Build Service Account2019-10-143-26/+61
| | |\ \
| | | * | SnapdraongGallery:Get HEIC exifjunjiez2019-10-093-26/+61
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | add new method to get exif from HEIC image. Change-Id: I19fbec5c6ca5dd305283dddaec399ff7a4e06a17 CRs-Fixed: 2534943
| | * | Merge "SnapdragonGallery: update sharpness minvalue" into ↵Linux Build Service Account2019-10-141-1/+1
| | |\ \ | | | | | | | | | | | | | | | android-snapdragonGallery.lnx.2.0
| | | * | SnapdragonGallery: update sharpness minvaluejiaoyuan2019-09-031-1/+1
| | | |/ | | | | | | | | | | | | | | | | | | | | update sharpness minvalue Change-Id: Icd6f7d9bc5d8bf77affb7430512640d96811a597
| | * / SnapdraongCamera:Get location from exifjunjiez2019-09-161-0/+7
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Location information can't be saved and got from MediaProvider on Android Q, so get it from the exif of image. Change-Id: Ibe4e2c7a7a1518451ed13cff400bc42e58f26f68 CRs-Fixed: 2524290
* | | Revert "Fix can't enable speaker with bluetooth headset"Michael Bestas2020-03-112-22/+6
| | | | | | | | | | | | | | | | | | | | | | | | * Replaced by different upstream fix This reverts commit 76459f16219514fd973ed169962095221dc15adf. Change-Id: I7d08eae8b0cf6153cacbc48b65752517b3258d62
* | | Automatic translation importMichael Bestas2020-02-01150-0/+11053
| | | | | | | | | | | | Change-Id: Ib113de63daf1c3a004d6ccd36e451eae9b2ebea7
* | | Gallery: Editor: View full picture when applying filtersMichael W2020-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Current behaviour: Edit picture (e.g. crop) -> top of pic is hidden by action bar * New behaviour: Picture is fully visible Test: manual Fixes: https://gitlab.com/LineageOS/issues/android/issues/1435 Change-Id: I2aa2281e976622cdbd0145d3895c36e4b21bdc7d
* | | Move Gallery2 and its libs to /productstaging/lineage-17.0lineage-17.0Anton Hansson2019-10-214-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This app is frequently overriden by proprietary apps on shipping devices, so move it to /product along with its jni libs. Bug: 122353713 Test: launch gallery on aosp_arm64 emulator Change-Id: I5f7ae53ef41a26c1b89b93cdae24178c2a99e261
* | | Sync translations with AOSPMichael Bestas2019-10-2124-88/+244
| | | | | | | | | | | | | | | | | | * Match android-10.0.0_r4 Change-Id: I398e19716f654a2a5bc50e87f23978ae88ec60ae
* | | Rename language+country resources to just languageRoozbeh Pournader2019-10-2138-0/+0
| | | | | | | | | | | | | | | | | | Bug: 26496609 Test: none Change-Id: I258030ee680426b667e52cbb1e8b7026cbe4566b
* | | Gallery2: Migrate remaining bits to AndroidXWang Han2019-10-219-16/+14
| | | | | | | | | | | | Change-Id: I2cfb6152e90516cf8acedb1dbd5c45fdbbfb04d1
* | | Move Gallery2 to androidx.Aurimas Liutikas2019-10-2133-56/+55
| | | | | | | | | | | | | | | | | | Bug: 76692459 Test: make -j Gallery2 and run on emulator Change-Id: Ife6a5649c21464f404db3198bd6a4ba8aa901ee8
* | | Fix can't enable speaker with bluetooth headsetzhuw2019-10-212-6/+22
| | | | | | | | | | | | | | | | | | config value is 10 when using bt headset Change-Id: Ie8b817af291d07270ffed9cdbcd200515bb3599f
* | | Gallery2: Get rid of packages monitorLuK13372019-10-214-112/+9
| | | | | | | | | | | | | | | | | | | | | * Oreo doesn't allow background services anymore and we don't really need this service anyway. Change-Id: I919326b431b76398decdc4ed82288c2674018963
* | | Gallery: Kill media effect dialog on moviesLuca Stefani2019-10-2117-894/+1
| | | | | | | | | | | | | | | | | | * It doesn't work and we have an external app for that Change-Id: I90d4f548d76b7e73815bb811de0377de7c23708e
* | | Gallery2: Fix various issues and glitchesArne Coucheron2019-10-2115-55/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unnecessary navbar toggles, and add missing ones * Modify picker dialog style * Update main gallery layout so new bottom navigation works properly, and fix various other issues related to it * Don't hide action bar in editor when adjusting effects, so we can see the values we adjust * Update toolbar layout Change-Id: I2a8f0b57ec874434c0fd0bb55de784b5d8379091
* | | Gallery2: Fix potential crashMichael W2019-10-211-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: Michael W <baddaemon87@gmail.com> Date: Wed Jul 12 14:16:42 2017 +0200 Gallery2: Fix potential crash * A race between deleting and displaying videos seems to report a higher count of videos available than actually accessible. BUGBASH-489 Change-Id: Iac24002feb8701cc4182c3834f663be017b625d5 Author: KhabarlakKonstantin <habarlack@gmail.com> Date: Tue Oct 3 11:22:40 2017 +0300 Fix crash after deleting a video on Albums tab getMediaItem can return empty list if no more media items available, break folder processing then Number of items returned by getMediaItem can be inconsistent with getMediaItemCount Change-Id: I7f2abce5d3832a1b2c1fe068b629a3474ed742e2 Change-Id: Ibcaeff698da118f484a6f38528b4a2111a009fdd
* | | Gallery2: Fix views overlapCagdas Caglak2019-10-212-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | "No photos found" and camera button were overlapped. Camera button layout params changed and it was moved no data text below and aligned center horizontal. Change-Id: Idd76efaa54dd178eb3ff2cb5fae3ca17ef5acea3
* | | Gallery2: Increase the size of the tiles when decoding imagesGabriele M2019-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitmapRegionDecoder was refactored in Android N [1] and bigger tiles are now better to render images, so increase the size of each tile. [1] https://issuetracker.google.com/issues/37136991#comment11 BUGBASH-188 BUGBASH-299 Change-Id: Ie9c282fc5a98c9da6bb8ae3bcfe869b8b422a84b
* | | Gallery2: Support the newly added media file types in MTP modeJaesung Chung2019-10-212-7/+48
| | | | | | | | | | | | | | | | | | | | | And also allows to import RAW images introduced from N. Bug: 27125321 Change-Id: I8eda0503b7b07938a05655c9ae321bedfd2123b9
* | | Gallery2: Enable frames in the editorArne Coucheron2019-10-211-3/+2
| | | | | | | | | | | | Change-Id: Ica3bfbca18d7398d50f800be1737c413917a297b
* | | Gallery2: Remove 3D overscroll effectMichael Bestas2019-10-214-268/+8
| | | | | | | | | | | | Change-Id: Ia711a824e353ac45a3f0013c315e8727f0c40c3e
* | | Gallery2: Fix up audio effects dialogDanny Baumann2019-10-213-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | - Entirely remove string referencing Snapdragon, as there's nothing Snapdragon specific in the audio effects - Improve margins Change-Id: I5d2da3b16dcf60ece9b5db36cf2fc65c4a23c275
* | | Gallery2: Everyone or no oneJoey Rizzoli2019-10-211-26/+1
| | | | | | | | | | | | | | | | | | | | | | | | hide statusbar only when toolbar is hidden when viewing photo / video for better ui consistency Change-Id: I64e3a951a13a765f38df83de290d9b0d167c90f7 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* | | Gallery2: Disable dummy starting windowArne Coucheron2019-10-211-0/+1
| | | | | | | | | | | | | | | | | | * Improve launch UX Change-Id: Ib181fe674220b893de339fe81ff500ac80996523
* | | Gallery2: Replace hamburger menu with bottom barJoey Rizzoli2019-10-2120-233/+159
| | | | | | | | | | | | | | | Change-Id: I20caa58fe11ee6f4148cb0bcb0ccbcdcf3a9612e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>