Commit graph

804 commits

Author SHA1 Message Date
tibbi
44a71c032b rewrite the Directory adapter, prepare it for drag-selection 2017-05-13 17:39:07 +02:00
tibbi
27ddd1fb57 update version to 2.9.0 2017-04-26 23:10:21 +02:00
tibbi
7257fc7926 pass the context instead of whole activity on a couple places 2017-04-26 23:04:01 +02:00
tibbi
25d3eebb4f remove some redundant functions 2017-04-26 23:03:49 +02:00
tibbi
11a98d69fe prepare 2 images on both sides at the fullscreen view 2017-04-26 23:03:37 +02:00
tibbi
49c66427a2 allow hiding/unhiding files from the fullscreen view too 2017-04-26 21:59:17 +02:00
tibbi
2e8da56e2d add the file renaming functionality itself 2017-04-26 20:54:47 +02:00
tibbi
40c4a9aec1 add hide/unhide menu items to media activity cab 2017-04-26 20:23:04 +02:00
tibbi
0ee20b4604 show the "Temporarily show hidden" menu item only when hidden media arent shown 2017-04-26 20:09:08 +02:00
tibbi
2b95a7f529 add a "Temporarily show hidden" menu button to media view 2017-04-26 19:58:50 +02:00
tibbi
f137f3db06 show hidden files only when should 2017-04-26 19:54:47 +02:00
tibbi
27becd9247 replace the "Show hidden folders" option with "Show hidden media" 2017-04-26 19:50:19 +02:00
tibbi
a05ecbe861 try prefetching directories after install, before first app launch 2017-04-25 23:23:36 +02:00
tibbi
61ba26a636 do not make GlideRotateTransformation context a local variable 2017-04-24 23:11:35 +02:00
tibbi
9ef7491d58 show a toast message at saving edited image 2017-04-24 23:02:56 +02:00
tibbi
4786fc7c54 save the images on a background thread 2017-04-24 22:56:24 +02:00
tibbi
972916f6b2 update commons to 2.17.3 2017-04-24 22:47:47 +02:00
tibbi
f94c09a83c adding a couple more checks at saving edited file 2017-04-24 22:14:09 +02:00
tibbi
dfc99e68e4 do not delete the image if rotating fails, related to #234 2017-04-24 21:44:50 +02:00
tibbi
6810b3f68b fix #235, generate a different file uri for setting wallpaper if one fails 2017-04-24 20:27:47 +02:00
tibbi
6111b4be72 lets show CropImageView guidelines on touch 2017-04-19 22:30:22 +02:00
tibbi
82260ff42f update commons to 2.17.2 2017-04-19 20:47:56 +02:00
tibbi
2b12bf5d53 do not show the Pull to refresh spinning thing when loading cached images 2017-04-18 22:22:49 +02:00
tibbi
409ecbe4b5 use the copy/move functionality from the commons library 2017-04-18 19:31:22 +02:00
tibbi
3629f0ff55 refactor the copy/mvoe functionality a bit 2017-04-18 19:16:59 +02:00
tibbi
99666b0173 remove some redundant functions 2017-04-18 18:57:24 +02:00
tibbi
b629ea33fc update version to 2.8.5 2017-04-17 21:38:07 +02:00
tibbi
4959a11ca9 clear actMode of adapters on destroy 2017-04-17 21:33:23 +02:00
tibbi
5a954febf4 show the cached folders immediately as possible copy/move destinations at the dialog 2017-04-17 21:22:31 +02:00
tibbi
7fd1538009 reset scalremove scalable recyclerview zoom listener on pause 2017-04-17 20:53:34 +02:00
tibbi
cb9353c31a toggle fullscreen at clicking outside videos too 2017-04-17 20:31:59 +02:00
tibbi
d914f0bb53 add leak canary for detecting memory leaks at debug builds 2017-04-17 20:31:50 +02:00
tibbi
c4c19f82af fix #182, allow overwriting existing files after rotating on fullscreen view 2017-04-17 19:24:20 +02:00
tibbi
e41ae2554c implement the flipping functionality at the edit activity 2017-04-17 19:14:13 +02:00
tibbi
0cecfb4a6f use a signature at loading fullscreen images with glide 2017-04-17 19:01:04 +02:00
tibbi
c23f15749d add flip menu items to the viewpager and editor activities 2017-04-17 18:41:11 +02:00
tibbi
9c9e7bec2b fix #231, properly handle some more image pick intents 2017-04-17 18:12:24 +02:00
tibbi
8849db924e show the refreshing icon at opening the gallery 2017-04-17 17:59:05 +02:00
tibbi
a397006529 use rgb_555 decoding for jpgs 2017-04-15 11:28:47 +02:00
tibbi
9a7f8ed228 update the video seekbar color depending on the primary color 2017-04-14 14:10:41 +02:00
tibbi
fcd9f1a94c add Portrait wallpapers and Properties dialog changes in release notes 2017-04-13 23:01:44 +02:00
tibbi
7e95356310 remove the photofragment clear function 2017-04-13 22:56:14 +02:00
tibbi
4e9e491f13 check for null resultdata data at third party intents 2017-04-12 23:32:54 +02:00
tibbi
0598d0f34c make sure subsampling views background is transparent if the image fails to load 2017-04-12 21:55:10 +02:00
tibbi
671e10087a avoid intializing mediaplayer with invalid surface 2017-04-12 21:35:51 +02:00
tibbi
a93d4be112 fix a typo at photo fragment visibility check 2017-04-12 20:08:34 +02:00
tibbi
57a076d65c use the extension function for formatting video time 2017-04-12 19:40:31 +02:00
tibbi
37c40b8de7 minor style edits 2017-04-12 19:32:31 +02:00
tibbi
47a10afbb7 show the button for temporarily displaying hidden folders at third party intents 2017-04-12 18:39:05 +02:00
tibbi
2b4d712912 shorten some model variable names 2017-04-10 21:04:19 +02:00
tibbi
7cc41bb86e add a try catch block around creating nomedia files on Android 4 2017-04-10 20:46:42 +02:00
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