summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Gallery: Fix translatability of CAF additions to filtershowstaging/lineage-15.1Michael Bestas2018-02-047-126/+162
| | | | Change-Id: Ibcb2dfaf98ae367461365187c9549e544d119e90
* Gallery2: Remove more CAF Chinese translation modificationsMichael Bestas2018-02-045-12/+4
| | | | Change-Id: I147526f6b0dd401f150821c00d0221c14390c418
* Gallery: fix Pause button positionRahul Sharma2018-01-261-1/+2
| | | | | | | Pause button was not visible in the center of the screen during video playback. Fix it using centered view for this. Change-Id: Ib4992ac544029151691d18ec9fa71fb0b6d4eadb
* SnapdragonGallery: Fix FC when init() before setContentViewzhuw2018-01-261-1/+5
| | | | | | | don't run init() before setContentView Change-Id: I98ebd60bc6b3a5e5590b3d35fadfc5cf77f55d94 CRs-Fixed: 2161808
* Gallery: define app categoryJoey2018-01-251-0/+1
| | | | | Change-Id: I04a4650a55bf45cfeb103d5fedc0cf7ff67197e5 Signed-off-by: Joey <joey@lineageos.org>
* Gallery2: Get rid of packages monitorLuK13372017-12-224-89/+9
| | | | | | | * Oreo doesn't allow background services anymore and we don't really need this service anyway. Change-Id: I919326b431b76398decdc4ed82288c2674018963
* Gallery2: Use custom transition aar libJoey Rizzoli2017-12-162-1/+11
| | | | | | | * This replaces AOSP transition lib, which appears to be currently broken in O Change-Id: I8c966984885c0b132e58f015765f83f832070743
* Fix crash after deleting a video on Albums tabKhabarlakKonstantin2017-12-161-0/+3
| | | | | | | | | 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
* Gallery: Kill media effect dialog on moviesLuca Stefani2017-12-16116-1535/+0
| | | | | | * It doesn't work and we have an external app for that Change-Id: I90d4f548d76b7e73815bb811de0377de7c23708e
* Gallery2: Fix crash when muting a videoMichael W2017-12-161-1/+8
| | | | | | | * See https://review.lineageos.org/#/c/191263/ * Thanks to KhabarlakKonstantin <habarlack@gmail.com> Change-Id: Iff5ecc461dd1d3f5604f909aeffa74bb3ec7edfc
* Fix gallery crash when trimming videoKhabarlakKonstantin2017-12-163-1/+21
| | | | | | | Fixes FileUriExposedException. Exposing files with Uri.fromFile is forbidden in Nougat Change-Id: Iab48e599f801459fa3db0c9c6f68f1cfd54460c6
* Automatic translation importAbhisek Devkota2017-12-16240-0/+25727
| | | | Change-Id: Iec79c4dbecac73033b682c5e22e9e13072b665e5
* Gallery2: Fix various issues and glitchesArne Coucheron2017-12-1616-55/+76
| | | | | | | | | | | | | * Remove unnecessary navbar toggles, and add missing ones * Modify picker dialog style * Fix editor bottom bar glitch with API 25 * 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 W2017-12-161-1/+6
| | | | | | | | | * A race between deleting and displaying videos seems to report a higher count of videos available than actually accessible. BUGBASH-489 Change-Id: Iac24002feb8701cc4182c3834f663be017b625d5
* Gallery2: Switch to navigationbar from support libsLuca Stefani2017-12-167-32/+51
| | | | Change-Id: I01789c0ca9ed89eb976da8a634e49e1ad95962e9
* Gallery2: Fix can't parse documents urijinwu2017-12-161-0/+0
| | | | | | | | | If other apps pass the documents uri to gallery, and the os version is >= KK, we need to parse it and get the right uri to use. Change-Id: I9049dcc91de856f14a5f40991c421896786b7a58 CRs-Fixed: 2017769
* Gallery2: Fix views overlapCagdas Caglak2017-12-162-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: Support GIF animationLikai Ding2017-12-167-6/+315
| | | | | | | This change implements a Java GIF decoder. Change-Id: I227cef76cbacd66b7e87bc59b4f07d518b70a859 Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Gallery2: Increase the size of the tiles when decoding imagesGabriele M2017-12-161-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 Chung2017-12-162-7/+48
| | | | | | | And also allows to import RAW images introduced from N. Bug: 27125321 Change-Id: I8eda0503b7b07938a05655c9ae321bedfd2123b9
* Gallery2: Fix use of uninitialized stack variablesGreg Kaiser2017-12-161-4/+4
| | | | | | | In estmateWhiteBox(), we were adding up several variables, but never initialized them to zero. Change-Id: Ia77d92faa5150da0a1d7a04839729febefa63f74
* Gallery2: Remove unused renderscript classArne Coucheron2017-12-161-2/+0
| | | | Change-Id: I0816c6adbd1ae3f3844bb0525214f34970326b33
* Gallery2: Fix spelling errorAbhisek Devkota2017-12-161-1/+1
| | | | Change-Id: I38c115a7a3a7148d5bcf5745261369cd57a431e9
* Gallery2: Properly declare the own permissionsAdrianDC2017-12-161-8/+8
| | | | | | | * Rename the permissions because they conflict with Google+ app Change-Id: I0613752feb8641eb87ed211d52556316f379f72c Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Gallery2: Remove more possible NPEsMichael W2017-12-162-0/+7
| | | | | | | getCache can return null -> check this before proceeding Change-Id: I834780a4dafbe22f2d345fe5571cb20f3f3e5e2e
* Gallery2: Enable frames in the editorArne Coucheron2017-12-161-3/+2
| | | | Change-Id: Ica3bfbca18d7398d50f800be1737c413917a297b
* Gallery2: Remove slideshow option if there are only videosyanglv2017-12-161-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
* Gallery2: Remove 3D overscroll effectMichael Bestas2017-12-164-268/+8
| | | | Change-Id: Ia711a824e353ac45a3f0013c315e8727f0c40c3e
* Gallery2: Disable dummy starting windowMichael Bestas2017-12-161-0/+1
| | | | | | * Improve launch UX Change-Id: Ib181fe674220b893de339fe81ff500ac80996523
* Gallery2: Fix up audio effects dialogDanny Baumann2017-12-163-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 Rizzoli2017-12-161-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: Replace hamburger menu with bottom barJoey Rizzoli2017-12-1616-239/+154
| | | | | Change-Id: I20caa58fe11ee6f4148cb0bcb0ccbcdcf3a9612e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Change all share intents to chooser stylemaxwen2017-12-1612-123/+108
| | | | Change-Id: Ie4387846ad65dcb7a655630dd86047d5ad63bcb9
* Gallery2: Update menuJoey Rizzoli2017-12-166-35/+42
| | | | | Change-Id: I84a09530a44b2a36d6330a2f2a4bb4baf084191e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Update themeJoey Rizzoli2017-12-1664-145/+186
| | | | | | | * Expose icons colors too Change-Id: If2a7cac0779e20f39fdb3037df9d48581106ef3e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Move & improve CAF stringsMichael Bestas2017-12-163-104/+99
| | | | Change-Id: I3861ed5094307034fcec830fd1ff0595a75e84e1
* Gallery2: Make sure no NPE happensMichael W2017-12-161-11/+15
| | | | | | Fix for the case when getExternalCacheDir returns null Change-Id: I15f4a4a37ac44d70d14ac08cd743d3327f91dde1
* Gallery2: Remove invalid comment from manifestMichael Bestas2017-12-161-1/+0
| | | | Change-Id: If9dd5e466eae1719877083b46c2ca1143bc420e3
* Gallery2: Cleanup renderscript flags in Android.mkMichael Bestas2017-12-161-16/+1
| | | | Change-Id: Ied6a516c31932f47e5b2d5f2e63979d57ac6f49f
* Gallery2: Reduce logspam in video playeremancebo2017-12-1619-50/+100
| | | | Change-Id: I71b1356f7e326174378c99b4b0e5e60764a7c139
* Gallery2: Store DATE_TAKEN as millisecondsDanesh M2017-12-161-1/+1
| | | | | | DATE_TAKEN expects milliseconds Change-Id: I1958057f1af5aaab8190cdffc81f2b994d81a186
* Gallery2: Modify AOSP EL translationsMichael Bestas2017-12-161-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 Bestas2017-12-169-332/+9
| | | | Change-Id: I015238ca00115e76a4d25cbbd2f69a6420c58425
* Gallery2: Add record time to details viewFlamefire2017-12-166-28/+67
| | | | Change-Id: Idef3a68699fc25898f9408b64afc6a7c6b45a86e
* Gallery2: Fix crash of gallery on showing detailsFlamefire2017-12-161-10/+23
| | | | | | | | 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 W2017-12-164-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: New iconMichael Bestas2017-12-165-0/+0
| | | | | | Credits: Asher Simonds Change-Id: I98d8aedc48b48a6511858a1d0d470bd61b85b5c2
* Gallery2: Bump minsdk and targetsdk versionArne Coucheron2017-12-163-2/+6
| | | | Change-Id: I8d7a948286e961d1c2f1beb2a8c199fb1b80b4d2
* Gallery: TileImageView: fix NPEAnas Karbila2017-12-161-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 more linker errors during initializationAnas Karbila2017-12-161-1/+7
| | | | | | | * Continues: https://github.com/AOSPA/android_packages_apps_SnapdragonGallery/commit/0b8309885e6b1a5c46799fda826915d34b23e641 Change-Id: I24d6afe0d3ba625aa8f6d42d9755a4553bad693d Signed-off-by: Alex Naidis <alex.naidis@linux.com>