Commit graph

1149 commits

Author SHA1 Message Date
tibbi
d7eaaa070d show folder path at the list view 2017-09-29 21:57:24 +02:00
tibbi
9947d661a3 refresh the folders at changing view type 2017-09-29 21:47:27 +02:00
tibbi
da00ed8422 add a divider between folders 2017-09-29 21:31:12 +02:00
tibbi
c9e355eecf adding an initial implementation of directory_item_list 2017-09-28 23:17:53 +02:00
tibbi
2eabff531b hide the menu buttons for changing column count at list views 2017-09-28 21:55:33 +02:00
tibbi
5e733a44c3 use the directory grid view by default 2017-09-28 21:51:14 +02:00
tibbi
74d179f86d minor code style updates 2017-09-28 21:48:08 +02:00
tibbi
9c5c359e4d rename directory_item to directory_item_grid 2017-09-28 21:28:42 +02:00
tibbi
fc3565129d add the dialogs for changing the view type 2017-09-28 21:04:24 +02:00
tibbi
33a4b81279 replace lastModified mediaitem checking with latest media date taken 2017-09-27 23:58:30 +02:00
tibbi
373e06c98f ignore the root folders at fetching media 2017-09-27 23:10:14 +02:00
tibbi
dfdfd88941 fix #181, add fingerprint protection to hidden folder showing 2017-09-27 21:50:42 +02:00
tibbi
80f6df5e29 do not autosave rotated images, related to #372 2017-09-25 23:53:15 +02:00
tibbi
64f8d37544 fix #370, make sure only the proper items are shown in "All media" view 2017-09-25 23:26:26 +02:00
tibbi
d8811d66b8 move some media getting functions in Context extensions 2017-09-25 23:19:17 +02:00
tibbi
fcad1f6fa5 properly hide hidden folders 2017-09-25 23:01:02 +02:00
tibbi
c242f74f9b fix some glitches with incasesensitive paths at directories 2017-09-25 22:55:22 +02:00
tibbi
417c1169f8 just quickly resort directories at sorting change, when possible 2017-09-25 22:34:58 +02:00
tibbi
0da84f2958 change the way directories are grouped and sorted 2017-09-25 21:04:09 +02:00
tibbi
9d9866c1d2 use simple asynctask execute() at fetching directories 2017-09-25 20:42:47 +02:00
tibbi
7a653ec0c6 some code style update at the Directory and Medium classes 2017-09-24 22:51:03 +02:00
tibbi
aa16084192 use layoutPosition at directory and media adapters 2017-09-18 20:25:03 +02:00
tibbi
6ed100e204 do not use GlideDecoder at SubsamplingScaleImageView for now 2017-09-18 10:31:45 +02:00
tibbi
56a31e6ced fix #326, properly set bottom padding in landscape mode videos 2017-09-17 11:17:51 +02:00
tibbi
2fe1f91c87 moving a toast further 2017-09-17 11:07:14 +02:00
tibbi
ae6ea422ac change the way we get layout position in adapters 2017-09-17 10:50:23 +02:00
tibbi
ea74fcf2c4 disable swipe-to-refresh in horizontal scrolling 2017-09-16 22:13:15 +02:00
tibbi
9247b51194 lets not toast errors if loading fullscreen media fails 2017-09-16 20:37:18 +02:00
tibbi
f7e7d83382 do not force ARGB_8888 format at fullscreen media 2017-09-16 20:20:43 +02:00
tibbi
8f8dd04920 simplify the squareImageView creation 2017-09-15 23:22:33 +02:00
tibbi
6f3fd675e2 remove some empty spaces 2017-09-15 15:48:18 +02:00
tibbi
0af594ee0b use glide rotate transformation only when needed 2017-09-14 15:40:33 +02:00
tibbi
bc82d940b1 update commons to 2.27.11 2017-09-11 22:44:04 +02:00
tibbi
28ccfb6fe1 add a file.exists() check too 2017-09-11 21:34:23 +02:00
tibbi
624c0e2d08 check the filesize only after checking the file type 2017-09-11 21:34:15 +02:00
tibbi
ffcd632bad small code style update 2017-09-11 21:15:59 +02:00
tibbi
832d549fed remove the manual setting of max tilesize to 10000 2017-09-10 21:50:58 +02:00
tibbi
316566b09c clear media on destroy at third party intents 2017-09-10 19:59:37 +02:00
tibbi
5273ea431b show an error toast if something breaks during loading the image 2017-09-10 18:57:04 +02:00
tibbi
188e2f1254 catch exceptions thrown at ViewPagerActivity 2017-09-07 21:34:44 +02:00
tibbi
2c2ae9b6c4 tweak the functionality of Glide ImageDecoder 2017-09-06 11:12:52 +02:00
tibbi
51b4d9981f try removing temp folder at app start too, if available 2017-09-05 22:23:15 +02:00
tibbi
54a4d29233 show the temp folder at Copy/move dialog too 2017-09-05 22:18:46 +02:00
tibbi
189f9b7410 store the new folder path in shared prefs, so its more accessible 2017-09-05 21:58:22 +02:00
tibbi
551fc3a1c6 make sure the new directory is the first one 2017-09-05 21:43:21 +02:00
tibbi
2aab1ba5e5 add a menu button for easier new folder creating 2017-09-05 21:11:50 +02:00
tibbi
8ea418dad6 add an option to loop slideshows 2017-09-05 20:04:09 +02:00
tibbi
848c6c5667 show an error toast earlier if every media is filtered out at slideshow 2017-09-05 16:29:51 +02:00
tibbi
067798e5c2 use different toggles for photos and gifs at the slideshow setup 2017-09-05 16:06:42 +02:00
tibbi
ac1c84d279 do not clear mMedia after third party intents 2017-09-05 15:45:35 +02:00
tibbi
1397c2d48b update the way we are selecting media at share 2017-09-05 15:39:11 +02:00
tibbi
a663b89665 do not trigger the brightness and volume slider so agressively 2017-09-05 15:14:44 +02:00
tibbi
a1cda024c7 slow down the swipe speed during slideshow 2017-09-05 14:35:30 +02:00
tibbi
f4d9ab0ff5 use the GlideDecoder at SubsamplingScaleImageView 2017-09-05 10:20:15 +02:00
tibbi
467f603ba1 rename rotation to orientation at exif changes 2017-09-05 09:53:51 +02:00
tibbi
b1c1d131d9 properly allow excluding or including the root folder 2017-09-04 21:52:48 +02:00
tibbi
619647b16a update commons to 2.27.8 2017-09-04 20:08:07 +02:00
tibbi
d0d65b2a42 remove some invoke calls 2017-09-02 19:53:18 +02:00
tibbi
f6c8dbd444 creating GlideDecoder, to be used with subsamplingscaleimageview 2017-09-01 21:28:36 +02:00
tibbi
9656fc92f5 updating the release notes 2017-09-01 15:26:18 +02:00
tibbi
bfad77b597 minor code style updates 2017-09-01 15:17:11 +02:00
tibbi
2a76929312 properly delete empty folders from SD card too 2017-09-01 12:21:31 +02:00
tibbi
01495680cb fix #333, add a switch for disabling video gestures 2017-09-01 11:51:11 +02:00
tibbi
9fe361ea62 fix #341, add a switch for not deleting empty folders 2017-09-01 11:37:56 +02:00
tibbi
bc281dd102 properly show third party image, even if its not in mediastore 2017-09-01 11:14:00 +02:00
tibbi
c04f887229 temporarily show excluded folders if needed, for example at third party intents 2017-09-01 10:33:51 +02:00
tibbi
b455721b17 some code style updates 2017-08-31 16:22:19 +02:00
tibbi
c7307ce523 add the slash after included/excluded folders at init 2017-08-31 14:37:13 +02:00
tibbi
6b61883214 add the slash after nomedia folders right at fetching 2017-08-31 14:28:15 +02:00
tibbi
416f459bc5 improve the checks if the file is a gif 2017-08-31 12:21:14 +02:00
tibbi
fe09961c61 simplify the uri getter at sharing media 2017-08-31 09:35:18 +02:00
tibbi
7271ac59b9 adding a crashfix 2017-08-29 23:25:44 +02:00
tibbi
8e3b26fa2a updating Whats new 2017-08-29 00:00:22 +02:00
tibbi
21a2e2a6b1 add placeholders when no media is shown because of filters 2017-08-28 23:57:48 +02:00
tibbi
ab35c970b9 show the swipeRefreshLayout spinner at loading images after filtering change 2017-08-28 23:12:07 +02:00
tibbi
c48fef5bb8 show a dialog mentioning app reinstall in case the password is forgotten 2017-08-28 22:54:27 +02:00
tibbi
e33206b084 make sure we always show manually included folders, even if somehow hidden 2017-08-28 20:56:02 +02:00
tibbi
60ed21702f fix #335, properly show hidden files if open through a file manager 2017-08-28 20:43:39 +02:00
tibbi
7046fc9ed4 fix #328, properly handle GIF filtering 2017-08-28 14:16:30 +02:00
tibbi
d954dc0d5a adding the Filter Media dialog 2017-08-28 14:11:34 +02:00
tibbi
272d45b3f4 move the Media filtering from Settings to an actionmenu item 2017-08-28 13:33:46 +02:00
Guido Arnau
566e4ea2b3 Fixes Crash on Android API 16 (Jelly Bean)
Check that the version is greater than API 16 when calling
Activity.isDestroyed()
2017-08-27 21:22:26 +01:00
tibbi
32b6a87440 show included folders content only when appropriate 2017-08-11 13:39:35 +02:00
tibbi
bd03e4a176 fix #319, show a folder if its both excluded and included 2017-08-11 13:25:56 +02:00
tibbi
9398c9be76 fix up folder Inclusion, check if its not empty 2017-08-11 11:48:22 +02:00
tibbi
48251a04c0 add volume and brightness change in release notes 2017-08-07 23:41:32 +02:00
tibbi
b0562e7ed1 allow controlling the brightness with sliding too 2017-08-07 21:56:25 +02:00
tibbi
c857c17f50 improve the volume slider ux 2017-08-06 22:35:19 +02:00
tibbi
8aaf1df568 show the current volume if changed via sliding 2017-08-06 20:36:15 +02:00
tibbi
622ebde68f tweak the volume setter a bit 2017-08-06 19:39:11 +02:00
tibbi
af84b8e9e3 allow changing the volume by finger dragging on the right side of the video 2017-08-06 18:35:28 +02:00
tibbi
dc42dd566f show hidden items in viewpager only if the selected item is hidden 2017-08-06 16:54:58 +02:00
tibbi
15c20ab758 add a volume slider at the video fragments right side 2017-08-06 16:44:00 +02:00
tibbi
1074043c93 update commons to 2.25.1 for proper alphanumeric sorting 2017-08-06 14:08:17 +02:00
tibbi
a493595207 compare directory paths incasesensitively on the first screen 2017-08-06 13:38:54 +02:00
tibbi
7fa71c5302 add null checks at toggleItemSelection of adapters 2017-08-06 12:21:31 +02:00
tibbi
6ed4c15f9e added slideshow to release notes 2017-08-05 18:22:15 +02:00
tibbi
9ee1273995 fix #171, change multiselector to use colored circle Check icons 2017-08-05 17:02:18 +02:00
tibbi
15159de4e9 add colored background to the currently selected directory thumbnail 2017-08-05 16:55:12 +02:00
tibbi
fa775e35e3 replace the selected directory foreground marker with a temporary check icon 2017-08-05 16:34:49 +02:00
tibbi
5b3fa44432 add a new slideshow setup toggle for including photos 2017-08-05 16:12:19 +02:00
tibbi
3f1cfab633 properly handle launching videos in slideshows 2017-08-05 15:53:02 +02:00
tibbi
74e6c69473 filter out videos, or shuffle the media at slideshow when appropriate 2017-08-05 14:52:42 +02:00
tibbi
3757616a47 hide the keyboard at togglig a slideshow setup checkbox 2017-08-05 14:05:51 +02:00
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