Commit graph

1297 commits

Author SHA1 Message Date
tibbi
c930ed5cda store latestMediaId only when not from cache, should improve new media discovery 2018-01-09 00:19:11 +01:00
tibbi
fa28098500 do not set a default value used at redrawing media 2018-01-08 21:50:24 +01:00
tibbi
19a81d2566 reduce instant load duration to 2 seconds 2018-01-08 21:17:27 +01:00
tibbi
cabf495b38 fix thumbnail displaying 2018-01-08 20:48:52 +01:00
tibbi
0fa4cb5844 adding a null check at closing search 2018-01-08 13:25:01 +01:00
tibbi
78148990f0 replace some media adapter magic numbers with constants 2018-01-08 12:15:57 +01:00
tibbi
a96863c590 moving some menu related functions up 2018-01-07 23:24:21 +01:00
tibbi
d8e77da395 disable fullscreen media one-finger zoom to make double-click easier 2018-01-07 18:39:09 +01:00
tibbi
38ca5b84d7 add basic search to media view, related to #48 2018-01-07 17:48:25 +01:00
tibbi
4b2d41ec75 fix #555, check if file exists at viewpager activity 2018-01-07 16:57:04 +01:00
tibbi
3c06dfd431 fix #557, apply the password protection to Manage Hidden Folders 2018-01-07 16:40:20 +01:00
tibbi
b351de406b replace Delete with Remove at Manage excluded/included folders 2018-01-06 19:43:45 +01:00
tibbi
616d4098fc skip the thumbnail load delay in some cases 2018-01-06 19:02:42 +01:00
tibbi
4123f67ad3 rewrite scrolling to improve performance 2018-01-06 16:10:13 +01:00
tibbi
ad1a787a15 move the "Use english" button further in settings 2018-01-06 13:20:30 +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
247f057166 do not delete empty folders by default 2018-01-03 12:48:15 +01:00
tibbi
1b496b5632 move mediaplayer releasing back on main thread 2017-12-30 09:00:36 +01:00
tibbi
88d8f39118 handle whole bitmap saving in edit activity on a background thread 2017-12-29 22:20:10 +01:00
tibbi
f63a8eebac release video mediaplayer on a background thread 2017-12-29 22:17:09 +01:00
tibbi
46a143e4ac couple slideshow improvements 2017-12-29 22:07:47 +01:00
tibbi
422b1fb690 use the default zoom level if the image matches the screen 2017-12-29 21:42:25 +01:00
tibbi
30374930bd properly handle zooming at images rotated by exif 2017-12-29 21:35:13 +01:00
tibbi
bc848e077c improve some doubletap zoom ratios 2017-12-29 21:09:12 +01:00
tibbi
cd03b455dc sort the hidden folders by .nomedia last modified + fix threading 2017-12-29 18:17:33 +01:00
tibbi
865db7099f implement the hidden folder adapter for adding/removing items 2017-12-29 18:11:23 +01:00
tibbi
4240849151 add an activity for displaying hidden folders 2017-12-29 16:46:13 +01:00
tibbi
27e14b8fac show the Lock Orientation menu item only when the image isnt rotated 2017-12-29 15:47:58 +01:00
tibbi
d353f02a51 recycle the subsampling imageview on destroy 2017-12-29 15:46:15 +01:00
tibbi
da80d24606 do not check every file existence at fetching, just once a week do a cleanup 2017-12-29 15:28:33 +01:00
tibbi
4733bf95f9 use list() instead of listFiles() in some places 2017-12-27 10:10:14 +01:00
Tibor Kaputa
22abab9473
Merge pull request #524 from trubitsyn/patch-1
Camel case fix: tryloadGallery -> tryLoadGallery
2017-12-25 23:10:19 +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
Nikola Trubitsyn
0bff18bb2c
Camel case fix: tryloadGallery -> tryLoadGallery 2017-12-26 00:42:37 +03:00
tibbi
16f913a026 handle storage permission at EditActivity 2017-12-25 12:08:36 +01:00
tibbi
6c7e406dad try removing temp folder only if the path isnt empty 2017-12-24 14:08:04 +01:00
tibbi
597e62b7a1 tweaking some uri permissions 2017-12-22 15:31:13 +01:00
tibbi
cdd9dcbae7 improve third party image picker intent handling 2017-12-22 13:09:34 +01:00
tibbi
3f88bb8e21 scan the included folder after adding on a background thread 2017-12-20 19:24:17 +01:00
tibbi
af586a209f create a copy of the mediafiles in the viewpager activity 2017-12-19 17:14:08 +01:00
tibbi
f96360a497 remove some seemingly redundant code at checking file paths individually 2017-12-19 12:27:05 +01:00
tibbi
3f72652ed8 avoid running 2 media fetching asynctasks 2017-12-19 12:20:03 +01:00
tibbi
8b9810bab9 use black status bar at fullscreen media when set so 2017-12-19 10:55:01 +01:00
tibbi
57e1678f1a fix #82, properly display MMS images 2017-12-18 23:46:42 +01:00
tibbi
4a91960875 flip the exif fetching functions, use the deprecated one first 2017-12-18 22:33:51 +01:00
tibbi
1c433b1ebf make sure we call getLatestMediaId from a background thread 2017-12-17 20:53:17 +01:00
tibbi
0ae0d8df12 also check file existence at Included folders, if size returns 0 2017-12-17 13:03:32 +01:00
tibbi
47046d3d11 properly fetch gif files 2017-12-17 12:27:11 +01:00
tibbi
bd0f540460 fix video autoplay in slideshows 2017-12-17 11:58:14 +01:00
tibbi
8843a4a006 handle onPageSelected called twice on every page change 2017-12-17 11:46:41 +01:00
tibbi
9751daa8af catch exceptions thrown at fetching image orientation 2017-12-17 10:53:55 +01:00
tibbi
ae7d3e3f18 use the helper function for checking if only one item is selected 2017-12-13 19:47:58 +01:00
tibbi
527edf3914 show proper bubble text at sorting by path 2017-12-06 21:59:56 +01:00
tibbi
eece8130cf update fastscroller bubble colors on resume 2017-12-06 21:50:08 +01:00
tibbi
e69703bd07 call layoutInflater on the activity directly 2017-12-06 19:05:47 +01:00
tibbi
2e13d381a1 use PhotoView at fullscreen media to allow zooming gifs and raws 2017-12-06 18:44:56 +01:00
tibbi
5e9ac3aaaa fix #448, update Commons to include Raw support 2017-12-06 17:08:57 +01:00
tibbi
bb2659d018 reference the SupportActionBar title at updating it 2017-12-06 16:44:54 +01:00
tibbi
0285b97a17 showd fastscroller bubble at horizontal scrolling tii 2017-12-06 16:42:06 +01:00
tibbi
fbcee2c7a0 couple code style updates 2017-12-06 16:10:21 +01:00
tibbi
04f1bbaffe add a toggle for showing info bubble at fastscroller 2017-12-06 14:42:17 +01:00
tibbi
da2db79913 show an info bubble at fastscroller dragging 2017-12-05 23:45:09 +01:00
tibbi
2341d0f009 update commons to 3.1.3 2017-12-05 23:28:04 +01:00
tibbi
6a94ac11bc moving some Menu related functions, no code change 2017-12-03 23:52:10 +01:00
tibbi
539d6ee16d rename extension files to start with capital letters, no functionality change 2017-12-03 21:56:11 +01:00
tibbi
9b5a52f66a allow selecting which wallpaper should be changed on Nougat+ 2017-12-01 23:48:19 +01:00
tibbi
a56bbbd54a simplify Leak Canary initialization 2017-12-01 23:35:36 +01:00
tibbi
e04c4da1d6 set translucent navigation bar programmatically where appropriate 2017-12-01 11:37:48 +01:00
tibbi
9fbbd902e8 update Commons with some dialog crashfixes 2017-12-01 11:04:26 +01:00
tibbi
84fee84349 lets provide Subsampling our own orientation 2017-12-01 10:04:57 +01:00
tibbi
2da5af065b fix #454, share multiple items properly, as images 2017-11-30 23:51:56 +01:00
tibbi
a7a473c172 fix #478, make sure photos are visible after unhiding 2017-11-30 23:45:01 +01:00
tibbi
c5b67785a6 update commons to 3.0.12 2017-11-30 19:38:07 +01:00
tibbi
48e78f529e rename mFragments to fragments at the pager adapter 2017-11-30 18:34:12 +01:00
tibbi
d595c590f0 update commons to 3.0.9 2017-11-30 18:26:04 +01:00
tibbi
b5b3648602 use a helper method for refreshing recyclerviews at delete 2017-11-30 16:37:06 +01:00
tibbi
df86b5d9ae update commons to 3.0.5 2017-11-30 14:58:27 +01:00
tibbi
e7aeb44256 small cleanup at the sorting dialog 2017-11-30 10:37:51 +01:00
tibbi
7f596a3993 fix #480, make sure drag selection is always available 2017-11-30 10:08:16 +01:00
tibbi
4936f04296 use the shared Splash activity 2017-11-29 20:26:23 +01:00
tibbi
15daa64cbd reenable leak canary 2017-11-27 20:32:57 +01:00
tibbi
6ebfb82e39 avoid decoding fullscreen images twice 2017-11-23 09:58:12 +01:00
tibbi
1b88318f46 catch OutOfMemory errors at GifDrawables 2017-11-23 09:44:26 +01:00
tibbi
1c7c95d579 comment out leak canary initialization 2017-11-23 09:43:14 +01:00
tibbi
2c2f0ea5f6 fix #470, avoid running 2 directory fetching async tasks at once 2017-11-23 09:07:10 +01:00
tibbi
015fde6a97 lets remove GlideDecoder for now, roll back to rgb_565 format 2017-11-23 08:45:20 +01:00
tibbi
aa2f8722ea delete items from the main activity and viewpager activity on background threads 2017-11-22 00:01:07 +01:00
tibbi
07d921330e save images in the editor on the background thread 2017-11-21 23:50:46 +01:00
tibbi
2b3223be08 use encoded video path only at passing it to the mediaplayer 2017-11-20 21:53:55 +01:00
tibbi
a3c680fc73 improve some double-tap zoom handling 2017-11-16 23:37:14 +01:00
tibbi
bdc61380a5 make it easier to keep the device in landscape mode 2017-11-16 23:02:49 +01:00
tibbi
69bc80fa4e rewriting the Included Folders to recyclerview too 2017-11-16 22:15:33 +01:00
tibbi
d596829fd6 rewrite ExcludeFolders activity to use a recyclerview 2017-11-16 22:05:44 +01:00
tibbi
27f00cfe3c improve some double-tap zoom ratios 2017-11-16 19:26:25 +01:00
tibbi
12e3f61574 catch outofmemory errors at gif loading 2017-11-16 14:56:14 +01:00
tibbi
1afddbc7bb update Commons to 2.39.9 2017-11-16 14:53:21 +01:00
tibbi
6f78a6e9ce rewriting MediaAdapter to the Commons MyRecyclerViewAdapter 2017-11-16 14:44:39 +01:00
tibbi
ee883d3acc update MyScalableRecyclerView to the new MyRecyclerView 2017-11-16 14:03:18 +01:00
tibbi
7dbdd163c1 add multidex support 2017-11-12 23:59:22 +01:00
tibbi
99dee5e7f1 update Commons to 2.38.8 2017-11-12 23:49:29 +01:00
tibbi
abbf25ddf8 make sure we show the Use English toggle when it was changed 2017-11-10 21:17:34 +01:00
tibbi
11fb678ede updating Release notes 2017-11-09 19:31:10 +01:00
tibbi
96065615b4 use some view visiblity extension functions 2017-11-09 19:14:51 +01:00
tibbi
ae9cce880a make sure extended details are always properly positioned 2017-11-09 19:09:31 +01:00
tibbi
80fadfec62 make videoFragment timeHolder nullable 2017-11-09 17:28:38 +01:00
tibbi
3e7d4b6f5b make resultData.data nullable at pick intent result 2017-11-09 17:23:47 +01:00
tibbi
f374cfde67 reenable GlideDecoder for loading fullscreen media 2017-11-09 17:14:28 +01:00
tibbi
e1ec8c5623 clean up some more things after usage at videofragment 2017-11-09 17:04:10 +01:00
tibbi
f657a64baa reset video SurfaceView and SurfaceHolder on destroy 2017-11-09 16:50:32 +01:00
tibbi
0048f9096b make sure we save the rotated image on the background thread 2017-11-09 16:47:36 +01:00
tibbi
0bb48601f4 remove some empty callbacks to avoid memory leaks 2017-11-09 14:50:05 +01:00
tibbi
aa5b5b3081 move the image saving things in a separate function to reduce indentation 2017-11-09 14:11:52 +01:00
tibbi
014c2b951d clear Glide cache after rotating an image, to avoid some glitches 2017-11-09 13:57:24 +01:00
tibbi
9141073ed6 try keeping old Last Modified after rotating when needed 2017-11-09 11:27:30 +01:00
tibbi
4efdb1a47a fix saving rotated images on the internal storage 2017-11-08 23:40:19 +01:00
tibbi
28e1d77f1b disable GlideDecoder for now 2017-11-08 23:29:33 +01:00
tibbi
c7bbeddae8 allow password protecting the whole app 2017-11-08 23:13:02 +01:00
tibbi
43d49beca0 split the Rotate button to 3 orientations 2017-11-08 21:22:35 +01:00
tibbi
b41f1e97e6 add a button at fullscreen media for locking screen orientation 2017-11-08 21:10:43 +01:00
tibbi
1a3d52e1c2 adjusting sensitivity of rotating by Device Rotation 2017-11-08 20:46:28 +01:00
tibbi
19a0621cab let's try using GlideDecoder at fullscreen media 2017-11-08 20:35:35 +01:00
tibbi
d0f7eb9fb1 reordering some ViewPagerActivity functions 2017-11-08 12:09:48 +01:00
tibbi
3a23e2b0bf add a toggle for forcing English language, if it isnt the device language 2017-11-08 12:08:36 +01:00
Tibor Kaputa
f62ee277a4
show the "Saving..." toast only when SAF dialog is handled 2017-11-07 23:55:17 +01:00
Guillaume
9a90787dbd
Adding handleSAFDialog for EXIF rotation 2017-11-07 23:08:20 +01:00
tibbi
54dca20bdb initialize leak canary in debug build 2017-11-07 17:31:40 +01:00
tibbi
add3760ed2 fix #440, upgrade to Android Studio 3 2017-11-07 17:11:20 +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
a8f1b88859 update commons to 2.36.1 2017-11-06 21:09:56 +01:00
tibbi
283121a046 fix #428, try url encoding video path if it throws IOException 2017-11-06 18:43:36 +01:00
tibbi
733e9403dd fix #420, increase the max column count to 20 2017-11-06 17:59:54 +01:00
tibbi
5c929f43ed do the empty path check earlier at PhotoVideoActivity 2017-11-06 17:29:03 +01:00
tibbi
124d44dfb9 fix #438, properly handle GET_CONTENT intent 2017-11-06 17:17:23 +01:00
tibbi
09ff1779e8 do not grant write_uri_permission at get_content result intent 2017-11-06 16:45:40 +01:00
tibbi
f06fe6a299 make orientationEventListener nullable 2017-11-06 16:25:58 +01:00
Tibor Kaputa
035f1ed715
Merge pull request #437 from ltGuillaume/patch-2
Rotation button fix
2017-11-03 22:30:02 +01:00
Guillaume
b4e43d1c21
Brackets and position fixed 2017-11-03 22:05:56 +01:00
Guillaume
4844e2c2d8
One more deleteFile to remove
...now I understand `return@getFileOutputStream`.
2017-11-03 22:00:28 +01:00
Guillaume
598eeb154d
Improvements as suggested 2017-11-03 21:57:56 +01:00
Guillaume
1aa9ebe286
Rotation button fix
When rotating is initiated, show rotate button permanently to facilitate further rotation. Also, prevent accidental click on Delete when the option "replace share with rotate" is enabled.
2017-11-03 21:36:17 +01:00
Guillaume
63d39b589a
Working EXIF lossless on Internal & SD
Tested and works on both Internal Storage and External SD cards
2017-11-03 17:01:13 +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
b72686cefd updating the way photos are rotated and saved 2017-11-01 23:38:19 +01:00
Guillaume
1cecff008c
OCD :-P 2017-11-01 16:12:27 +01:00
Guillaume
76a9dfe6c7
.isJpg() 2017-11-01 14:52:49 +01:00
Guillaume
fdc1063838
Update ViewPagerActivity.kt
- Removed  `mRotationDegrees != 0f` check, because save buttton wouldn't have shown anyway
- Check if output file is written
- Added helpers functions (with `.toString()` instead of using `""+`)
2017-11-01 14:51:11 +01:00
Guillaume
25bd77bd12
Lossless rotation
Possible issue: even though most EXIF tags keep their original value, some of them are changed by android.media.ExifInterface. it.sephiroth.android.library.exif2.ExifInterface did the same, but to different values and/or with different results.
2017-11-01 04:52:29 +01:00