Commit graph

962 commits

Author SHA1 Message Date
tibbi
0ef9ff06bf refresh directories instantly after un/pinning 2017-09-30 22:33:58 +02:00
tibbi
5c7dfb87be stop media fetching on the calling activity pause 2017-09-30 22:23:28 +02:00
tibbi
7cc1a9ce17 move the media fetching related functions in a separate class 2017-09-30 22:06:32 +02:00
tibbi
1390d9541c try caching 100 items per folder, up from 40 2017-09-30 21:05:20 +02:00
tibbi
e67253ccae clear selection at folders and media, if content changes 2017-09-30 21:04:21 +02:00
tibbi
50a693d5e6 do not trigger click event at swiping at videos 2017-09-30 20:49:08 +02:00
tibbi
3d674c65ba properly update text color at list view, if it changes 2017-09-30 20:32:58 +02:00
tibbi
73bcad0f68 try using adapterPosition instead of layoutPosition in recyclerView adapters 2017-09-30 20:24:18 +02:00
tibbi
99da56deec use a different video icon at list view, without fill 2017-09-29 23:54:23 +02:00
tibbi
1cd68fe9a0 color icons and texts in list views appropriately 2017-09-29 23:46:09 +02:00
tibbi
d89ebec57a remove a redundant function 2017-09-29 23:28:55 +02:00
tibbi
c8c09e0911 add the list view type handling in media activity 2017-09-29 23:22:52 +02:00
tibbi
216e51beff rename photo_video_item to photo_video_item_grid 2017-09-29 22:52:30 +02:00
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