summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Gallery2: Move & improve CAF stringsMichael Bestas2019-10-2110-230/+261
| | | | | | | | | | | | Change-Id: I3861ed5094307034fcec830fd1ff0595a75e84e1 Gallery2: Fix spelling error Change-Id: I38c115a7a3a7148d5bcf5745261369cd57a431e9 Gallery: Fix translatability of CAF additions to filtershow Change-Id: Ibcb2dfaf98ae367461365187c9549e544d119e90
* Gallery2: Modify AOSP EL translationsMichael Bestas2019-10-211-3/+3
| | | | | | | | | Fix wrong gender in plurals Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I4fdac15d90f1f37d02029fd88ca404d346c72f3f (cherry picked from commit 6fffb7036fcfdfd3ae7399db161ea56e5c6427e3)
* Gallery2: Remove CAF translationsMichael Bestas2019-10-219-344/+13
| | | | | | | | Change-Id: I015238ca00115e76a4d25cbbd2f69a6420c58425 Gallery2: Remove more CAF Chinese translation modifications Change-Id: I147526f6b0dd401f150821c00d0221c14390c418
* Gallery: use platform certcodeworkx2019-10-211-1/+1
| | | | | | This is needed to be able to put Gallery into it's own selinux domain. Change-Id: I4bf198d20bb2a341e459553d2b519b426fb5d538
* Gallery: adaptive-iconAsher Simonds2019-10-2116-2/+22
| | | | | Change-Id: Ia9ff1e4028e83d67415391096b609dd82d71f77e Signed-off-by: Joey <joey@lineageos.org>
* Gallery: define app categoryJoey2019-10-211-0/+1
| | | | | Change-Id: I04a4650a55bf45cfeb103d5fedc0cf7ff67197e5 Signed-off-by: Joey <joey@lineageos.org>
* Gallery2: Update menuJoey Rizzoli2019-10-216-35/+42
| | | | | Change-Id: I84a09530a44b2a36d6330a2f2a4bb4baf084191e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Update themeJoey Rizzoli2019-10-2164-144/+185
| | | | | | | * Expose icons colors too Change-Id: If2a7cac0779e20f39fdb3037df9d48581106ef3e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Properly declare the own permissionsAdrianDC2019-10-211-4/+4
| | | | | | | * Rename the permissions because they conflict with Google+ app Change-Id: I0613752feb8641eb87ed211d52556316f379f72c Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Gallery2: Change all share intents to chooser stylemaxwen2019-10-2112-123/+108
| | | | Change-Id: Ie4387846ad65dcb7a655630dd86047d5ad63bcb9
* Gallery2: Make sure no NPE happensMichael W2019-10-213-11/+22
| | | | | | | | | | | | | | | | | | | | | | | Author: Michael W <baddaemon87@gmail.com> Date: Sat Jun 4 16:10:05 2016 +0200 Gallery2: Make sure no NPE happens Fix for the case when getExternalCacheDir returns null Change-Id: I15f4a4a37ac44d70d14ac08cd743d3327f91dde1 Author: Michael W <baddaemon87@gmail.com> Date: Tue Jun 7 21:05:00 2016 +0200 Gallery2: Remove more possible NPEs getCache can return null -> check this before proceeding Change-Id: I834780a4dafbe22f2d345fe5571cb20f3f3e5e2e Change-Id: I820d8314f855329885f6b7ca710efa981b9d327c
* Gallery2: Reduce logspam in video playeremancebo2019-10-2119-50/+100
| | | | Change-Id: I71b1356f7e326174378c99b4b0e5e60764a7c139
* Gallery2: Store DATE_TAKEN as millisecondsDanesh M2019-10-211-1/+1
| | | | | | DATE_TAKEN expects milliseconds Change-Id: I1958057f1af5aaab8190cdffc81f2b994d81a186
* Gallery2: Add record time to details viewFlamefire2019-10-216-28/+68
| | | | Change-Id: Idef3a68699fc25898f9408b64afc6a7c6b45a86e
* Gallery2: Fix crash of gallery on showing detailsFlamefire2019-10-211-10/+22
| | | | | | | | The exif parser adds a terminating zero for string values. This increases the byte count for that entry beyond the set byte count. Causing a null value in e.g. the "Model" field for images taken with e.g. a Samsung Wave 2. Change-Id: Ib781d9262dbffb610686c939dad94a6cf4c17727
* Gallery2: Try to open existing cameraMichael W2019-10-214-14/+17
| | | | | | | | | 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: I120a1561aeceda2fc23721aa2ff4d68710fab76c
* Gallery2: Bump minsdk and targetsdk versionArne Coucheron2019-10-212-2/+5
| | | | Change-Id: I8d7a948286e961d1c2f1beb2a8c199fb1b80b4d2
* Gallery: TileImageView: fix NPEAnas Karbila2019-10-211-1/+1
| | | | | | | * GetGLRoot() can return null when the job is still running but the GL has already been detached Change-Id: Ic58b4752f64390efdf14ca1a33a81a8f77100ee0 Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* FaceDetect: Catch linker errors during initializationChristopher N. Hesse2019-10-211-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | Author: Christopher N. Hesse <raymanfx@gmail.com> Date: Wed Apr 26 18:21:39 2017 +0200 FaceDetect: Catch linker errors during initialization Right now we only check if we can load the native functions from the JNI, but unsatisfied linker errors can still occur even if the lib is present. Change-Id: Id2ac36374eb8341b278949d120dc7674d6d62691 Signed-off-by: Alex Naidis <alex.naidis@linux.com> Author: Anas Karbila <anaskarbila@gmail.com> Date: Wed May 17 00:24:01 2017 +0900 FaceDetect: Catch more linker errors during initialization Change-Id: I24d6afe0d3ba625aa8f6d42d9755a4553bad693d Signed-off-by: Alex Naidis <alex.naidis@linux.com> Change-Id: I0fdde6b24dd75916449dcf1c7f3504130d958026
* Rename app back to GalleryArne Coucheron2019-10-212-3/+5
| | | | Change-Id: I6b36dcd050b12bf35b45e2a2ddaed7799800bd70
* Add new rule about watermarkzhuw2019-10-212-1/+31
| | | | | | watermark only support single edit operation Change-Id: I292f545a4facf158d9efbb4a47feebb4e64ad378
* Fix the issue of view don't reload when onPausejinwu2019-10-211-1/+0
| | | | | | Just let the view go normally when menu of via as show. Change-Id: I31f3e702b7f42cbc86a90eee4ea1510e721121c1
* Fix FC of parsing uri is nulljinwu2019-10-211-0/+1
| | | | | | Add judgement to check if uri is null or not. Change-Id: I95d79253bce67c6a088a79bffd1bbb9a419ec437
* SDGallery:Fix monkey FC when url from pick activity is nullzhuw2019-10-211-1/+3
| | | | | | if url in data of activityResult is null, don't load image Change-Id: I103d1d431075483ef7cdce1a2bbd6459da69afdc
* Don't show Camera Icon when no pictures found in Albumsjinwu2019-10-211-6/+0
| | | | | | Remove the camera icon and show action. Change-Id: I758ce1ebc4e25128023423c456b59300cd724f29
* SnapdragonGallery: Fix crash show dialog when activity finishedzhuw2019-10-211-2/+5
| | | | | | don't show progressDialog when activity is finished Change-Id: I846430949229f2c3992514a24876fe02ba58a924
* SnapdragonGallery: Fix dialog dismiss when homezhuw2019-10-211-1/+0
| | | | | | | delete onDismiss in onPause Change-Id: Idfb3c6b750b27dcc3f5752c8023e8dd06725647a CRs-Fixed:2150747
* SnapdragonGallery: Fix FC when init() before setContentViewzhuw2019-10-211-1/+5
| | | | | | | don't run init() before setContentView Change-Id: I98ebd60bc6b3a5e5590b3d35fadfc5cf77f55d94 CRs-Fixed: 2161808
* Gallery2: Support GIF animationLikai Ding2019-10-217-6/+315
| | | | | | | This change implements a Java GIF decoder. Change-Id: I227cef76cbacd66b7e87bc59b4f07d518b70a859 Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Gallery2: Remove slideshow option if there are only videosyanglv2019-10-211-0/+31
| | | | | | | | | | | Enter Gallery and open folder whose files are all video, press menu key should no slideshow option. Add condition to remove slideshow if the folder are all video files. CRs-Fixed: 574984 Change-Id: Ib1603f1609b6490e44039ab64abefb44f14bd477
* Move Gallery2 over to AAPT2 and new v4 modulesColin Cross2019-10-212-38/+25
| | | | | | | | Bug: 35994894 Test: make Change-Id: I00cacda9dc8dc9ac919958cc7a8bd432680b85d7 Merged-In: I00cacda9dc8dc9ac919958cc7a8bd432680b85d7 (cherry picked from commit 86f481b8aea757cded9c2179dd5298b291de5e73)