Commit graph

1195 commits

Author SHA1 Message Date
tibbi
c47ddc536d show a toast if the slideshow ended + implement moving backwards 2017-08-05 13:34:30 +02:00
tibbi
e3a5b9356e adding a new slideshow option, moving backwards 2017-08-05 12:33:57 +02:00
tibbi
86a5107cc6 adding some basic slideshow functionality 2017-08-05 12:27:48 +02:00
tibbi
1d04016c9b create the system for toggling the slideshow 2017-08-04 23:10:22 +02:00
tibbi
1dec1b7457 store values set at the slideshow setup dialog 2017-08-04 22:53:43 +02:00
tibbi
c06fe43a68 adding an initial slideshow setup dialog 2017-08-04 21:19:04 +02:00
tibbi
8ff6c8d1f7 adding a slideshow menu button 2017-08-04 20:36:29 +02:00
tibbi
3fe5aaa451 move the protection related things in the Commons library 2017-08-03 23:43:04 +02:00
tibbi
4bfe5953d0 added pattern/pin protection to release notes 2017-08-02 23:47:31 +02:00
tibbi
53948f8d90 properly color the Check icon at the pin tab 2017-08-02 23:25:11 +02:00
tibbi
f269c70e56 make fragment in photoVideoActivity nullable 2017-08-02 23:14:56 +02:00
tibbi
ae3555b1c5 add some array size checks at deleting from media/directory view 2017-08-02 23:12:48 +02:00
tibbi
6e1f56f864 do not allow swiping the protection viewpager when a password is set 2017-08-02 22:56:26 +02:00
tibbi
51f07c9fa6 store the protection type too, pattern/pin 2017-08-02 22:14:05 +02:00
tibbi
f0ace2f57d add the functionality to the PIN fragment 2017-08-02 00:00:32 +02:00
tibbi
805633dfb6 move the HashListener interface in a separate file 2017-08-01 23:34:28 +02:00
tibbi
2684fde107 show asterisks at inserting pin 2017-08-01 22:18:12 +02:00
tibbi
16a5637d71 add the numbers grid at the Pin tab 2017-08-01 21:53:59 +02:00
tibbi
67d6b0482e add asterisks at entering pin code 2017-07-31 22:44:55 +02:00
tibbi
b10306a9b9 use the primary color for selecting tablayout current item 2017-07-31 22:24:48 +02:00
tibbi
05da8af5e0 sync the viewpager with tablayout at the security dialog 2017-07-31 22:10:32 +02:00
tibbi
615c49407d rename PatternDialog to SecurityDialog 2017-07-31 22:00:22 +02:00
tibbi
9099aa176d remove some redundant variables 2017-07-30 23:13:02 +02:00
tibbi
02ee4dcc03 create a viewpager for switching between pattern/pin protection 2017-07-30 23:07:53 +02:00
tibbi
a55943f0f0 make the temporary hidden visibility toggling clearer 2017-07-29 22:08:12 +02:00
tibbi
5811f0dc56 adding the Pattern lock view license 2017-07-29 22:06:24 +02:00
tibbi
f789ecdf02 apply the pattern protection to temporarily showing hidden folders too 2017-07-29 21:56:45 +02:00
tibbi
2b518ec4f2 protect toggling Show hidden media with the pattern when appropriate 2017-07-29 21:48:55 +02:00
tibbi
f039afaca6 require the pattern for disabling password protection 2017-07-29 21:20:21 +02:00
tibbi
fff519b521 adding a pattern protection to the toggle button 2017-07-29 20:13:19 +02:00
tibbi
d9056ed057 add the password protection toggle button 2017-07-29 17:48:25 +02:00
tibbi
8e5cdf78cd updating release notes 2017-07-09 23:27:19 +02:00
tibbi
9ea9c77294 add a toggle for replacing Share with Rotate at fullscreen media 2017-07-09 20:34:14 +02:00
tibbi
dfb382adeb add an additional share menu button to fullscreen view 2017-07-09 20:17:57 +02:00
tibbi
5c88ce9fa8 update PhotoView to 2.1.2 2017-07-09 19:47:54 +02:00
tibbi
ce41e5b7b9 convert mMedia to a mutable list before providing to MyPagerAdapter 2017-07-09 13:58:08 +02:00
tibbi
3df76261e0 fix #302, add a toggle for disabling leak canary 2017-07-09 09:28:26 +02:00
tibbi
13980f9a8e make sure we populate the viewpager from the main thread 2017-07-02 09:07:34 +02:00
tibbi
2acbc1a02e add some activity checks at clearing Glide load 2017-07-02 08:52:31 +02:00
tibbi
8f628e33a4 replace top margin with padding at the destination directory picker 2017-07-01 11:46:40 +02:00
tibbi
61fb25332d add a menu button for disabling Temporarily show hidden 2017-07-01 10:04:47 +02:00
tibbi
5b5f81fda5 update Commons and Glide 2017-07-01 00:04:31 +02:00
tibbi
b6b3a8f4af reenable fullscreen image fast loading 2017-06-29 19:09:20 +02:00
tibbi
e7dd7185e2 updating release notes 2017-06-29 19:05:49 +02:00
tibbi
02c651581e disable fast loading of fullscreen images for a test build 2017-06-29 19:04:08 +02:00
tibbi
3ec99cd43b fix #263, add an indicator to directories located on sd cards 2017-06-28 23:56:07 +02:00
tibbi
7b8640a77a use the previous way of image rotating at sd card files and non jpgs 2017-06-28 22:58:52 +02:00
tibbi
d3d64865af couple changes related to toggling fullscreen 2017-06-28 21:56:36 +02:00
tibbi
bb81275b79 make mediaplayer at onStopTrackingTouch of video fragment nullable 2017-06-27 22:36:39 +02:00
tibbi
3c37407315 modify exif metadata at rotating image from fullscreen mode + autosave it 2017-06-27 22:35:21 +02:00
tibbi
3a4f05ba91 hide the video seekbar too if initial system ui hiding is enabled 2017-06-26 23:56:48 +02:00
tibbi
49df8130cf changing the current fragment retriever at viewpager activity 2017-06-26 23:30:32 +02:00
tibbi
66561179bd adding the automatic system ui hiding in the release notes 2017-06-26 23:26:51 +02:00
tibbi
f282c5b0af call notifyDataSetChanged on the viewpager adapter earlier 2017-06-26 23:24:44 +02:00
tibbi
a0b9dc7754 do not allow long pressing items if its a third party pick intent 2017-06-26 23:15:09 +02:00
tibbi
bbdf72b52e hide system ui at opening fullscreen media if set so 2017-06-26 23:03:10 +02:00
tibbi
c42be23acc add a toggle for hiding system ui at fullscreen media automatically 2017-06-26 22:52:00 +02:00
tibbi
19a2aa71bf make adapters nullable at resume too 2017-06-26 22:30:36 +02:00
tibbi
f14d34a3e4 make adapters at changing column counts nullable 2017-06-26 22:27:35 +02:00
tibbi
b8a4c2a1b0 adding horizontal scrolling to release notes 2017-06-24 23:15:55 +02:00
tibbi
52c636f176 recheck scroll direction on resume 2017-06-24 22:57:20 +02:00
tibbi
f2b1ef2c3b handle horizontal scrolling at copy/move destination picker too 2017-06-24 22:07:47 +02:00
tibbi
5604d1f8b5 adding support for horizontal scrolling 2017-06-24 21:42:53 +02:00
tibbi
71249d0a1e fill the viewpager at the viewpager activity only when its ready 2017-06-24 19:04:00 +02:00
tibbi
e87cc4a86d add an extra check at initializing video media player at menu visibility change 2017-06-24 18:56:38 +02:00
tibbi
09441f80c7 couple adapter changes 2017-06-20 22:41:27 +02:00
tibbi
e8168db2f7 use the MyScalableRecyclerView from the commons lib 2017-06-20 21:22:42 +02:00
tibbi
c6066bcdc4 remove the static variables from MyScalableRecyclerView 2017-06-20 21:02:58 +02:00
tibbi
aed1d64e43 make drag selection at recyclerview disabled by default 2017-06-20 20:51:30 +02:00
tibbi
54c56c559e make zooming disabled by default in the recyclerview 2017-06-19 23:41:57 +02:00
tibbi
12a0cb9f0a add a null check at photo fragment 2017-06-19 07:45:36 +02:00
tibbi
034f3b5c56 make sure mSurfaceView isnt null when initing media player 2017-06-19 07:44:10 +02:00
tibbi
a3876f67cd update the way of retrieving default column counts 2017-06-18 23:33:52 +02:00
tibbi
a2e9c53d8e update some counts of default columns 2017-06-18 23:18:50 +02:00
tibbi
1402de7a3d check thumbnail scrolling on resume 2017-06-18 23:13:06 +02:00
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
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
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
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