summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importcm-14.1_20170726Abhisek Devkota2017-07-223-4/+6
| | | | Change-Id: Ibd11e049544cb135e2228647bac680bf1170d159
* Gallery: Fix potential crashMichael W2017-07-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-07-167-32/+51
| | | | Change-Id: I01789c0ca9ed89eb976da8a634e49e1ad95962e9
* Automatic translation importAbhisek Devkota2017-07-072-0/+11
| | | | Change-Id: I8d59950db87c979c006ec93dc780d4211db8ddea
* Automatic translation importAbhisek Devkota2017-07-031-0/+5
| | | | Change-Id: I01da5765410e7bc2ed71df176f0f5beeb28e5a53
* Gallery2: Fix crash after returning from albums in wallpaper pickerArne Coucheron2017-07-021-1/+4
| | | | Change-Id: Ie504e8fdfcad5110a0f6377c8f7f1c01f8b05c59
* Automatic translation importAbhisek Devkota2017-06-301-0/+20
| | | | Change-Id: I49c35a773fcbbc1f8be5ab6ac48da2d741482cca
* Gallery2: Fix views overlapCagdas Caglak2017-06-262-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
* Automatic translation importAbhisek Devkota2017-06-224-31/+74
| | | | Change-Id: Id236fc47404eb455a27d56e8dc677a4ba286cfea
* Gallery2: support GIF animationLikai Ding2017-06-077-6/+315
| | | | | | | This change implements a Java GIF decoder. Change-Id: I227cef76cbacd66b7e87bc59b4f07d518b70a859 Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Increase the size of the tiles when decoding imagesGabriele M2017-06-052-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
* Automatic translation importAbhisek Devkota2017-05-316-1/+22
| | | | Change-Id: I85de2035457653010764a35513274ba4301d5991
* Automatic translation importAbhisek Devkota2017-05-1712-4/+103
| | | | Change-Id: I24576f8cc50f2aacddbad42b5e5587d01ead6bc8
* Automatic translation importAbhisek Devkota2017-04-288-15/+115
| | | | Change-Id: I0768568309ac147318685933c1b949a55a259930
* Revert "Gallery2: hide navigation bar when we turn off lights"Gabriele M2017-04-251-3/+1
| | | | | | | | | This interferes with double tap gestures and causes an abrupt resize of the view whenever the navbar gets hidden. This reverts commit e20c65beb6a19d4051dec284709d572211e4fc01. Change-Id: I65f9db9c0832a4aef684337ac6df9c06771bb44a
* Automatic translation importAbhisek Devkota2017-04-20236-0/+24668
| | | | Change-Id: Iec79c4dbecac73033b682c5e22e9e13072b665e5
* Gallery2: support the newly added media file types in MTP modestaging/cm-14.1_android-7.1.2_r2Jaesung Chung2017-04-122-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-04-121-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-04-121-2/+0
| | | | Change-Id: I0816c6adbd1ae3f3844bb0525214f34970326b33
* Fix spelling errorcm-14.1_oldAbhisek Devkota2017-04-061-1/+1
| | | | Change-Id: I38c115a7a3a7148d5bcf5745261369cd57a431e9
* Gallery2: Rename app back to Gallerystaging/cm-14.1-snapdragongalleryArne Coucheron2017-03-122-3/+5
| | | | Change-Id: I6b36dcd050b12bf35b45e2a2ddaed7799800bd70
* Gallery2: Properly declare the own permissionsAdrianDC2017-03-101-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-03-102-0/+7
| | | | | | | getCache can return null -> check this before proceeding Change-Id: I834780a4dafbe22f2d345fe5571cb20f3f3e5e2e
* Gallery2: Enable frames in the editorArne Coucheron2017-03-101-4/+3
| | | | Change-Id: Ica3bfbca18d7398d50f800be1737c413917a297b
* Gallery2: hide navigation bar when we turn off lightsJoey Rizzoli2017-03-101-1/+3
| | | | | Change-Id: If702cb7c79d3f7ef2f03417f7cb2bc0051932a97 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: Remove slideshow option if there are only videosyanglv2017-03-101-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-03-104-268/+8
| | | | Change-Id: Ia711a824e353ac45a3f0013c315e8727f0c40c3e
* Gallery2: Disable dummy starting windowMichael Bestas2017-03-101-0/+1
| | | | | | * Improve launch UX Change-Id: Ib181fe674220b893de339fe81ff500ac80996523
* Gallery2: Fix up audio effects dialogDanny Baumann2017-03-103-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-03-101-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-03-1016-239/+154
| | | | | Change-Id: I20caa58fe11ee6f4148cb0bcb0ccbcdcf3a9612e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: change all share intents to chooser stylemaxwen2017-03-1012-123/+108
| | | | Change-Id: Ie4387846ad65dcb7a655630dd86047d5ad63bcb9
* Gallery2: update menuJoey Rizzoli2017-03-106-35/+42
| | | | | Change-Id: I84a09530a44b2a36d6330a2f2a4bb4baf084191e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: update themeJoey Rizzoli2017-03-1064-145/+186
| | | | | | | * Expose icons colors too Change-Id: If2a7cac0779e20f39fdb3037df9d48581106ef3e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gallery2: New iconMichael Bestas2017-03-105-0/+0
| | | | | | Credits: Asher Simonds Change-Id: I98d8aedc48b48a6511858a1d0d470bd61b85b5c2
* Gallery2: Move & improve CAF stringsMichael Bestas2017-03-103-104/+99
| | | | Change-Id: I3861ed5094307034fcec830fd1ff0595a75e84e1
* Gallery2: Make sure no NPE happensMichael W2017-03-101-11/+15
| | | | | | Fix for the case when getExternalCacheDir returns null Change-Id: I15f4a4a37ac44d70d14ac08cd743d3327f91dde1
* Gallery2: Remove invalid comment from manifestMichael Bestas2017-03-101-1/+0
| | | | Change-Id: If9dd5e466eae1719877083b46c2ca1143bc420e3
* Gallery2: Cleanup renderscript flags in Android.mkMichael Bestas2017-03-101-16/+1
| | | | Change-Id: Ied6a516c31932f47e5b2d5f2e63979d57ac6f49f
* Gallery2: Fix CROP_ACTION for third party appsDanesh M2017-03-104-35/+170
| | | | | | | | | | 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
* Gallery2: Add Storage preference (2/2)Scott Warner2017-03-108-15/+89
| | | | | | | 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: Reduce logspam in video playeremancebo2017-03-1019-50/+100
| | | | Change-Id: I71b1356f7e326174378c99b4b0e5e60764a7c139
* Gallery2: Store DATE_TAKEN as millisecondsDanesh M2017-03-101-1/+1
| | | | | | DATE_TAKEN expects milliseconds Change-Id: I1958057f1af5aaab8190cdffc81f2b994d81a186
* Gallery2: Modify AOSP EL translationsMichael Bestas2017-03-101-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-03-109-250/+0
| | | | Change-Id: I015238ca00115e76a4d25cbbd2f69a6420c58425
* Gallery2: Add record time to details viewFlamefire2017-03-106-28/+67
| | | | Change-Id: Idef3a68699fc25898f9408b64afc6a7c6b45a86e
* Gallery2: Fix crash of gallery on showing detailsFlamefire2017-03-101-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-03-101-2/+3
| | | | Change-Id: I3dd2741d3d6fe3a3cf6ffa0a6ceeb9c1374bd8f8
* Gallery2: Photo Gallery widget: fix NPE in getViewAtRaj Yengisetty2017-03-101-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: I79466a11b528b1b1af0650927b7054837b631878
* Gallery2: Try to open existing cameraMichael W2017-03-104-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