Commit graph

820 commits

Author SHA1 Message Date
tibbi
6dd4be62d8 avoid refetching media at changing some settings 2017-06-18 22:21:54 +02:00
tibbi
048acd9b03 properly refresh thumbnails at changing column count 2017-06-18 22:15:16 +02:00
tibbi
435a7693e5 send the scroll orientation to thumbnails 2017-06-18 21:44:53 +02:00
tibbi
5319a184f3 small cleanup at thumbnail adapters 2017-06-18 21:40:00 +02:00
tibbi
2734fe9615 add a toggle for scrolling thumbnails horizontally 2017-06-18 21:16:40 +02:00
tibbi
5be34f27ee set thumbnail holder properties based on the scroll orientation 2017-06-18 21:12:50 +02:00
tibbi
88de8a4d2a set scrolling orientation based on the user setting 2017-06-18 20:52:21 +02:00
tibbi
f740150d49 set MySquareImageView size depending on the thumbnail scrolling orientation 2017-06-18 20:36:37 +02:00
tibbi
561c81dd42 finish the editor activity only if another editor has been picked 2017-06-18 20:05:47 +02:00
tibbi
1d04e60dff allow opening the image with a different editor from our editor 2017-06-18 19:56:45 +02:00
tibbi
47ec461139 release the mediaplayer if something goes wrong at init 2017-06-18 19:08:53 +02:00
tibbi
99f14bfee1 try reinitializing the mediaplayer when it becomes the selected fragment 2017-06-18 19:06:14 +02:00
tibbi
77b7608636 remove the unused displayAspectRatio variable 2017-06-18 18:19:03 +02:00
tibbi
5f4a926faa calculate double click scaling factor differently 2017-06-18 16:01:45 +02:00
tibbi
6ed5a00315 change "Set as wallpaper" to "Set as" 2017-06-16 23:30:04 +02:00
tibbi
0fcac3deff store column count separate for portrait and landscape 2017-06-15 22:57:58 +02:00
tibbi
68c6186fa7 dont do anything if an action menu is clicked at photoVideoActivity without media 2017-06-15 22:33:11 +02:00
tibbi
7772577883 do not cache animated gif thumbnails 2017-06-15 22:09:23 +02:00
tibbi
29de80ff79 adding an extra size check at directory adapter 2017-06-15 21:53:23 +02:00
tibbi
b0be8c0481 add an aditional check at determining if Edit menu button will be shown 2017-06-15 21:46:31 +02:00
tibbi
9452d96e75 catch FileNotFoundException at returning GetImageContent intent result 2017-06-15 21:39:19 +02:00
tibbi
5d2528b415 check for null mediaplayer at dragging video progress 2017-06-15 21:35:08 +02:00
tibbi
e7406110a1 send a notifyDataSetChanged to the viewpager adapter at fullscreen media 2017-06-15 21:27:43 +02:00
tibbi
4e8ec2acee do not stop temporarily showing hidden folders when leaving thumbnails view 2017-06-07 20:06:23 +02:00
Tibor Kaputa
e15d6d8507 properly open manually included folders 2017-06-07 16:07:01 +02:00
Tibor Kaputa
06530e78b8 recheck media 1 second after refreshing too 2017-06-07 09:27:45 +02:00
tibbi
22ccf1d297 add custom folder covers in release notes 2017-06-06 23:40:16 +02:00
tibbi
13620df112 properly include files from manually Included folders 2017-06-06 23:26:48 +02:00
tibbi
0f135c845b use local variables at fetching media 2017-06-06 22:47:16 +02:00
tibbi
53261310a2 properly reuse thumbnails media list at fullscreen view 2017-06-06 22:30:55 +02:00
tibbi
6dc1323252 correcting a check at getting current medium at viewpager 2017-06-06 22:26:35 +02:00
tibbi
e98de74ae4 fix #115, allow setting a custom image as 2017-06-06 21:24:06 +02:00
tibbi
add3320c4a allow setting up custom album covers 2017-06-06 21:16:19 +02:00
tibbi
866b8b77b4 rename PickAlbumDialog to PickDirectoryDialog 2017-06-06 20:25:31 +02:00
tibbi
e05ef4a9f2 add the menu buttons for changing album cover 2017-06-06 20:00:45 +02:00
tibbi
3001ea4a23 adding a crashfix at updating actionbar title 2017-06-03 08:37:52 +02:00
tibbi
d480aab063 catch out of memory errors at setting wallpaper 2017-06-02 22:41:01 +02:00
tibbi
ea42c4f1aa catch exceptions at fetching media 2017-06-02 22:17:30 +02:00
tibbi
5a4b6065fb fix #270, temporarily show hidden files when opening a third party intent 2017-06-02 21:57:31 +02:00
tibbi
5beadedfe2 small tweak to viewpager cursor 2017-05-31 23:39:13 +02:00
tibbi
6248f0db76 reuse the same list of media at thumbnails and fullscreen view 2017-05-31 23:36:43 +02:00
tibbi
d2713635d5 add an additional null check at surfaceholder of video fragment 2017-05-31 23:20:34 +02:00
tibbi
f4ddc12911 add another check at getting current media of viewpager 2017-05-31 23:04:56 +02:00
tibbi
0e38255961 fix a different type of contact photo picking too 2017-05-31 22:06:54 +02:00
tibbi
7358bb7cce handle Crop intent for setting contact photo etc 2017-05-31 20:36:20 +02:00
tibbi
d7740ae7b8 fix the condition checking if Editor was opened via a Crop intent 2017-05-29 21:39:56 +02:00
tibbi
5758b2eee1 reuse the list of media files of thumbnail view at the fullscreen view 2017-05-29 21:21:47 +02:00
tibbi
28a2f59514 use a different function for getting screen size on kitkat 2017-05-29 21:00:23 +02:00
tibbi
ee44432665 request an overwrite confirmation when replacing the original image with edited 2017-05-29 20:06:56 +02:00
tibbi
124cf8960d add a couple null checks at multiselectors 2017-05-28 23:37:12 +02:00
tibbi
a04d2d80b6 move cursor closing in the function using it 2017-05-28 23:17:06 +02:00
tibbi
18b714f9c3 do not continue at setting up the video if theres an error 2017-05-28 23:11:28 +02:00
tibbi
e3f0d7ea56 do not cache media while temporarily showing hidden is enabled 2017-05-28 23:09:00 +02:00
tibbi
1b53acd096 disable temporarily showing hidden folders only on destroy 2017-05-28 23:02:40 +02:00
tibbi
fa5a5651ad remove a file validity check at deleting from thumbnails view 2017-05-26 15:41:24 +02:00
tibbi
9b83fb2424 hide Resize option and fix aspect ratio at editor if its a crop intent 2017-05-26 10:23:19 +02:00
tibbi
9d7834f294 add an aditional null check at videofragments 2017-05-26 09:38:35 +02:00
tibbi
64fa74f6cd remove some explicit thread creations for toasts 2017-05-26 09:30:14 +02:00
tibbi
2c73864d74 catch exceptions at creating nomedia files on sd cards 2017-05-26 09:29:02 +02:00
tibbi
e53d6a5c20 do not try closing the media fetching cursor twice 2017-05-26 09:26:20 +02:00
tibbi
8e5f72f59b hide hidden folders only when appropriate 2017-05-26 09:10:40 +02:00
tibbi
39f4bd9684 add an extra check to prevent rechecking media when the app is in background 2017-05-25 23:41:25 +02:00
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