Commit graph

185 commits

Author SHA1 Message Date
tibbi
96010b4c8e call scanPath and scanFile on contexts only to avoid leaks 2018-01-23 18:40:29 +01:00
tibbi
8a31ad1b1c store the medium type in it, to improve performance 2018-01-16 16:58:58 +01:00
tibbi
c07aeab3cb remove some redundant strings 2018-01-09 23:30:23 +01:00
tibbi
1204eea382 nope, do not use Glide for loading non-animating gifs 2018-01-04 18:40:44 +01:00
tibbi
129858119d use Glide for loading non-animating gifs 2018-01-04 18:05:37 +01:00
tibbi
cd03b455dc sort the hidden folders by .nomedia last modified + fix threading 2017-12-29 18:17:33 +01:00
tibbi
4240849151 add an activity for displaying hidden folders 2017-12-29 16:46:13 +01:00
Nikola Trubitsyn
0ebbad7fff
Resources.getActionBarHeight() fix return style
Uses the same return style as in the other functions
2017-12-26 01:07:01 +03:00
tibbi
2e13d381a1 use PhotoView at fullscreen media to allow zooming gifs and raws 2017-12-06 18:44:56 +01:00
tibbi
539d6ee16d rename extension files to start with capital letters, no functionality change 2017-12-03 21:56:11 +01:00
tibbi
2da5af065b fix #454, share multiple items properly, as images 2017-11-30 23:51:56 +01:00
tibbi
12e3f61574 catch outofmemory errors at gif loading 2017-11-16 14:56:14 +01:00
tibbi
ee883d3acc update MyScalableRecyclerView to the new MyRecyclerView 2017-11-16 14:03:18 +01:00
tibbi
0bb48601f4 remove some empty callbacks to avoid memory leaks 2017-11-09 14:50:05 +01:00
tibbi
932fc628a3 use applicationContext at launching settings 2017-11-06 23:59:09 +01:00
tibbi
1e69561e84 use applicationContext at getting a Config instance 2017-11-06 23:54:31 +01:00
tibbi
2ada4af2bf catch exceptions thrown by GifDrawable, load them as simple jpgs 2017-11-02 16:23:20 +01:00
tibbi
9d8dd61dfa style update + wrap gifDrawables in try/catch 2017-11-02 09:43:49 +01:00
tibbi
4c80ba98fb move a couple more intent handling to the Commons library 2017-10-29 19:08:45 +01:00
tibbi
437390cfa3 create a shareUris extension for sharing multiple media 2017-10-29 18:37:38 +01:00
tibbi
02dfcd63c0 reuse shareUri at shareMedium 2017-10-29 18:35:08 +01:00
tibbi
73856e6769 reuse the OpenFile intent handling from Commons 2017-10-29 18:28:28 +01:00
tibbi
de1c418f78 catch exceptions thrown at getting mimetype from uri 2017-10-29 10:29:57 +01:00
tibbi
1dad41fdf7 show an error if the user tries sharing too much data 2017-10-28 19:56:33 +02:00
tibbi
977edc1f34 some cleanup around thumbnail loading 2017-10-28 14:11:01 +02:00
tibbi
4fedc05571 use GifDrawables at thumbnails too 2017-10-28 13:27:50 +02:00
tibbi
286955ab83 replace PhotoView with GifDrawable
it will replace zoomable gifs with smooth gifs
2017-10-28 11:02:02 +02:00
tibbi
84263a3b10 never force chooser at Edit intent 2017-10-27 14:08:50 +02:00
tibbi
c9f6668fc1 force an app chooser at some openFile intents 2017-10-27 14:08:33 +02:00
tibbi
c520c8c557 send real filepath as an extra with View intent 2017-10-27 10:54:49 +02:00
tibbi
98bee4022e replace sending real_file_path with extra_output at the editor 2017-10-27 10:34:16 +02:00
tibbi
f0af8777a3 send the real file path with edit intent 2017-10-27 10:07:58 +02:00
tibbi
fa2a237593 update target SDK to 26 and handle fileprovider 2017-10-26 23:43:13 +02:00
tibbi
3e7d67a3a2 update commons, use our custom map for determining file mimetype 2017-10-24 22:57:04 +02:00
tibbi
06b3c728ce no need to update last modified manually afer renaming on internal storage 2017-10-23 23:52:37 +02:00
tibbi
208d005139 update commons to 2.31.1 2017-10-23 12:09:55 +02:00
tibbi
608292a357 update Commons and use its way of getting mimetype of multiple uris 2017-10-22 22:57:53 +02:00
tibbi
1d56b2ac8b show a more specific error message when creating .nomedia file fails 2017-10-19 19:18:36 +02:00
tibbi
2dbbc2bbdb add an extra check at creating .nomedia file on the SD card 2017-10-19 19:13:12 +02:00
tibbi
021a1cbf74 rewrite the mediapicker dialog, make it work like picking directories 2017-10-19 17:24:14 +02:00
tibbi
6e6af530bf do not clear mMedia if the intent came from the gallery itself 2017-09-30 23:39:04 +02:00
tibbi
0ef9ff06bf refresh directories instantly after un/pinning 2017-09-30 22:33:58 +02:00
tibbi
7cc1a9ce17 move the media fetching related functions in a separate class 2017-09-30 22:06:32 +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
d8811d66b8 move some media getting functions in Context extensions 2017-09-25 23:19:17 +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
56a31e6ced fix #326, properly set bottom padding in landscape mode videos 2017-09-17 11:17:51 +02:00
tibbi
28ccfb6fe1 add a file.exists() check too 2017-09-11 21:34:23 +02:00