Commit graph

1384 commits

Author SHA1 Message Date
tibbi
6976c35ee4 make sure the directory thumbnail file exists 2018-02-20 18:40:25 +01:00
tibbi
6ce9ea4b8d scan exlicitly included OTG folders recursively 2018-02-20 17:41:22 +01:00
tibbi
04d42d6772 use proper orientation at otg images 2018-02-20 16:37:22 +01:00
tibbi
c25513fbcf properly play OTG videos 2018-02-20 16:12:43 +01:00
tibbi
66993d784e use real_file_path at photoVideoActivity better 2018-02-20 16:05:50 +01:00
tibbi
b70292652b fix loading of fullscreen OTG media 2018-02-20 15:43:26 +01:00
tibbi
a1a23217b9 do not unselect media files after copy 2018-02-20 15:25:31 +01:00
tibbi
a0bdc0b46b properly show OTG subfolder thumbnails 2018-02-20 14:35:35 +01:00
tibbi
771e59b5cf properly display OTG file thumbnails 2018-02-20 14:05:03 +01:00
tibbi
55fa9a04d5 use proper actionbar title at OTG folders 2018-02-20 11:41:15 +01:00
tibbi
d5496e04ba give proper folder names to OTG subfolders 2018-02-20 11:22:04 +01:00
tibbi
0419ef90a7 make folder Inclusion really recursive 2018-02-20 10:46:41 +01:00
tibbi
a8e87bafcc properly scan OTG folders if manually included 2018-02-20 00:17:06 +01:00
tibbi
93ba5d67de fetch latest media ID at creating the app to avoid duplicate refreshing 2018-02-19 23:25:29 +01:00
tibbi
2083865c98 do not modify real_file_path if it points to an OTG device 2018-02-19 23:09:49 +01:00
tibbi
83100a2330 properly handle real_file_path at opening videos 2018-02-19 21:15:05 +01:00
tibbi
783d73cff4 make use of real_file_path at the editor 2018-02-19 21:11:37 +01:00
tibbi
fb493459de update commons to 3.12.6 2018-02-19 20:24:32 +01:00
tibbi
44895ae365 add a null check at video fastforwarding 2018-02-19 18:11:20 +01:00
tibbi
0e60aca74c add some helper functions for getting fastscroller bubble text 2018-02-19 18:08:26 +01:00
tibbi
54b216f09e update commons to 3.11.15 2018-02-13 14:21:50 +01:00
tibbi
ace15c4248 allow skipping forward/backward by pressing curr/max time at videos 2018-02-09 20:29:49 +01:00
tibbi
0616117f36 send a more advanced click event with coordinates at clicking side slider 2018-02-09 19:14:48 +01:00
tibbi
db8a88cbfe remove path scanning on viewpager activity 2018-02-09 18:41:22 +01:00
tibbi
ef51271909 properly scale drag_threshold based on device density 2018-02-09 18:40:40 +01:00
tibbi
b179c53940 fix #638, allow horizontal swipes through the brightness/volume slider 2018-02-09 18:32:35 +01:00
tibbi
4449b96d6e handle touch events in MediaSideScroll itself 2018-02-09 17:51:42 +01:00
tibbi
16e30e5969 make MediaSideScroll extend RelativeLayout 2018-02-09 17:12:31 +01:00
tibbi
2a2d37e221 fix some glitches with swiping to sides with Instant media change enabled 2018-02-09 16:41:17 +01:00
tibbi
a10fd3e876 fix #643, properly handle saving edited images with file uri 2018-02-08 21:11:22 +01:00
tibbi
316c8fc85d remove a redundant true 2018-02-08 20:52:36 +01:00
tibbi
71243ec05e adding some missing imports 2018-02-08 20:20:17 +01:00
tibbi
1bcbe96b04 replace GridLayoutManager with MyGridLayoutManager 2018-02-08 18:10:40 +01:00
tibbi
711c714686 catch exceptions thrown at getting device brightness 2018-02-08 18:07:52 +01:00
tibbi
4809f54bae lets just catch all exceptions thrown at storing folders json 2018-02-08 18:01:30 +01:00
tibbi
fb053fb487 disable image brightness gestures by default, it causes zooming issues 2018-02-06 16:59:52 +01:00
tibbi
c98658d069 store the info about directory location in the model itself 2018-02-05 11:15:09 +01:00
tibbi
f82550ae34 call searchQueryChanged only when search is open 2018-02-05 10:23:38 +01:00
tibbi
8d7853e4f0 catch exceptions thrown at trying to show the image on a map 2018-02-05 09:59:18 +01:00
tibbi
53d79ecea8 search for new media files in the folders, from which we already have files 2018-02-04 23:56:11 +01:00
tibbi
4597e888a5 try fixing TransactionTooLargeException on Android Nougat 2018-02-04 21:01:43 +01:00
tibbi
b2f54f0e6e add an optional extra check to avoid showing invalid files 2018-02-04 19:58:44 +01:00
tibbi
8effeedd7d catch and show exceptions thrown at fetching path of MediaActivity 2018-02-04 18:02:06 +01:00
tibbi
605cf6ae0f wteak the MediaSideScroll callback a bit 2018-02-04 12:57:40 +01:00
tibbi
42faaf51c1 delete file from mediastore on ViewPagerActivity in the background 2018-02-04 12:13:49 +01:00
Tibor Kaputa
2ca0bded2d
Merge pull request #623 from trubitsyn/drag-images
Allow changing the brightness by dragging on images
2018-02-04 11:58:53 +01:00
tibbi
8524970d6d add a toggle for preventing showing Whats New 2018-02-04 11:49:54 +01:00
Nikola Trubitsyn
d884da9b82 Allow to toggle photo gestures via settings toggle 2018-02-04 03:33:51 +03:00
Nikola Trubitsyn
467058583b Rename callback and allow it to be set externally 2018-02-02 17:07:49 +03:00
Nikola Trubitsyn
b735636ecf Remove unused comment 2018-02-02 16:52:58 +03:00
Nikola Trubitsyn
e91bc71ee0 Add an empty line to the end of MediaSideScroll.kt 2018-02-02 16:52:23 +03:00
Nikola Trubitsyn
330d501889 Remove Context from MediaSideScroll constructor 2018-02-02 16:50:19 +03:00
Nikola Trubitsyn
abd027e27b Use MediaSideScroll in PhotoFragment 2018-02-02 16:34:25 +03:00
Nikola Trubitsyn
ff66f36cda Move side scroll functionality to MediaSideScroll.kt 2018-02-02 16:28:13 +03:00
tibbi
fe7b425d79 store thumbnail data only if we arent loading them from cache 2018-01-31 19:23:03 +01:00
tibbi
96b93c4cb2 remove the file cleanup 2018-01-31 19:08:18 +01:00
tibbi
5a24c92c96 shorten the search close code 2018-01-31 19:01:57 +01:00
tibbi
c5cd4cb6a7 add the new toggles in Whats New 2018-01-29 00:11:53 +01:00
tibbi
7c7b7d254d disable "Temporarily show hidden" after 10 minutes of app backgrounding 2018-01-28 21:30:14 +01:00
tibbi
c3a7068806 store only 80 media files in shared prefs and catch OOMs 2018-01-28 21:15:36 +01:00
tibbi
c4c083b77f add a toggle for hiding extended details when the statusbar is hidden 2018-01-28 17:49:29 +01:00
tibbi
4e15f047c5 add an extra check to avoid removing valid files 2018-01-28 17:29:15 +01:00
tibbi
95e5480d03 add "const" modifier to some values 2018-01-28 16:49:05 +01:00
tibbi
b824023722 add a toggle for replacing zoomable images with better quality ones, related to #343 2018-01-28 16:39:12 +01:00
tibbi
d36ce4ab8d fix target resolution of fullscreen media in case the image is rotated 2018-01-28 16:20:15 +01:00
tibbi
5b709d0b70 disable eager loading and set serial executor at Subsampling 2018-01-28 12:51:38 +01:00
tibbi
a10bb5aa58 move Extended details related things in a separate Settings section 2018-01-28 12:27:56 +01:00
tibbi
9533204a50 add an option to change media instantly by clicking on screen sides 2018-01-27 23:35:28 +01:00
tibbi
246c0a0453 split Settings into subsections 2018-01-27 22:48:00 +01:00
tibbi
2df3c8065a use white color on placeholder text at b&w theme 2018-01-25 21:25:04 +01:00
tibbi
624682d791 update commons to 3.8.2 2018-01-23 18:55:38 +01:00
tibbi
96010b4c8e call scanPath and scanFile on contexts only to avoid leaks 2018-01-23 18:40:29 +01:00
tibbi
eac175a01e add one-finger zoom in release notes 2018-01-23 14:43:29 +01:00
tibbi
bd68292824 fix #441, rely on the system at "Device rotation" option 2018-01-23 14:25:18 +01:00
tibbi
41d0b0bef9 move thumbnail hashcode checking directly in adapters 2018-01-23 10:14:50 +01:00
tibbi
f19d6ada1f add a broadcast receiver for refreshing media at received broadcast 2018-01-22 23:43:42 +01:00
tibbi
7d4e413daa make mView at VideoFragment nullable 2018-01-22 21:30:44 +01:00
tibbi
8a31ad1b1c store the medium type in it, to improve performance 2018-01-16 16:58:58 +01:00
Tibor Kaputa
fe07154b97
Merge pull request #579 from gh123man/gh123man/fixCloseIfAllFoldersExcluded
fixed bug where app will close if all media is missing or excluded
2018-01-15 22:18:44 +01:00
Tibor Kaputa
2c890afe19
Merge pull request #581 from gh123man/gh123man/dontAllowExcludeOnShowAll
Dont allow exclude when showing all folder content
2018-01-15 22:10:08 +01:00
Brian Floersch
7b75df81ab dont allow exclude when showing all folder content 2018-01-15 16:01:22 -05:00
Brian Floersch
ec6a9b95f8 fixed bug where app will close if all media containing folders are excluded and view mode is changed to "show all folders content" 2018-01-15 15:39:54 -05:00
tibbi
ab7b086497 move the one finger zoom above Extended media settings 2018-01-15 00:14:11 +01:00
Brian Floersch
39e8541000 code review feedback 2018-01-14 17:48:00 -05:00
Brian Floersch
1942140187 added one finger zooming 2018-01-13 22:58:42 -05:00
tibbi
c07aeab3cb remove some redundant strings 2018-01-09 23:30:23 +01:00
tibbi
50003b38fb catch security exceptions at fillExtraOutput 2018-01-09 10:02:03 +01:00
tibbi
c930ed5cda store latestMediaId only when not from cache, should improve new media discovery 2018-01-09 00:19:11 +01:00
tibbi
fa28098500 do not set a default value used at redrawing media 2018-01-08 21:50:24 +01:00
tibbi
19a81d2566 reduce instant load duration to 2 seconds 2018-01-08 21:17:27 +01:00
tibbi
cabf495b38 fix thumbnail displaying 2018-01-08 20:48:52 +01:00
tibbi
0fa4cb5844 adding a null check at closing search 2018-01-08 13:25:01 +01:00
tibbi
78148990f0 replace some media adapter magic numbers with constants 2018-01-08 12:15:57 +01:00
tibbi
a96863c590 moving some menu related functions up 2018-01-07 23:24:21 +01:00
tibbi
d8e77da395 disable fullscreen media one-finger zoom to make double-click easier 2018-01-07 18:39:09 +01:00
tibbi
38ca5b84d7 add basic search to media view, related to #48 2018-01-07 17:48:25 +01:00
tibbi
4b2d41ec75 fix #555, check if file exists at viewpager activity 2018-01-07 16:57:04 +01:00
tibbi
3c06dfd431 fix #557, apply the password protection to Manage Hidden Folders 2018-01-07 16:40:20 +01:00
tibbi
b351de406b replace Delete with Remove at Manage excluded/included folders 2018-01-06 19:43:45 +01:00
tibbi
616d4098fc skip the thumbnail load delay in some cases 2018-01-06 19:02:42 +01:00
tibbi
4123f67ad3 rewrite scrolling to improve performance 2018-01-06 16:10:13 +01:00
tibbi
ad1a787a15 move the "Use english" button further in settings 2018-01-06 13:20:30 +01:00
tibbi
1204eea382 nope, do not use Glide for loading non-animating gifs 2018-01-04 18:40:44 +01:00
tibbi
129858119d use Glide for loading non-animating gifs 2018-01-04 18:05:37 +01:00
tibbi
247f057166 do not delete empty folders by default 2018-01-03 12:48:15 +01:00
tibbi
1b496b5632 move mediaplayer releasing back on main thread 2017-12-30 09:00:36 +01:00
tibbi
88d8f39118 handle whole bitmap saving in edit activity on a background thread 2017-12-29 22:20:10 +01:00
tibbi
f63a8eebac release video mediaplayer on a background thread 2017-12-29 22:17:09 +01:00
tibbi
46a143e4ac couple slideshow improvements 2017-12-29 22:07:47 +01:00
tibbi
422b1fb690 use the default zoom level if the image matches the screen 2017-12-29 21:42:25 +01:00
tibbi
30374930bd properly handle zooming at images rotated by exif 2017-12-29 21:35:13 +01:00
tibbi
bc848e077c improve some doubletap zoom ratios 2017-12-29 21:09:12 +01:00
tibbi
cd03b455dc sort the hidden folders by .nomedia last modified + fix threading 2017-12-29 18:17:33 +01:00
tibbi
865db7099f implement the hidden folder adapter for adding/removing items 2017-12-29 18:11:23 +01:00
tibbi
4240849151 add an activity for displaying hidden folders 2017-12-29 16:46:13 +01:00
tibbi
27e14b8fac show the Lock Orientation menu item only when the image isnt rotated 2017-12-29 15:47:58 +01:00
tibbi
d353f02a51 recycle the subsampling imageview on destroy 2017-12-29 15:46:15 +01:00
tibbi
da80d24606 do not check every file existence at fetching, just once a week do a cleanup 2017-12-29 15:28:33 +01:00
tibbi
4733bf95f9 use list() instead of listFiles() in some places 2017-12-27 10:10:14 +01:00
Tibor Kaputa
22abab9473
Merge pull request #524 from trubitsyn/patch-1
Camel case fix: tryloadGallery -> tryLoadGallery
2017-12-25 23:10:19 +01:00
Nikola Trubitsyn
0ebbad7fff
Resources.getActionBarHeight() fix return style
Uses the same return style as in the other functions
2017-12-26 01:07:01 +03:00
Nikola Trubitsyn
0bff18bb2c
Camel case fix: tryloadGallery -> tryLoadGallery 2017-12-26 00:42:37 +03:00
tibbi
16f913a026 handle storage permission at EditActivity 2017-12-25 12:08:36 +01:00
tibbi
6c7e406dad try removing temp folder only if the path isnt empty 2017-12-24 14:08:04 +01:00
tibbi
597e62b7a1 tweaking some uri permissions 2017-12-22 15:31:13 +01:00
tibbi
cdd9dcbae7 improve third party image picker intent handling 2017-12-22 13:09:34 +01:00
tibbi
3f88bb8e21 scan the included folder after adding on a background thread 2017-12-20 19:24:17 +01:00
tibbi
af586a209f create a copy of the mediafiles in the viewpager activity 2017-12-19 17:14:08 +01:00
tibbi
f96360a497 remove some seemingly redundant code at checking file paths individually 2017-12-19 12:27:05 +01:00
tibbi
3f72652ed8 avoid running 2 media fetching asynctasks 2017-12-19 12:20:03 +01:00
tibbi
8b9810bab9 use black status bar at fullscreen media when set so 2017-12-19 10:55:01 +01:00
tibbi
57e1678f1a fix #82, properly display MMS images 2017-12-18 23:46:42 +01:00
tibbi
4a91960875 flip the exif fetching functions, use the deprecated one first 2017-12-18 22:33:51 +01:00
tibbi
1c433b1ebf make sure we call getLatestMediaId from a background thread 2017-12-17 20:53:17 +01:00
tibbi
0ae0d8df12 also check file existence at Included folders, if size returns 0 2017-12-17 13:03:32 +01:00
tibbi
47046d3d11 properly fetch gif files 2017-12-17 12:27:11 +01:00
tibbi
bd0f540460 fix video autoplay in slideshows 2017-12-17 11:58:14 +01:00
tibbi
8843a4a006 handle onPageSelected called twice on every page change 2017-12-17 11:46:41 +01:00
tibbi
9751daa8af catch exceptions thrown at fetching image orientation 2017-12-17 10:53:55 +01:00
tibbi
ae7d3e3f18 use the helper function for checking if only one item is selected 2017-12-13 19:47:58 +01:00
tibbi
527edf3914 show proper bubble text at sorting by path 2017-12-06 21:59:56 +01:00
tibbi
eece8130cf update fastscroller bubble colors on resume 2017-12-06 21:50:08 +01:00
tibbi
e69703bd07 call layoutInflater on the activity directly 2017-12-06 19:05:47 +01:00
tibbi
2e13d381a1 use PhotoView at fullscreen media to allow zooming gifs and raws 2017-12-06 18:44:56 +01:00
tibbi
5e9ac3aaaa fix #448, update Commons to include Raw support 2017-12-06 17:08:57 +01:00
tibbi
bb2659d018 reference the SupportActionBar title at updating it 2017-12-06 16:44:54 +01:00
tibbi
0285b97a17 showd fastscroller bubble at horizontal scrolling tii 2017-12-06 16:42:06 +01:00
tibbi
fbcee2c7a0 couple code style updates 2017-12-06 16:10:21 +01:00
tibbi
04f1bbaffe add a toggle for showing info bubble at fastscroller 2017-12-06 14:42:17 +01:00
tibbi
da2db79913 show an info bubble at fastscroller dragging 2017-12-05 23:45:09 +01:00