Commit graph

1053 commits

Author SHA1 Message Date
tibbi
da67107b83 allow toggling between portrait and landscape aspect ratio at wallpaper picker 2017-04-10 20:35:56 +02:00
tibbi
15b39b501d use the file output stream creator from Commons lib 2017-04-09 22:41:53 +02:00
tibbi
49f7fc389a update commons to 2.16.3 2017-04-09 22:32:38 +02:00
tibbi
95d3701b80 make view_pager non nullable 2017-04-09 18:42:29 +02:00
tibbi
4c4bbb0320 properly show the media for Android 4.1 2017-04-08 18:21:44 +02:00
tibbi
eeaf854144 fix some errors at loading fullscreen images 2017-04-04 21:48:59 +02:00
tibbi
259f517a18 make "media" a global variable at getMediaAsyncTask 2017-04-04 21:40:12 +02:00
tibbi
9c0cecc76f use a thread pool executor for the asynctasks 2017-04-04 18:16:34 +02:00
tibbi
5d0ff30e67 remove some return statements 2017-04-04 18:12:07 +02:00
Tibor Kaputa
e54cadfbdc avoid deleting Downloads folder 2017-04-04 16:01:20 +02:00
tibbi
a2f1512588 fix directory sorting 2017-04-03 21:33:40 +02:00
tibbi
ebc6c2ef3d allow zooming in a lot more at fullscreen photos 2017-04-03 18:40:08 +02:00
tibbi
94258a57fa add cache signatures to thumbnails 2017-04-03 18:35:09 +02:00
tibbi
152a56c32b do not attempt loading thumbnails after being loaded from cache 2017-04-03 18:29:30 +02:00
tibbi
8545ab8430 add some null checks to data folder getter 2017-04-03 18:20:24 +02:00
tibbi
3e03deef90 show the keyboard at "Save as" dialog 2017-04-02 19:39:55 +02:00
tibbi
6ca3c30b9c zoom in more on double click 2017-04-02 09:23:09 +02:00
tibbi
d160b5b158 updating the release notes 2017-04-01 23:16:30 +02:00
tibbi
e2c37d9afa fix #217, #209, improving autorotation 2017-04-01 23:09:05 +02:00
tibbi
3cae9361d6 implement screen rotation by aspect ratio 2017-04-01 21:55:33 +02:00
tibbi
0296c383b9 add more screen rotating options 2017-04-01 21:17:49 +02:00
tibbi
576f2a431a use Subsampling at a couple more image formats 2017-04-01 19:31:11 +02:00
Justin Jacobs
6ff17351cc Use subsamplingScaleImageView for PNGs 2017-04-01 13:24:31 -04:00
tibbi
2759a476aa exclude ...Android/data folder by default, it usually contains garbage 2017-04-01 18:55:39 +02:00
tibbi
ed59c51b99 reimplement copy and move at folder and thumbnail views 2017-04-01 18:29:39 +02:00
tibbi
bc54d58dbe remove the redundant onCreate function of SimpleActivity 2017-04-01 18:14:28 +02:00
tibbi
aefa630c1a store copyMoveCallback a bit further at the process 2017-04-01 18:12:51 +02:00
tibbi
a963a13fc7 get the source path at copy/move from the first item 2017-04-01 18:08:49 +02:00
tibbi
8d1145e038 use a callback for copy/move result 2017-04-01 17:59:14 +02:00
tibbi
77d8bce189 move the copyMoveFilesTo into SimpleActivity 2017-04-01 17:32:13 +02:00
tibbi
57a0baa253 add the copy move dialog 2017-04-01 17:09:24 +02:00
tibbi
9a0cde9796 remove the leftovers of CopyDialog 2017-04-01 16:58:17 +02:00
tibbi
627ddeea0a add a helper function for getting the current path at viewpager activity 2017-04-01 16:33:30 +02:00
tibbi
dc2e621d6b split copy and move to 2 items 2017-04-01 16:18:47 +02:00
tibbi
aae7c39058 set a background to subsampled images to avoid glitches at too small images 2017-04-01 15:55:12 +02:00
tibbi
edf60b77b3 use subsampling image view only on the current image 2017-04-01 15:39:35 +02:00
tibbi
7a3acad04b use subsamplingScaleImageView for fullscreen images again 2017-04-01 12:00:32 +02:00
tibbi
599f93b458 add a arraylist size check at copy dialog 2017-04-01 09:23:34 +02:00
tibbi
d2afd2de94 avoid showing the Hide folder confirmation twice if initially hiding 2 2017-03-30 18:17:27 +02:00
tibbi
b231227813 update fastscroller handle color if it changed 2017-03-29 19:05:54 +02:00
tibbi
a2f2e57b85 do not load 2 images per side, aint nobody got memory for that 2017-03-28 22:03:00 +02:00
tibbi
45a56d6926 rotate the screen as needed if autorotate is enabled 2017-03-25 14:05:56 +01:00
tibbi
2540763480 check medium resolution at fullscreen media change 2017-03-25 12:41:20 +01:00
tibbi
96e661dbb9 remove some redundant viewpager variables 2017-03-25 10:47:40 +01:00
tibbi
dda66bf127 add a settings toggle for autorotating the screen 2017-03-23 21:02:32 +01:00
tibbi
25a46f18f4 refresh the thumbnails if Crop Thumbnails has changed 2017-03-23 20:56:18 +01:00
tibbi
e9115530ea take the Crop Thumbnails setting into consideration when displaying thumbnails 2017-03-23 20:52:48 +01:00
tibbi
a5faf7a0a5 add a settings checkbox for cropping thumbnails 2017-03-23 20:32:52 +01:00
tibbi
6782f7b208 fix #192, show the Settings menu button at more screens 2017-03-23 20:25:30 +01:00
tibbi
33667ff857 add some strings related to thumbnail croping and autorotating screen 2017-03-23 20:21:02 +01:00
tibbi
b4290375b8 use the new mimetype getter at Mediums 2017-03-23 18:38:41 +01:00
tibbi
ac63a8648d do not attempt transforming the fullscreen image if rotation is 0 degrees 2017-03-23 18:27:18 +01:00
tibbi
71051fe928 use the default file mimetype at sharing a file 2017-03-23 18:26:05 +01:00
tibbi
eb2ff336ce remove the photoViewAttacher, handle zoom differently 2017-03-22 23:45:20 +01:00
tibbi
bc73f0d807 check if hidden folders are temporarily shown in a couple more places 2017-03-22 23:38:34 +01:00
tibbi
e58ab7111c reuse the same crop image view at Edit and Set Wallpaper activities 2017-03-22 22:50:25 +01:00
tibbi
7ebfeeb66a add a device version check at SetWallpaper activity 2017-03-22 22:33:54 +01:00
tibbi
250771f21b temporarily show hidden folders if selected so 2017-03-22 21:46:30 +01:00
tibbi
9de1ba808d add the "Temporarily show hidden" button to release notes 2017-03-22 21:36:54 +01:00
tibbi
0c135b44ac add a menu button for temporarily showing hidden folders 2017-03-22 21:32:08 +01:00
tibbi
315d2197b8 allow zooming in more at fullscreen view 2017-03-22 21:08:41 +01:00
tibbi
2c48df109a minor edits 2017-03-19 19:02:59 +01:00
tibbi
69e67409fe fix #139, toggle gif animation at folder cover 2017-03-19 10:15:21 +01:00
tibbi
4098090704 fixed sorting constant imports on a couple more places 2017-03-19 09:58:50 +01:00
tibbi
e9b4291c88 update commons to 2.13.5 2017-03-19 09:56:43 +01:00
tibbi
a150e5da04 replace Picasso with Glide everywhere once again 2017-03-18 21:57:49 +01:00
tibbi
b1a20f51e0 update commons to 2.12.9 2017-03-18 19:48:03 +01:00
tibbi
fc1fd0f505 couple edits to the exclude/include icon 2017-03-18 18:34:46 +01:00
tibbi
4ee604962f update commons to 2.12.7 2017-03-18 17:22:27 +01:00
tibbi
efc7d99eb1 srsly 2017-03-18 16:08:16 +01:00
tibbi
525e44d2b1 fix a variable name 2017-03-18 16:03:23 +01:00
tibbi
76e18196b5 always check Whats new dialog at app launch 2017-03-18 13:47:38 +01:00
tibbi
e1ddcda524 preload just 1 fullscreen image per side, with more dynamic resolution 2017-03-18 12:42:13 +01:00
tibbi
092ea401b3 fix the pick_media intent sent from third party apps 2017-03-18 12:09:04 +01:00
tibbi
47418eba7e adding Picasso license 2017-03-18 11:18:41 +01:00
tibbi
bd9e5746cc add folder inclusion in the release notes 2017-03-18 10:49:57 +01:00
tibbi
d07db9fffa add exclude/include placeholders at their manage activities 2017-03-18 10:41:20 +01:00
tibbi
6cf993a263 update the included folders list after adding one 2017-03-17 23:53:51 +01:00
tibbi
08764e9db3 update the item count at thumbnails after delete 2017-03-17 23:42:24 +01:00
tibbi
4cfdb31a2d fix #52, ignore letter case when fetching parents 2017-03-17 23:37:46 +01:00
tibbi
10a742bacd scan the path of included folder, maybe it fixes it 2017-03-17 23:17:49 +01:00
tibbi
d61f1d7d1b add the included folders at the scaned ones 2017-03-17 23:15:20 +01:00
tibbi
a3777d0f73 list the included folders at the manager screen 2017-03-17 23:12:23 +01:00
tibbi
ff1f29b1f8 add a menu button for adding included folders 2017-03-17 23:01:53 +01:00
tibbi
dc98df713d add a setting button for managing included folders 2017-03-17 22:54:44 +01:00
tibbi
87b34b4386 implement the Excluded folder adding from the manager activity 2017-03-17 22:46:30 +01:00
tibbi
05fb1efe57 replace the "Remove all excluded folders" with an "Add folder" 2017-03-17 22:41:08 +01:00
tibbi
82a74ebd25 always show the Manage Excluded Folders setting item 2017-03-17 22:36:09 +01:00
tibbi
0728c1b9e1 check if Image first, that will be the most frequent 2017-03-17 22:04:02 +01:00
tibbi
4f1689965a reuse the function for loading directory and media thumbnails, dont copy paste 2017-03-17 22:02:24 +01:00
tibbi
61e6a8ef78 use Glide for video thumbnails 2017-03-17 21:42:53 +01:00
tibbi
723084b482 use Picasso for directory thumbnails too 2017-03-17 21:36:19 +01:00
tibbi
d22685b5ca load media thumbnails with Picasso 2017-03-17 21:22:57 +01:00
tibbi
07e15db08a filter out symbolic link folders earlier 2017-03-17 20:23:46 +01:00
tibbi
aa55dfbb15 increase the image load priority of initially opened images 2017-03-17 20:17:48 +01:00
tibbi
19d4ff53cb store the screen resolution at view pager activity 2017-03-17 20:09:11 +01:00
tibbi
ebd14626cb remove the string signatures from recyclerviews 2017-03-17 19:54:39 +01:00
tibbi
70afd83bd7 rotate the fullscreen image appropriately 2017-03-17 19:51:28 +01:00
tibbi
6a97a47d76 use Picasso for loading fullscreen images 2017-03-17 19:46:44 +01:00
tibbi
a6622ef9e3 improve gif loading 2017-03-16 21:07:49 +01:00
tibbi
858d66e728 fix #194, check for storage permission even if opening third party image 2017-03-16 20:45:39 +01:00
tibbi
d885f301cb filter out symbolic links as directories 2017-03-16 19:21:50 +01:00
tibbi
153c9ed62a remove glide loading priorities 2017-03-16 19:14:46 +01:00
tibbi
8ea1b02e0f stop loading the fullscreen images if the view is destroyed 2017-03-16 19:13:02 +01:00
tibbi
9d88f7bf7d remove Subsampling scale image view, its not worth it 2017-03-16 19:11:51 +01:00
tibbi
597ffd5a57 check if the destination file exists at move 2017-03-15 22:12:28 +01:00
tibbi
9f91e14a32 add the Glide load stopper to the directories view too 2017-03-15 21:16:27 +01:00
tibbi
ee6e221de0 use the previous way of creating foreground selectors of adapters 2017-03-15 21:14:55 +01:00
tibbi
8c207938aa refresh the thumbnails view after editing a file 2017-03-15 21:07:43 +01:00
tibbi
abedcba838 couple performance improvements to thumbnails loading 2017-03-15 20:57:20 +01:00
tibbi
63a4ee8e73 remove the beVisibleIf extension 2017-03-15 20:08:59 +01:00
tibbi
3fabc6a93f use the shared rename dialog for renaming files and folders 2017-03-14 23:25:22 +01:00
tibbi
5b26bbb410 reuse 2 strings from commons 2017-03-14 21:08:57 +01:00
tibbi
4bcdf68ff3 use the rename folder dialog from the Commons lib 2017-03-14 20:47:01 +01:00
tibbi
a5bac9311e tweaking some file related operations 2017-03-12 21:27:45 +01:00
tibbi
8ebdc91649 update commons to 2.9.9 2017-03-11 22:56:57 +01:00
tibbi
95cc4d1121 use an itemView.apply to shorten some adapters 2017-03-11 12:03:04 +01:00
tibbi
95ff1b1b95 using an Apply at sorting dialog 2017-03-11 11:14:54 +01:00
tibbi
ee32c1ab3a use the new radio group dialog for Show Media picking 2017-03-10 22:21:52 +01:00
tibbi
739e1c01a8 couple code style changes 2017-03-10 22:15:10 +01:00
Andrew Rabert
19fd54b25a Option for max brightness when viewing media 2017-03-10 00:58:06 -05:00
Tibor Kaputa
c80200c351 update release notes 2017-03-09 09:40:10 +01:00
Tibor Kaputa
f2ecf5325f get file uri the old way 2017-03-09 09:33:08 +01:00
tibbi
23696bff32 do not show the Edit button at long pressing video 2017-03-08 21:38:26 +01:00
tibbi
70a2d82aa4 do not zoom in that much at double tapping an image 2017-03-07 21:01:23 +01:00
tibbi
4c659df49d update commons to 2.9.0 2017-03-07 21:00:26 +01:00
tibbi
77ab6178d0 fix some file uri issues on android versions below 7 2017-03-07 18:55:42 +01:00
tibbi
d80a0db3cb check if the activity is still alive after cropping for wallpaper 2017-03-06 23:18:47 +01:00
tibbi
74af90eaa6 make sure theres no double slash at the beginning of exclude path, fix #183 2017-03-06 23:05:02 +01:00
tibbi
a6e62ddc1b add the nougat check back at thumbnail activity 2017-03-06 22:57:23 +01:00
Tibor Kaputa
94da492db0 add a helper function for the uris 2017-03-06 11:54:50 +01:00
Tibor Kaputa
eac2a37bad one more uri change 2017-03-06 11:52:41 +01:00
Tibor Kaputa
1c200cd2f5 fix some Android 7 file uri crashes 2017-03-06 11:51:13 +01:00
tibbi
80bfc9183f update the code style at some activity extensions 2017-03-05 23:34:23 +01:00
tibbi
f1d5baa8a8 try sticking the damn read_uri_permission to every intent 2017-03-05 23:09:29 +01:00
tibbi
ef538491e8 open Android Nougat videos in simple gallery 2017-03-05 00:33:47 +01:00
tibbi
ce5dc20a79 fix #172, show selected items count as "x / y" 2017-03-04 23:11:56 +01:00
tibbi
c494209523 declare some functions private 2017-03-04 23:00:02 +01:00
tibbi
a36ffb297a allow setting a default third party video player 2017-03-04 22:53:05 +01:00
tibbi
3619a32a9c allow setting the editor app as default, fix #164 2017-03-04 21:53:12 +01:00
tibbi
5a0b031d3f set the fastscrollbars color to primary color 2017-03-04 21:29:52 +01:00
tibbi
956ffafe9e add the fast scroll to directory view too 2017-03-04 20:26:43 +01:00
tibbi
2bc78212b9 add an initial fast scrollbar to thumbnail view 2017-03-04 19:29:24 +01:00
tibbi
99eb87ec8b do not animate gifs by default 2017-03-04 10:35:47 +01:00
tibbi
b94b803a40 fix a crash when excluding folder without parents 2017-03-04 10:34:46 +01:00
tibbi
c6de3a9e85 hide the Manage excluded folders in Settings, if nothing is excluded 2017-03-04 10:32:54 +01:00
tibbi
cf546e3c60 really exclude the selected folder 2017-03-04 10:28:02 +01:00
tibbi
f480ae6e14 get a list of parents at exclude folder dialog 2017-03-03 23:33:06 +01:00
tibbi
77d203214a create a new confirmation dialog for excluding folders 2017-03-03 22:29:08 +01:00
tibbi
7844bf5f9b added the new exclusion rules in release notes 2017-03-03 21:54:29 +01:00
tibbi
99376a3bb0 hide the subfolders of excluded folders too 2017-03-03 21:46:48 +01:00
tibbi
5064ca612f lets always show the exclude confirmation dialog 2017-03-03 21:29:51 +01:00
tibbi
05b6d71035 simplify a check at deleting from fullscreen 2017-03-01 23:32:05 +01:00
tibbi
f67ce86cf2 fix #168, do not autoplay gifs at thumbnails if chosen so 2017-03-01 23:21:20 +01:00
tibbi
ec11041cda add the gif toggling in release notes 2017-03-01 23:07:40 +01:00
tibbi
75816a1b77 added an option to toggle animating gifs at thumbnails 2017-03-01 23:05:14 +01:00
tibbi
97554c36ed add an extra check to avoid displaying hidden folders if shouldnt 2017-03-01 22:33:49 +01:00
tibbi
4164f6c980 change the way of displaying fullscreen images 2017-03-01 22:04:13 +01:00
tibbi
1af04a3e5d remove the thumbnail from photo fragment 2017-02-28 23:21:28 +01:00
tibbi
ad39c4d644 do not show the "Use only in this folder" sorting checkbox if showing all media 2017-02-28 23:20:23 +01:00
tibbi
787b7af996 use the copy/move source path as the initial path at Other Folder option 2017-02-28 22:13:33 +01:00
tibbi
4b104fc8d6 do not allow picking the source folder as the destination at copy/move 2017-02-28 22:07:43 +01:00
tibbi
9cae71b7ab show the destination picker at showing copy dialog right away 2017-02-28 21:17:35 +01:00
tibbi
e0454fcf06 add the custom folder sorting in release notes 2017-02-28 21:11:04 +01:00
tibbi
940ed8a43b implement custom sorting per folder 2017-02-28 21:06:17 +01:00
tibbi
8c236aaf5b remove the switch for same sorting of files and folders, never apply it 2017-02-28 20:46:12 +01:00
tibbi
a8eeac2f8b add a checkbox to sorting dialog for applying the selection to a folder only 2017-02-28 20:40:55 +01:00
tibbi
4ca455c761 group the media files at querying the content resolver 2017-02-27 23:29:19 +01:00
tibbi
638f4b4d45 stop loading images on pause 2017-02-27 22:14:24 +01:00
tibbi
9fdcea056d zoom in more on double tap 2017-02-27 20:31:17 +01:00
tibbi
46582a3d01 fix the icon color at manage folders screen 2017-02-27 20:20:38 +01:00
tibbi
f82b09470b simplify the hidden folder check 2017-02-27 20:04:27 +01:00
tibbi
f372d46b51 simplify the SD card permission check at some activities 2017-02-27 19:20:19 +01:00
tibbi
609e341b81 feed the Glide bitmap to subsamplingScaleImageview 2017-02-27 18:57:17 +01:00
tibbi
a94d027388 fix #167, actionbar back button not working 2017-02-27 18:41:20 +01:00
tibbi
e38ec1c5e3 hide .nomedia subfolders too 2017-02-26 23:17:56 +01:00
tibbi
d60ee0b387 show a Hide folder tooltip dialog at the first usage 2017-02-26 22:01:28 +01:00
tibbi
a198008c8e stop media fetching asynctasks on pause 2017-02-26 21:52:53 +01:00
tibbi
6c11d71a9d add a menu item for removing all excluded folders 2017-02-26 21:31:52 +01:00
tibbi
b4975a2bbd add a cross for removing excluded folders 2017-02-26 21:10:52 +01:00
tibbi
a3bf684aea list the excluded paths at excludedFolders activity 2017-02-26 20:38:18 +01:00
tibbi
6da347a55e add a new activity for managing excluded folders 2017-02-26 19:44:25 +01:00
tibbi
46f99fd1c0 add a settings button for managing excluded folders 2017-02-26 19:37:54 +01:00
tibbi
4572295698 add the exclusion functionality 2017-02-26 19:31:20 +01:00
tibbi
f354818b66 show an explanation dialog at first attempt to exclude a folder 2017-02-26 19:15:51 +01:00
tibbi
0a649df9c3 store if hide/exclude folder tooltip was shown in prefs 2017-02-26 18:32:47 +01:00
tibbi
1e37c47bd0 add menu items for excluding folders 2017-02-26 18:12:23 +01:00
tibbi
445f7a612a load a smaller preview at fullscreen photos first 2017-02-26 17:31:39 +01:00
tibbi
4311529664 small getMediaAsyncTask update 2017-02-26 17:28:21 +01:00
tibbi
169b9f45ca increase the load priority of the current fullscreen image 2017-02-26 17:21:49 +01:00
tibbi
7ad804f5f9 move directory grouping into a separate function 2017-02-26 12:30:42 +01:00
tibbi
ad8cd557ce filter wrong directories sooner 2017-02-26 12:26:32 +01:00
tibbi
e243de95d1 hide folders starting with a dot if hidden should be shown 2017-02-26 12:10:15 +01:00
tibbi
959b0862f5 update commons to 2.7.4 2017-02-25 18:59:39 +01:00
tibbi
b6b408e1f8 optimize the directory sorting related function 2017-02-25 17:30:06 +01:00
tibbi
7c4769701c store the sd card path at launching the app 2017-02-25 16:38:45 +01:00
tibbi
aab55cef62 tweaking the getdirectories asynctask 2017-02-25 11:35:34 +01:00
tibbi
b778e60781 tweak getdirectories to use the string extensions 2017-02-25 11:15:47 +01:00
tibbi
795fad2240 do not check immediately if .nomedia folders contain media, we will check later 2017-02-25 11:10:02 +01:00
tibbi
2cf58c2e1e update getmedia asynctask 2017-02-25 11:01:40 +01:00
tibbi
19093b989f more attempt to optimize the media fetching process 2017-02-24 23:41:27 +01:00
tibbi
513694c117 add a helper function for fast getting folders with media 2017-02-24 22:02:09 +01:00
tibbi
30c7b9b055 change the way we obtain images 2017-02-23 23:57:49 +01:00
tibbi
a8c5cc1fdd show folders with .nomedia if appropriate 2017-02-23 21:29:02 +01:00
tibbi
d03bdfc91a add folder un/hiding from thumbnail view 2017-02-23 20:14:00 +01:00
tibbi
f27afeb674 add nomedia adding/removing at directory view 2017-02-23 20:11:33 +01:00
tibbi
3c821961b3 add folder hiding in release notes 2017-02-22 19:18:01 +01:00
tibbi
667dc4bf2e replace fake folder hiding with .nomedia check 2017-02-22 19:13:18 +01:00
tibbi
2544c91859 update commons to 2.6.8 2017-02-22 18:32:03 +01:00
tibbi
814b0cc3b6 check if we are trying to rotate a photo fragment 2017-02-20 23:19:03 +01:00
tibbi
c0fcb48d9c use the fast documentfile getting at Renaming too 2017-02-20 23:11:32 +01:00
tibbi
b46da2f58a try speeding up the process of obtaining all images and videos 2017-02-20 21:59:55 +01:00
tibbi
07b2371b9c try a faster way of deleting SD card files 2017-02-20 21:57:41 +01:00
tibbi
5d04e1967f if a file is an image, do not check if its a video 2017-02-19 19:25:22 +01:00
tibbi
3d77834487 do not show the keyboard at Save as dialog 2017-02-18 21:38:38 +01:00
tibbi
bf952f71cf tweak the way files are deleted 2017-02-17 19:28:37 +01:00
tibbi
8dfa688f7d add an activity check at reloading viewpager 2017-02-15 21:33:25 +01:00
tibbi
a17e0f7a39 declare viewpager as nullable 2017-02-15 02:26:31 +01:00
tibbi
60cc462c6e handle saving on SD card after rotating 2017-02-13 23:57:14 +01:00
tibbi
d4bd291461 use proper error strings at out of memory toasts 2017-02-13 23:34:00 +01:00
tibbi
a4ca22f419 catch out of memory error at editor activity too 2017-02-13 23:31:24 +01:00
tibbi
00dc0c16d3 add simple file saving to viewpager activity 2017-02-13 23:30:47 +01:00
tibbi
9a9ce890ca add a Save as button for saving rotated images 2017-02-13 22:44:03 +01:00
tibbi
90a87615d9 show the rotate actionbar button only if the current item is an image 2017-02-13 21:06:47 +01:00
tibbi
964ffe360a add the image rotating functions 2017-02-13 20:57:47 +01:00
tibbi
83a47e9b8c prepare for rotating images in viewpager activity 2017-02-13 20:51:28 +01:00
tibbi
592c80d951 use the proper filepath at deleting from viewpager activity 2017-02-13 20:49:01 +01:00
tibbi
eb1ef6852e rename some photo fragment views 2017-02-13 20:16:33 +01:00
tibbi
5dac9d2e3c added image rotating and flipping in release notes 2017-02-12 23:43:05 +01:00
tibbi
e951b85570 add fullscreen actionbar menu items for rotating images 2017-02-12 23:38:22 +01:00
tibbi
b3342a8091 add in icon for rotating left 2017-02-12 21:09:04 +01:00
tibbi
82bd634830 add a null check 2017-02-12 20:00:58 +01:00
tibbi
0c2598d37b show error messages if deleting failed 2017-02-10 23:59:28 +01:00
tibbi
67a459ced7 added the column changing option to whats new 2017-02-10 23:50:36 +01:00
tibbi
07335fba67 add the column changing methods to media screen too 2017-02-10 23:47:48 +01:00
tibbi
7f3b02a765 added menu options for changing the column counts 2017-02-10 23:44:10 +01:00
tibbi
cbcd3cfa6a tweak the way files are deleted 2017-02-10 23:27:14 +01:00
tibbi
0e541f091c delete images on a background thread from viewpager too 2017-02-09 21:57:21 +01:00
tibbi
58ace8e59f url decode the document file uri before deleting, should fix SD delete issues 2017-02-09 21:46:43 +01:00
tibbi
099e13ea0c check lollipop sd permissions at deleting asap 2017-02-09 21:38:07 +01:00
tibbi
5a625a3388 add a null check to viewpager menu items 2017-02-09 21:03:47 +01:00
tibbi
f728ca2650 add an activity null check at toggling fullscreen 2017-02-09 20:51:42 +01:00
tibbi
77e32c2790 speed up checking if directories or images changed 2017-02-07 00:14:51 +01:00
tibbi
9a7361795f check if a Camera app is available before trying to launch it 2017-02-07 00:08:32 +01:00
tibbi
0f0b3cfc30 avoid VideoFragment implementing so many interfaces 2017-02-07 00:04:30 +01:00
tibbi
f2bcac6298 add the showmediapicker dialog 2017-02-06 23:55:42 +01:00
tibbi
762662a976 replace the media selection spinner in settings with text 2017-02-06 23:34:53 +01:00
tibbi
d6f77febfe update commons to 2.5.4 2017-01-25 22:02:20 +01:00
tibbi
2c4bbfb0e2 make sure there is an application with maps before sending the intent 2017-01-23 23:05:25 +01:00
tibbi
06ac24eca5 add hex code picking in Whats new 2017-01-23 20:02:35 +01:00
tibbi
b6ee141c9c remove a writeexif line when opening weird images, like K9 attachments 2017-01-23 19:33:44 +01:00
tibbi
90f7b0fb4c update version to 2.3.4 with Whats new update 2017-01-22 20:04:40 +01:00
tibbi
10670a8f0d wrap the whole exif part of photofragment in try catch 2017-01-22 18:58:04 +01:00
tibbi
9773a481c8 add some null checks to obtaining directories 2017-01-22 18:53:32 +01:00
tibbi
d1995d129a fix #138, add displaying photos on map, if theres coords available 2017-01-22 18:36:27 +01:00
tibbi
06e6f8a3f5 add a menu item for showing photo or video on map 2017-01-22 18:03:14 +01:00
tibbi
c4f49c56c9 use the main thread when deleting images from fullscreen view 2017-01-22 17:44:27 +01:00
tibbi
e13a37edf9 remove the Source field from the copy dialog 2017-01-16 20:45:07 +01:00
tibbi
876f81c0e7 add a null check before displaying properties dialog 2017-01-15 11:59:47 +01:00
tibbi
40ec71c5c2 remember scroll position when going from media to fullscreen mode 2017-01-15 11:51:18 +01:00
tibbi
c6c945eb36 cache 40 photos per folder 2017-01-15 11:46:21 +01:00
tibbi
bbd7cb17b3 add Exif additions to release notes 2017-01-14 23:53:49 +01:00
tibbi
6c7fc3683e change the way third party photos are shared 2017-01-14 19:58:39 +01:00
tibbi
c060a45edf properly open some special attachments, like k9 mail ones 2017-01-14 19:14:44 +01:00
tibbi
eed7be0f40 catch exceptions at trying to display fullscreen photos 2017-01-14 13:49:13 +01:00
tibbi
8b37560ed4 cache 30 images per folder for faster loading the second time 2017-01-14 13:04:22 +01:00
tibbi
a259a0240c make some activity variables nonstatic 2017-01-14 12:26:32 +01:00
tibbi
c2f268d004 show a spinner while loading directories for the first time 2017-01-14 12:18:37 +01:00
tibbi
c2741f6dcb move folder filtering to getParents() 2017-01-13 23:52:04 +01:00
tibbi
a48358bef3 filter out hidden folders asap, if appropriate 2017-01-13 23:49:56 +01:00
tibbi
289e82cc1e what a stupid condition 2017-01-13 23:41:27 +01:00
tibbi
c1f1e92c14 lets always use lastModified as dateTaken and hope nobody is using it 2017-01-13 23:38:56 +01:00
tibbi
ef28b40186 create a config context extension 2017-01-13 23:36:05 +01:00
tibbi
59096651d6 implement Show All at media view 2017-01-13 23:21:28 +01:00
tibbi
59bf41745a move some folder getting functions in context extensions 2017-01-13 23:09:27 +01:00
tibbi
ae5113b1f0 add some smaller helper functions for getting directories 2017-01-12 23:29:15 +01:00
tibbi
c09e472a14 rework the way of obtaining images and videos 2017-01-12 21:51:29 +01:00
tibbi
23d85f6ff9 switch to the new way of getting images again, with some tweak later 2017-01-11 18:47:49 +01:00
tibbi
d2ec946a3d updating commons to 2.3.4 2017-01-10 18:42:26 +01:00
tibbi
9d300b7da8 check for null crop rect at editing an image 2017-01-10 18:34:22 +01:00
tibbi
271fa72abb revert to the previous way of obtaining images 2017-01-10 18:22:39 +01:00
tibbi
a0ec0de5a4 couple threading fixes related to delete 2017-01-08 22:45:11 +01:00
tibbi
c81a54b9e3 adding photoview license 2017-01-07 19:59:31 +01:00
tibbi
544f92104a hide subsamplingscaleimageview if the image failed to load 2017-01-07 19:48:37 +01:00
tibbi
f41d75aca1 update the way we are getting images, so we get more of them 2017-01-07 19:44:05 +01:00
tibbi
80c9044eab rescan paths obtained from third parties 2017-01-07 17:27:41 +01:00
tibbi
926a45c72e small get directories style tweak 2017-01-07 16:10:38 +01:00
tibbi
0efdb071cc allow creating new folders at Copy or Save as dialogs 2017-01-07 16:08:15 +01:00
tibbi
92959d474c update commons to 2.2.0 2017-01-07 15:58:01 +01:00
tibbi
aaab1593c0 remove some redundant brackets 2017-01-07 12:27:08 +01:00
tibbi
61a621fc3c remove the Undo function from folder view 2017-01-07 12:22:25 +01:00
tibbi
e9b40a6c13 add zooming in whatsnew 2017-01-07 12:08:10 +01:00
tibbi
de63b61bf6 use a background thread for deleting stuff 2017-01-07 12:06:29 +01:00
tibbi
b6fbe68643 add PhotoView for zoomable gifs and pngs 2017-01-07 11:41:31 +01:00
tibbi
e7c9964d4a simplify the settings spinner initialization 2017-01-06 21:08:34 +01:00
tibbi
df5981f74c show .nomedia folders if Show hidden folders is checked 2017-01-06 16:59:29 +01:00
tibbi
ccf71496e2 small photofragment update 2017-01-06 16:56:37 +01:00
tibbi
c564e63135 tweak the photo fragment a bit 2017-01-06 14:31:32 +01:00
tibbi
7b9503229f rewrite the way fullscreen images are loaded, for better quality, close #90, #84 2017-01-06 14:15:05 +01:00
tibbi
e3779f6321 cache the directories to show instantly 2017-01-04 22:06:03 +01:00
tibbi
c7dd7b7e2e handle cases when column _data does not exist 2017-01-04 21:32:34 +01:00
tibbi
3d089db697 do not convert medium and dir arrays to strings 2017-01-04 21:29:26 +01:00
tibbi
311f412c87 fixing a couple crashes 2017-01-04 21:24:17 +01:00
tibbi
f76a0cf0ce reuse the built in fade animations 2017-01-04 20:19:11 +01:00
tibbi
2f8f3b4362 move icons into drawables and reuse some from Commons library 2017-01-04 20:13:26 +01:00
tibbi
1b4e98eb08 use the commons viewpager 2017-01-02 22:47:47 +01:00
tibbi
219f736471 do not pass the colors in adapter viewholders 2017-01-02 22:46:45 +01:00
tibbi
23768d847f store dialog holders as views, not viewgroups 2016-12-29 23:48:34 +01:00
tibbi
5eb44b5bcf leave WhatsNewDialog checking to commons library 2016-12-29 22:58:28 +01:00
tibbi
e6bc2e4da7 set image type to image/* when setting wallpaper 2016-12-29 20:00:31 +01:00
tibbi
0383769c9e use Glide for displaying fullscreen images, if subsampling fails 2016-12-29 19:58:16 +01:00
tibbi
2dd6976e60 do now display the Whats new dialog to new users 2016-12-28 20:45:19 +01:00
tibbi
085c62b10b loop the video if set so 2016-12-28 20:37:10 +01:00
tibbi
1bbca50bac add the looping Setting switchcompat 2016-12-28 20:31:18 +01:00
tibbi
028d55d843 use the background color as image placeholder at directories 2016-12-27 22:44:33 +01:00
tibbi
6ba436db80 Improve the performance by removing file validity check 2016-12-27 20:06:38 +01:00
tibbi
4e75a84660 select the proper item at settings spinner 2016-12-27 01:09:56 +01:00
tibbi
fe85ef685b use the stored background color as placeholder for image loading 2016-12-27 00:51:28 +01:00
tibbi
9e9d164f9f make zooming in and out a bit easier 2016-12-27 00:39:54 +01:00
tibbi
044ccb3619 update commons and add Whats new dialog handling 2016-12-26 23:52:59 +01:00
tibbi
b0413fd756 properly initialize Autoplay setting 2016-12-26 22:36:27 +01:00
tibbi
60739762b0 use the inherited prefs variable for shared preferences 2016-12-26 21:54:00 +01:00
tibbi
6ad748d16a make sure the proper image is the directory thumbnail 2016-12-26 20:40:08 +01:00
tibbi
727bd490d3 allow only pinch zooming, not double tap 2016-12-26 19:09:07 +01:00
tibbi
74dd400731 properly update foreground selector color if changed 2016-12-26 18:53:27 +01:00
tibbi
431acaf092 remove the explicit setView call at dialogs 2016-12-26 13:14:54 +01:00
tibbi
c383a530dd replace fileproperties with commons 2016-12-26 13:12:01 +01:00
tibbi
16d97e9a92 replace filepicker library with commons 2016-12-26 12:00:50 +01:00
tibbi
a118990170 set proper long press selector colors to media screen too 2016-12-25 23:40:43 +01:00
tibbi
b02fa1c409 color the directory selected foreground properly 2016-12-25 23:16:27 +01:00
tibbi
f7d774a439 add a helper function for getting the proper view in adapters 2016-12-25 21:20:55 +01:00
tibbi
c2fb9ce0f3 add a black splash screen 2016-12-25 20:23:05 +01:00
tibbi
7cf5e658d8 check every photo, if it exists 2016-12-25 17:15:35 +01:00
tibbi
674c82c15d add a Select all button to the directories screen too 2016-12-25 16:32:19 +01:00
tibbi
08879ee1e1 use the commons confirmation dialog in a couple other places too 2016-12-25 16:26:29 +01:00
tibbi
dea5d0a721 shorten some switch case code 2016-12-25 16:19:28 +01:00
tibbi
517f6a5825 use the commons confirmationdialog, not the filepicker one 2016-12-25 16:04:49 +01:00
tibbi
240c043422 update fullscreen activity actionbar to gradient 2016-12-25 15:37:37 +01:00
tibbi
81ee5f46f5 use our custom views where appropriate 2016-12-25 15:17:15 +01:00
tibbi
0efab3ef60 updating the dialog colors 2016-12-19 23:47:18 +01:00
tibbi
8fc683e6f4 tweak settings layout 2016-12-18 20:02:18 +01:00
tibbi
0864f4ac81 remove a redundant function 2016-12-18 19:43:22 +01:00
tibbi
a34685176f add a file to invalids only if it doesnt exist 2016-12-18 18:25:12 +01:00
tibbi
a803948657 add the customization activity 2016-12-15 22:49:23 +01:00
tibbi
667befcb52 add license activity 2016-12-14 00:11:33 +01:00
tibbi
e7b307401b updating some things related to adding Commons library 2016-12-13 23:53:59 +01:00
tibbi
f43da0654e take some strings from Commons 2016-12-13 21:51:50 +01:00
Tibor Kaputa
1fd4169d26 small update to Copy / Move string 2016-12-13 15:22:24 +01:00
tibbi
9cabc09e4f small photofragment update 2016-12-12 23:01:50 +01:00
tibbi
04339ac28b let the models convert themselves to strings 2016-12-12 21:28:38 +01:00
tibbi
774f9d691b simplify some dialogs 2016-12-12 19:11:30 +01:00
tibbi
fe61fdd66a rely on the null check inside initMediaPlayer() 2016-12-11 22:51:02 +01:00
tibbi
0011f41cdb add a mediaplayer nullcheck 2016-12-11 22:50:05 +01:00
tibbi
33af23878a lets define File type too 2016-12-11 22:34:55 +01:00
tibbi
81f543f792 add a directory check at renaming 2016-12-11 22:33:26 +01:00
tibbi
9bb9e3496c store the amount of columns 2016-12-11 21:54:40 +01:00
tibbi
72381ba53d allow changing directory column cnt too 2016-12-11 21:38:15 +01:00
tibbi
f2074a4d16 move zoom handling into an own function 2016-12-11 21:35:05 +01:00
tibbi
b9d5c004e0 allow changing grid column count by pinching 2016-12-11 21:22:07 +01:00
tibbi
af9b5bd81e update some strings 2016-12-10 23:47:40 +01:00
tibbi
2e88f83844 add the functionality to filter images or videos only 2016-12-10 23:38:07 +01:00
tibbi
ce4c098e32 add a spinner for displaying images or videos only 2016-12-10 21:16:53 +01:00
tibbi
960267c543 updated the About activity 2016-12-10 11:20:47 +01:00
tibbi
0926c60dd3 animate directory removal too 2016-12-08 22:53:04 +01:00
tibbi
ca62b62bec add some animations at item deleting 2016-12-08 22:46:28 +01:00
tibbi
7fe6d616c0 add Select all to media screen 2016-12-08 22:01:35 +01:00
tibbi
c449ce43a5 lets actually remove Deselect all, there is the back button for it... 2016-12-08 21:31:48 +01:00
tibbi
26dfea3adb add cab buttons for de/selecting all items 2016-12-08 21:27:13 +01:00
tibbi
5c9c0d4ac9 replace some functions with filepicker extensions 2016-12-08 21:02:40 +01:00
tibbi
31f42118bb update filename in mediastore at Rename 2016-12-08 20:40:26 +01:00
tibbi
06e1796902 check SD card permissions also if moving files from SD card 2016-12-08 19:02:35 +01:00
tibbi
dad7404fdc remove a redundant variable 2016-12-07 20:51:22 +01:00
tibbi
86d9652204 update deleted files from media screen manually 2016-12-07 20:50:19 +01:00
tibbi
5df874ff43 update the deletefiles function with stdlib 2016-12-07 20:37:37 +01:00
tibbi
b28f7dcc78 remove the Undo option at removing from media view 2016-12-07 20:36:42 +01:00
tibbi
62d11861ca update mediastore after deleted files manually 2016-12-07 20:17:18 +01:00
tibbi
1ae4e0cc02 update renamed videos properly too 2016-12-07 19:37:39 +01:00
tibbi
4a2d8076d0 do now show the old folder after renaming 2016-12-07 19:31:00 +01:00
tibbi
e319bb1623 update mediastore after a rename manually, so its instant 2016-12-07 19:16:50 +01:00
tibbi
74d8287333 add an Edit button to media cab 2016-12-06 23:30:22 +01:00
tibbi
ade06101a5 add a Rename action button to the media screen 2016-12-06 22:53:11 +01:00
tibbi
4abc2d4b59 rename directory cab_edit to cab_rename 2016-12-06 22:40:09 +01:00
tibbi
1ed45dcc3d update the actionbar title after renaming an item 2016-12-06 22:35:37 +01:00
tibbi
6c5a428b40 split filename and extension at save dialog 2016-12-06 22:31:17 +01:00
tibbi
ae927425aa reload the viewpager after editing an image 2016-12-06 22:13:09 +01:00
tibbi
6449316f47 resize the saved image if wanted so 2016-12-06 22:09:40 +01:00
tibbi
d53000b667 validate the inserted resolution 2016-12-06 22:00:22 +01:00
tibbi
e99451b2f0 flip width and height if the image is rotated 2016-12-06 20:55:11 +01:00
tibbi
900dbbff32 properly update the Resize dialog values if we are keeping aspect ratio 2016-12-06 20:50:16 +01:00
tibbi
6d32e55bf4 creating the resize dialog 2016-12-06 20:15:33 +01:00
tibbi
463992a80d add some Resize related assets 2016-12-06 19:06:54 +01:00
tibbi
4c0a0a43b8 add Camera, Settings and About to ShowAll actionbar 2016-12-06 18:11:15 +01:00
tibbi
3e779c0a98 move some activity intent actions to SimpleActivity 2016-12-06 18:03:27 +01:00
tibbi
6f11b05e25 store Show All in shared prefs making it permanent 2016-12-06 17:59:54 +01:00
tibbi
73cd9a5638 initialize viewpager mMedia at creation 2016-12-06 17:35:05 +01:00
tibbi
7ff2d43f64 handle showAll at viewpager properly 2016-12-06 17:29:12 +01:00
tibbi
b1fa8bca89 show all media files in the appropriate section 2016-12-06 17:14:54 +01:00
tibbi
c3e3d550d1 add a couple things related to displaying all media at once 2016-12-06 16:57:17 +01:00
tibbi
105866987d allow copying items in folders that contain no media, fix #62 2016-12-06 16:18:50 +01:00
tibbi
a2c485cbe8 check null displayname 2016-12-06 00:06:28 +01:00
tibbi
f0f07d9c8d fix some crashes related unitialized lateinit variable 2016-12-06 00:04:27 +01:00
tibbi
2b8d644388 fix some issues at Moving files 2016-12-05 23:46:55 +01:00
tibbi
3d6329766a remove a redundant variable 2016-12-05 23:21:06 +01:00
tibbi
d0e81a3410 wait for mediascanner at some callbacks 2016-12-05 23:17:02 +01:00
tibbi
609cfbd580 implement the sorting by date taken 2016-12-05 22:51:13 +01:00
tibbi
8a24eeba86 store the date_taken at media and directories 2016-12-05 22:14:51 +01:00
tibbi
b0c9d72044 rename timestamp of media and directories to date_modified 2016-12-05 22:07:44 +01:00
tibbi
e6585180c3 show pin/unpin actionmenu item only when needed 2016-12-05 21:58:46 +01:00
tibbi
830f456359 update the hidden folders check 2016-12-05 21:50:16 +01:00
tibbi
411ae47136 move pinned items to front 2016-12-05 21:48:49 +01:00
tibbi
0857391189 update some functions related to pinning and hiding folders 2016-12-05 20:36:43 +01:00
tibbi
b5b4e15990 add some folder pinning related things 2016-12-05 20:20:38 +01:00
tibbi
de967340ad fix #74, properly set the viewpager position after delete 2016-12-05 18:50:23 +01:00
tibbi
2c9c91396a at copy from the main screen, copy the directory content 2016-12-05 18:05:46 +01:00
tibbi
ed3a386984 invalidate the actionbar at viewpager update 2016-12-04 23:21:47 +01:00
tibbi
388a6dd2c1 fix fullscreen toggle on some devices 2016-12-04 23:11:41 +01:00
tibbi
a51083be16 load png files as argb_8888 for higher quality 2016-12-04 21:45:28 +01:00
tibbi
ac9132bf6b update media screen items on delete, dont recreate 2016-12-04 21:01:21 +01:00
tibbi
f06fc85bdb fill viewpager items asynchronously 2016-12-04 20:53:05 +01:00
tibbi
6f60d3fcfd use the initialization function for reloading the viewpager 2016-12-04 19:46:11 +01:00
tibbi
df5dc70f61 fix some issues at reloading the viewpager after deleting an image 2016-12-04 19:21:59 +01:00
tibbi
c4644c73a5 remove the Undo option of deleting at viewpager, as there is a confirmation box 2016-12-04 18:57:58 +01:00
tibbi
bbdafef491 some more performance improvements 2016-12-04 18:07:26 +01:00
tibbi
c9c5f549be some updates to the way we get media from mediastore 2016-12-04 17:52:10 +01:00
tibbi
c9eb50944d small code style update 2016-12-04 16:59:21 +01:00
tibbi
d046cbc1ec allow swiping at opening an image for example from Downloads 2016-12-04 15:57:42 +01:00
tibbi
9fb2ec55d9 allow editing third party images 2016-12-04 15:47:46 +01:00
tibbi
a66d72abde allow changing the save path of edited image 2016-12-04 15:39:22 +01:00
tibbi
8ed6bff447 move Config and Constants into Helpers folder 2016-12-04 15:25:30 +01:00
tibbi
b04022d365 move the remaining Utils functions into extensions 2016-12-04 15:24:09 +01:00
tibbi
802789d1da move hasNavBar into an activity extension 2016-12-04 15:20:48 +01:00
tibbi
9ff47e6b6f use the filepickers getmimetype function instead of a custom one 2016-12-04 15:17:32 +01:00
tibbi
40e50dddc8 show the path at Save as dialog of editor 2016-12-04 13:20:37 +01:00
tibbi
5c12491fc1 add Set as wallpaper to photovideoactivity 2016-12-04 12:58:47 +01:00
tibbi
679deb424a add more action buttons to PhotoVideoActivity used by third parties 2016-12-04 12:25:54 +01:00
tibbi
72e56796b9 move OpenWith in extension 2016-12-04 12:07:22 +01:00
tibbi
56ba895302 move some constants outside of the constants object 2016-12-04 12:02:48 +01:00
tibbi
b3f285f7f4 move wallpaper setting to an extension 2016-12-04 12:00:19 +01:00
tibbi
f70eb2b2fc allow swiping between images if opened from third party app 2016-12-04 11:39:40 +01:00
tibbi
b0f3ac99a4 make sure dialogs are cancellable by clicking outside 2016-12-04 10:27:53 +01:00
tibbi
49247ee9f1 wrap the sorting dialog in a scrollview 2016-12-03 21:00:55 +01:00
tibbi
747e007fd0 removing a check from sorting, not sure why was it there 2016-12-03 18:32:30 +01:00
tibbi
421214057a add an extra check to prevent deleting directories with documentFile 2016-12-01 23:42:47 +01:00
tibbi
865df01f3a allow directory comparison end in result 0 2016-12-01 23:36:51 +01:00
tibbi
0ab0edd78a always try the simple way of deleting files too, like from internal storage 2016-11-30 23:22:10 +01:00
tibbi
5f64a02763 do not hide the system UI at initiating fullscreen photo/video 2016-11-30 23:15:22 +01:00
tibbi
66221ff82d update the medium comparison function, allow result 0 2016-11-30 23:09:48 +01:00
tibbi
75adc50906 update the Medium serialVersionUID 2016-11-30 22:52:27 +01:00
tibbi
c262755401 scan invalid files before sorting 2016-11-30 22:48:37 +01:00
tibbi
7c6ba51066 fix #66, totally hide the navigation bar at fullscreen mode 2016-11-22 23:18:45 +01:00
tibbi
9838cc1e2d replace some one function interfaces with anonymous functions 2016-11-22 23:12:15 +01:00
tibbi
119ecf2060 use android.app.AlertDialog for dialogs so they are styled properly 2016-11-22 20:52:14 +01:00
tibbi
a2bcfdbc7c update filepicker to 1.5.2 2016-11-22 20:52:01 +01:00
Tibor Kaputa
f7f211cddf fix showing selected items on Android 5 2016-11-22 10:49:42 +01:00
tibbi
1b587b3d10 allow null mime types 2016-11-21 18:23:09 +01:00
tibbi
746ccc2d96 enable caching of media thumbnails 2016-11-21 18:19:29 +01:00
tibbi
b5a1600dab simplify delete checking 2016-11-20 23:00:15 +01:00
tibbi
192d963986 make sure the proper items are marked at long click 2016-11-20 22:02:17 +01:00
tibbi
01bf9dcf74 add kotlin license 2016-11-20 19:01:17 +01:00
tibbi
adadf2efec adding "Right to Left Viewpager" License 2016-11-20 17:56:31 +01:00
tibbi
b725899d96 add the BigNerdRanch multiselector license 2016-11-20 17:49:36 +01:00
tibbi
f3fd84dab9 rely on selected state, not activated on long click 2016-11-20 17:33:04 +01:00
tibbi
ff9b61f95e pass Glide the activity instead of context 2016-11-20 13:49:13 +01:00
tibbi
732e703d88 do not lowercase deleted path urls + some safety checks 2016-11-19 22:59:44 +01:00
tibbi
7658651ebf remove an isphotovideo check 2016-11-19 22:12:27 +01:00
tibbi
dd47759014 allow deleting only photo and video files with the gallery 2016-11-19 22:06:02 +01:00
tibbi
93e37ec8e6 make obtaining photo and video asynchronous 2016-11-19 22:05:44 +01:00
tibbi
828b4f4256 handle swipe to refresh inline 2016-11-19 21:22:48 +01:00
tibbi
80a1d286e6 handle image clicks 2016-11-19 21:18:52 +01:00
tibbi
66ba8f735a add copy/move 2016-11-19 21:08:35 +01:00
tibbi
c58811a8ce update the getSelectedMedia function 2016-11-19 21:01:31 +01:00
tibbi
c93cfcc729 add file deletion 2016-11-19 20:27:29 +01:00
tibbi
3049e8f1e8 add Share functionality to images 2016-11-19 19:57:08 +01:00
tibbi
f1c5699fe6 add the Properties cab 2016-11-19 19:45:38 +01:00
tibbi
e635be89db allow selecting multiple media items 2016-11-19 19:38:05 +01:00
tibbi
0824c66784 change the media gridview to recyclerview 2016-11-19 19:20:50 +01:00
tibbi
c6a8ff4b2f cleaning up MediaActivity 2016-11-19 16:07:44 +01:00
tibbi
4d8b494c68 make sure we close the cursor 2016-11-19 15:36:36 +01:00
tibbi
f4db0c7898 remove Butterknife 2016-11-19 14:49:04 +01:00
tibbi
e14f002596 convert MediaActivity to kotlin, initial version 2016-11-19 14:46:07 +01:00
tibbi
4b5063a1b0 add a confirmation dialog before deleting from folders page and viewpager 2016-11-19 13:52:54 +01:00
Tibor Kaputa
7854f75f22 make fragment click listener nullable 2016-11-18 14:32:53 +01:00
tibbi
47d111c642 some code style edits 2016-11-17 19:47:54 +01:00
tibbi
accf45bc83 replace photoview license with Subsampling scale image view 2016-11-17 19:08:30 +01:00
tibbi
af970a459c refresh the folders list after copy too 2016-11-17 17:18:14 +01:00
tibbi
e5f9ea9627 fix Directory and media sorting 2016-11-17 17:05:43 +01:00
tibbi
fa4cadebb4 check if new file/dir names are valid 2016-11-17 16:23:49 +01:00
tibbi
83dc85e63b simplify sendsuccess at renaming dir 2016-11-17 16:11:11 +01:00
tibbi
06f7d8d29d do not try displaying empty files 2016-11-17 15:56:50 +01:00
tibbi
db04516773 use lowercase paths at deleting folders 2016-11-17 15:55:39 +01:00
tibbi
639c3d57c6 shortening a function 2016-11-17 15:20:04 +01:00
tibbi
f65b5013ab add delete handling 2016-11-17 15:02:59 +01:00
tibbi
18bad5106a properly store hidden folders 2016-11-17 14:14:19 +01:00
tibbi
8c57a00947 one minor style change 2016-11-17 14:00:58 +01:00
tibbi
c525a0ebc7 properly display the albums at album picker 2016-11-17 13:46:24 +01:00
tibbi
af246cdcf0 add dir copying/moving 2016-11-17 13:11:49 +01:00
tibbi
53aa8e86d7 remove fileproperties from mainactivity 2016-11-17 12:37:04 +01:00
tibbi
b759f71363 implement file properties dialog 2016-11-17 12:36:27 +01:00
tibbi
a842d4daf7 implement folder un/hiding 2016-11-17 12:02:04 +01:00
tibbi
4394e6074e display hide/unhide menu buttons when appropriate 2016-11-17 11:54:17 +01:00