Commit graph

758 commits

Author SHA1 Message Date
tibbi
4a4a054314 optimize getting the last files modified timestamp 2017-05-25 23:37:16 +02:00
tibbi
448fa72017 check last media change at media too, but in a background thread 2017-05-25 22:16:23 +02:00
tibbi
2cc9d1051c recheck every 3 seconds if some media changed at folders view 2017-05-25 22:04:19 +02:00
tibbi
ddb6310937 add a function for updating directory adapter 2017-05-25 21:23:59 +02:00
tibbi
faf1e19a87 split the media getter into 2 functions 2017-05-24 23:02:33 +02:00
tibbi
e1b461e2f1 small edits at videoplayer setup 2017-05-24 22:49:01 +02:00
tibbi
128f90d50b fix #250, zoom in to fit the screen on doubleclick 2017-05-24 22:42:30 +02:00
tibbi
4174769235 get real display size at viewpager, including status bar height 2017-05-24 22:27:34 +02:00
tibbi
8d3125ca17 make sure to exclude .nomedia folders at "Show all folders content" 2017-05-24 21:20:38 +02:00
tibbi
9272fbc3a3 make some variables in ChangeSortingDialog private 2017-05-24 21:17:23 +02:00
tibbi
234b2ed933 do not show hidden or excluded folders at "Show all folders content" view 2017-05-24 20:37:56 +02:00
tibbi
19ea96814e do not rescan the folder after removing nomedia 2017-05-21 20:39:01 +02:00
tibbi
f5eb3c931e hide folders whose parent contains .nomedia when appropriate 2017-05-21 20:16:45 +02:00
tibbi
9942f94fc3 hide folders that should be hidden 2017-05-21 19:16:29 +02:00
tibbi
61e4127053 remove some redundant functions 2017-05-21 12:58:13 +02:00
tibbi
d4a8560d2c add some more conditions to folder visibility checking 2017-05-21 12:58:07 +02:00
tibbi
387c063376 show .nomedia folders if appropriate 2017-05-21 12:55:33 +02:00
tibbi
b564da6b91 catch exceptions thrown during media obtaining 2017-05-21 09:17:52 +02:00
tibbi
53c8ea1531 use dark background if selected so at photovideoactivity too 2017-05-20 23:19:51 +02:00
tibbi
558dba3408 properly redraw the thumbnails at renaming an item 2017-05-20 23:01:07 +02:00
tibbi
7302898826 display filenames at thumbnails if selected so 2017-05-20 22:38:40 +02:00
tibbi
c735b13907 reuse the media getting context extension at filling folders 2017-05-20 21:49:00 +02:00
tibbi
4c7efca86d move the media getter in a context extension 2017-05-20 21:33:21 +02:00
tibbi
946f143409 remove the stoping feature of media getter asynctask 2017-05-20 21:25:48 +02:00
tibbi
06fe8a669a sort the media already at fetching from mediastore, to save time 2017-05-20 21:19:55 +02:00
tibbi
2a7baf14d2 some edits to getMediaAsyncTask 2017-05-20 21:06:42 +02:00
tibbi
c0bb740c87 load 1 image per side initially at viewpager for faster loading 2017-05-20 19:27:54 +02:00
tibbi
3a98da85fe optimize getting media with Show All 2017-05-20 16:49:01 +02:00
tibbi
987f333c5c if a filename is empty, try getting it from the path 2017-05-20 12:59:20 +02:00
tibbi
cc814d8d45 go back to the mediastore way of fetching media 2017-05-20 09:34:59 +02:00
tibbi
b2f9bbdf2c remove the cursor extensions 2017-05-20 08:56:28 +02:00
tibbi
277ded39ab wrap the wallpaper setter in a try-catch block 2017-05-19 21:20:14 +02:00
tibbi
25b31eb5a7 adding a null check at deleting files 2017-05-19 20:57:58 +02:00
tibbi
8603661873 add a null check at setting video size 2017-05-19 20:51:30 +02:00
tibbi
9e788d9453 add some null checks to deselecting items 2017-05-19 20:30:35 +02:00
tibbi
8f528bd49c update version to 2.9.1 2017-05-14 20:51:58 +02:00
tibbi
55f6f934ff add some null checks to checking if primary color changed 2017-05-14 20:43:03 +02:00
tibbi
87b722bac3 properly update some stuff if the primary color changes 2017-05-14 20:32:01 +02:00
tibbi
1c96f5ced7 refresh the directories after copy too 2017-05-14 20:10:35 +02:00
tibbi
b6bbc8abd7 properly update the items after delete 2017-05-14 19:43:51 +02:00
tibbi
311d28242f set image select state only after its already init 2017-05-14 17:29:02 +02:00
tibbi
ae6b53d464 properly select the files to delete 2017-05-14 17:15:05 +02:00
tibbi
74da4b454b remove the static variables from the MediaAdapter 2017-05-14 17:09:25 +02:00
tibbi
ab9c70d8d6 remove the Static fields of DirectoryAdapter 2017-05-14 15:12:57 +02:00
tibbi
883e6ce511 reset autoscroll related things on action_up 2017-05-14 15:09:16 +02:00
tibbi
2ba7ffeb63 remove a redundant code block 2017-05-14 12:56:20 +02:00
tibbi
f76951a070 fix deleting items from thumbnails view 2017-05-14 12:11:38 +02:00
tibbi
9e4d53684a add a null check to surfaceholder 2017-05-14 12:05:57 +02:00
tibbi
dccca19844 use a black background at fullscreen media if selected so 2017-05-14 12:01:16 +02:00
tibbi
a780d36a6e add a setting for always using dark background at fullscreen media 2017-05-14 11:50:30 +02:00
tibbi
7aa7b6e2da add drag selection to media thumbnails screen 2017-05-14 10:40:35 +02:00
tibbi
ebc61660d4 refactor the MediaAdapter a bit 2017-05-13 23:28:45 +02:00
tibbi
ffe7742334 use an interface for selecting items with drag selection 2017-05-13 23:03:27 +02:00
tibbi
c174b7d395 add Drag selection to directories 2017-05-13 21:10:13 +02:00
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