summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix gallery crash when trimming videoKhabarlakKonstantin2017-10-073-1/+21
| | | | | | | Fixes FileUriExposedException. Exposing files with Uri.fromFile is forbidden in Nougat Change-Id: Iab48e599f801459fa3db0c9c6f68f1cfd54460c6
* Automatic translation importAbhisek Devkota2017-09-183-59/+27
| | | | Change-Id: I5b98b4bf1ab3763e9231794834ccfb7508fc2494
* Automatic translation importAbhisek Devkota2017-08-081-0/+5
| | | | Change-Id: I4321bf62e01963edb0e585b7dfdc5e2d5c388a62
* Automatic translation importAbhisek Devkota2017-08-033-0/+20
| | | | Change-Id: I42a5f6e743c9c30dcdd9e2201d218254ab71021c
* Automatic translation importAbhisek Devkota2017-08-01236-0/+25009
| | | | Change-Id: Iec79c4dbecac73033b682c5e22e9e13072b665e5
* Gallery2: Fix various issues and glitchesArne Coucheron2017-08-0116-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-07-311-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-07-317-32/+51
| | | | Change-Id: I01789c0ca9ed89eb976da8a634e49e1ad95962e9
* Gallery2: Fix can't parse documents urijinwu2017-07-311-6/+94
| | | | | | | | | 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-07-312-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-07-317-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-07-312-3/+3
| | | | | | | | | | | | 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-07-312-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-07-311-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-07-311-2/+0
| | | | Change-Id: I0816c6adbd1ae3f3844bb0525214f34970326b33
* Gallery2: Fix spelling errorAbhisek Devkota2017-07-311-1/+1
| | | | Change-Id: I38c115a7a3a7148d5bcf5745261369cd57a431e9
* Gallery2: Properly declare the own permissionsAdrianDC2017-07-311-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-07-312-0/+7
| | | | | | | getCache can return null -> check this before proceeding Change-Id: I834780a4dafbe22f2d345fe5571cb20f3f3e5e2e
* Gallery2: Enable frames in the editorArne Coucheron2017-07-311-4/+3
| | | | Change-Id: Ica3bfbca18d7398d50f800be1737c413917a297b
* Gallery2: Remove slideshow option if there are only videosyanglv2017-07-311-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-07-314-268/+8
| | | | Change-Id: Ia711a824e353ac45a3f0013c315e8727f0c40c3e
* Gallery2: Disable dummy starting windowMichael Bestas2017-07-311-0/+1
| | | | | | * Improve launch UX Change-Id: Ib181fe674220b893de339fe81ff500ac80996523
* Gallery2: Fix up audio effects dialogDanny Baumann2017-07-313-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-07-311-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-07-3116-239/+154
| | | | | Change-Id: I20caa58fe11ee6f4148cb0bcb0ccbcdcf3a9612e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Change all share intents to chooser stylemaxwen2017-07-3112-123/+108
| | | | Change-Id: Ie4387846ad65dcb7a655630dd86047d5ad63bcb9
* Gallery2: Update menuJoey Rizzoli2017-07-316-35/+42
| | | | | Change-Id: I84a09530a44b2a36d6330a2f2a4bb4baf084191e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Update themeJoey Rizzoli2017-07-3164-145/+186
| | | | | | | * Expose icons colors too Change-Id: If2a7cac0779e20f39fdb3037df9d48581106ef3e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Move & improve CAF stringsMichael Bestas2017-07-313-104/+99
| | | | Change-Id: I3861ed5094307034fcec830fd1ff0595a75e84e1
* Gallery2: Make sure no NPE happensMichael W2017-07-311-11/+15
| | | | | | Fix for the case when getExternalCacheDir returns null Change-Id: I15f4a4a37ac44d70d14ac08cd743d3327f91dde1
* Gallery2: Remove invalid comment from manifestMichael Bestas2017-07-311-1/+0
| | | | Change-Id: If9dd5e466eae1719877083b46c2ca1143bc420e3
* Gallery2: Cleanup renderscript flags in Android.mkMichael Bestas2017-07-311-16/+1
| | | | Change-Id: Ied6a516c31932f47e5b2d5f2e63979d57ac6f49f
* Gallery2: Reduce logspam in video playeremancebo2017-07-3119-50/+100
| | | | Change-Id: I71b1356f7e326174378c99b4b0e5e60764a7c139
* Gallery2: Store DATE_TAKEN as millisecondsDanesh M2017-07-311-1/+1
| | | | | | DATE_TAKEN expects milliseconds Change-Id: I1958057f1af5aaab8190cdffc81f2b994d81a186
* Gallery2: Modify AOSP EL translationsMichael Bestas2017-07-311-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-07-319-250/+0
| | | | Change-Id: I015238ca00115e76a4d25cbbd2f69a6420c58425
* Gallery2: Add record time to details viewFlamefire2017-07-316-28/+67
| | | | Change-Id: Idef3a68699fc25898f9408b64afc6a7c6b45a86e
* Gallery2: Fix crash of gallery on showing detailsFlamefire2017-07-311-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: Fix crash when Bluetooth service is disabledroot2017-07-311-2/+3
| | | | Change-Id: I3dd2741d3d6fe3a3cf6ffa0a6ceeb9c1374bd8f8
* Gallery2: Try to open existing cameraMichael W2017-07-314-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-07-315-0/+0
| | | | | | Credits: Asher Simonds Change-Id: I98d8aedc48b48a6511858a1d0d470bd61b85b5c2
* Gallery2: Bump minsdk and targetsdk versionArne Coucheron2017-07-313-2/+6
| | | | Change-Id: I8d7a948286e961d1c2f1beb2a8c199fb1b80b4d2
* Gallery: FilterShowActivity: Fix loading spinner being show foreverAnas Karbila2017-07-311-0/+1
| | | | | | | | | | | 69cf0d8 was pulled from an 8998 branch. 8998 will feature a dual camera setup, so that patch didn't keep in mind that the commit can be used on devices without it. stopLoadingIndicator() is only called when the parseDepthMap asyncTask is executed. This task is only executed if the device supports dual camera. Dismiss the spinner if it does not. Change-Id: I1b3cab2da1dc7371c81b0e5328dd959eda770c28 Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* Gallery: TileImageView: fix NPEAnas Karbila2017-07-311-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-07-311-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>
* FaceDetect: Catch linker errors during initializationChristopher N. Hesse2017-07-311-2/+14
| | | | | | | | | | 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 (cherry picked from commit c44c4c3555bc7eadb0f0d35cd082ed90ef5731e2) Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* Bump API to match dependencies.Dan Albert2017-07-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
* Add missing includes.Dan Albert2017-07-315-1/+11
| | | | | | | | | These files all use malloc/free but never include it. It looks like the NDK headers leak stdlib.h through something that was being included, but the updated headers don't have that mess. Test: mma Change-Id: Ia34a2d74f382f88476708e31da819ea18ab0aa4f
* Cleanup warnings in jni.Dan Albert2017-07-313-8/+6
| | | | | Test: mma Change-Id: I1a3997525427258d628a7c59528c758070ab5f82
* Fix misc-macro-parentheses warnings in Gallery2.Chih-Hung Hsieh2017-07-312-10/+10
| | | | | | | | Add parentheses around negative literals and parameters beside operators. Bug: 28705665 Test: build with clang-tidy Change-Id: Icdb2d003e77f6b0dfac7d9c30dec0ee80c13e3cd