Commit graph

2082 commits

Author SHA1 Message Date
tibbi
6bb69e3d9f show an additional dialog before displaying the OTG permission one 2018-12-14 21:07:00 +01:00
tibbi
32012061a6 remove another redundant function for getting unique directories 2018-12-13 16:34:41 +01:00
tibbi
a0798bcd29 unify the directories funnel through which they are sorted, filtered etc 2018-12-13 16:20:00 +01:00
tibbi
d654eca1f2 replacing some "it"s with "path"s 2018-12-13 12:40:58 +01:00
tibbi
e3fcd3c84b tweak the way folders at grouping direct subfolders are checked 2018-12-12 23:31:12 +01:00
tibbi
7dcfa167a7 handle direct subfolder grouping if selected so 2018-12-12 21:32:47 +01:00
tibbi
f5248d5d53 add a checkbox for grouping direct subfolders at the Change View dialog 2018-12-12 19:29:05 +01:00
tibbi
87436720b8 updating SubsamplingScaleImageView to 4.0.0 2018-12-11 21:51:27 +01:00
tibbi
b64f164742 delete invalid files from cache at loading thumbnails 2018-12-11 12:47:18 +01:00
tibbi
904e43e8f0 check connected OTG devices only after receiving the write_storage permission 2018-12-06 15:23:52 +01:00
tibbi
394d7ccbbc make the data folder check incase sensitive 2018-12-04 10:20:35 +01:00
tibbi
0fe7a49e4b exclude spam folders automatically only from the data folder 2018-12-04 10:18:01 +01:00
tibbi
e92b708e4d properly remember the Other aspect ratio at cropping too 2018-12-02 23:36:52 +01:00
tibbi
c2f9b3e700 remember the last used editor cropper aspect ratio 2018-12-02 23:30:14 +01:00
tibbi
bab8079676 remember the last picked aspect ratio at the Other option 2018-12-02 23:20:01 +01:00
tibbi
2b49095ab5 adding an Other aspect ratio button to the editor 2018-12-02 23:03:25 +01:00
tibbi
88b13012aa fix deleting Recycle Bin files 2018-12-02 20:53:25 +01:00
tibbi
6098c24227 fix some glitches with files not properly appearing in recycle bin 2018-12-02 20:00:57 +01:00
tibbi
225337a1d3 show the error thrown at moving files in the recycle bin 2018-12-02 17:32:23 +01:00
tibbi
f751adcd97 delete/copy/move only the visible files at doing those operations on a folder 2018-12-02 16:46:32 +01:00
tibbi
f1daf5fbcf do not exclude whole data folder by default 2018-12-02 14:03:47 +01:00
tibbi
8d92fcd07b improve the way spam folders are excluded 2018-12-02 13:58:57 +01:00
tibbi
b5dc1c7d27 remove some local variables related to nav bar checking 2018-12-01 16:27:32 +01:00
tibbi
99d7d2ad43 use a shorter way of initializing exoplayer 2018-12-01 15:47:04 +01:00
tibbi
33301d6282 make sure the file is a video, before getting its duration 2018-12-01 11:41:02 +01:00
tibbi
8c97d7952a fix #1097, optimize video thumbnail duration showing performance 2018-12-01 11:19:25 +01:00
tibbi
2764f205ee filter folders for scanning from wrong folders 2018-12-01 11:05:46 +01:00
tibbi
05b5a4282e try getting the mediastore last_modified field at extended details, if available 2018-11-30 23:04:48 +01:00
tibbi
54f7b18e03 use a copy of Dirs arraylist before updating the directories adapter 2018-11-30 22:46:19 +01:00
tibbi
644bb362a8 make sure the video duration text has proper text color at list view 2018-11-19 20:55:44 +01:00
tibbi
de9d7f580f if no Date Taken values have been fixed, show an error, not success 2018-11-19 12:51:47 +01:00
tibbi
43852a8112 fix the timing of destroying the Gallery Database 2018-11-19 11:32:07 +01:00
tibbi
0b8e958d01 disable Room db writeAheadLogging and custom query executor 2018-11-18 22:56:49 +01:00
tibbi
4cbbca9f54 renaming video length to video duration 2018-11-18 22:48:22 +01:00
tibbi
d78b9a87d2 exclude the data folder by default again 2018-11-18 22:18:15 +01:00
tibbi
a0518f19ae renaming a photo_name view to medium_name, as it is used at videos too 2018-11-18 21:29:03 +01:00
tibbi
e6d5df2ae1 adding a couple changes related to displaying video length at thumbnails 2018-11-18 21:14:25 +01:00
dslivka1
b480386e50 #159 adding option to show video length in thumbnail 2018-11-09 13:02:37 +01:00
tibbi
e92836353c use a more modern way of signing apps 2018-11-06 23:18:28 +01:00
tibbi
9589c257bc appending .pro to the package name 2018-11-04 21:25:51 +01:00
tibbi
d3e743aba6 replacing Purchase Thank You buttons with Upgrade to Pro 2018-11-04 21:03:32 +01:00
tibbi
0a6394597c removing the local resources variable at Settings activity 2018-11-03 20:27:49 +01:00
tibbi
c6661d8a92 update commons to 5.3.0 2018-11-01 22:25:21 +01:00
tibbi
22e22dd0fb do not exclude the Data folder by default
there is another way of attempting to remove spam folders already
2018-11-01 21:58:42 +01:00
tibbi
0cad141a5b change the string used for determining if a video is a panoramic one 2018-11-01 21:47:20 +01:00
tibbi
124cb9334c fix #1043, remove some glitches related to opening third party intents 2018-11-01 20:20:47 +01:00
tibbi
ff9135c215 store only the current fragments video position, if it was started 2018-11-01 19:47:22 +01:00
tibbi
32c2236e8d couple cosmetic changes related to remembering the last video position 2018-11-01 12:27:42 +01:00
matej bobek
70656183a8 #505 remembering last video position 2018-10-31 16:10:12 +01:00
tibbi
c7039df24a adding the new option for password protection to release notes 2018-10-30 23:36:05 +01:00
tibbi
e42c944fda launch the panorama viewer at video fragment when seekbar is pressed 2018-10-30 23:24:31 +01:00
tibbi
9e6ccbe67c adding password protection to file move and deleting 2018-10-30 23:18:36 +01:00
tibbi
5c3d4f3e8d adding a checkbox for password protection file deletion 2018-10-30 22:53:19 +01:00
tibbi
ca85e8a3df renaming some hidden item password protection related items 2018-10-30 22:20:07 +01:00
tibbi
e63393cbd0 avoid showing the Pause button at video end with Loop videos option enabled 2018-10-30 19:36:58 +01:00
tibbi
6d0c5fdf65 improving the panoramic video check, do not rely on 2:1 aspect ratio 2018-10-30 19:19:32 +01:00
tibbi
9ed420daa1 fix #835, open files without extension at PhotoVideo activity 2018-10-28 23:04:09 +01:00
tibbi
b53bd52adf fix #1032, make the instant switch area at landscape mode wider 2018-10-28 22:21:20 +01:00
tibbi
cb346af279 hide the bottom Rename button at PhotoVideo activity 2018-10-28 20:59:40 +01:00
tibbi
c40cb542f6 fix glitchy fullscreen toggling at PhotoVideo activity 2018-10-28 20:55:40 +01:00
tibbi
a37170662c fix #1028, disable the Move operation on items at the recycle bin 2018-10-28 20:09:20 +01:00
tibbi
9f14626f84 add some helper extension constants for accessing the recycle bin 2018-10-28 19:46:48 +01:00
tibbi
11b04aed43 fix #1016, allow selecting multiple items at third party intents, when appropriate 2018-10-28 19:32:57 +01:00
tibbi
6eb2f60a55 fix #1030, handle third party intents sent by Instagram style 2018-10-28 19:25:41 +01:00
tibbi
27166b98e2 fix #1020, slideshow looping 2018-10-28 19:00:38 +01:00
tibbi
d821547b3d move the Menu related functions more up on the viewpager activity 2018-10-28 18:56:57 +01:00
tibbi
2e097c59cb some updates to starting slideshow from the thumbnails screen 2018-10-28 18:51:27 +01:00
Ilya Zasimov
7e510c0d7d Support slideshow option on media list 2018-10-28 17:49:17 +03:00
tibbi
1fd3301b4a updating a polish string 2018-10-28 10:24:26 +01:00
tibbi
1c2812db48 use a singleton single threaded executor for handling Room db queries 2018-10-25 17:43:41 +02:00
tibbi
1321ccae66 update commons to 5.2.8 2018-10-25 13:38:27 +02:00
tibbi
f773ab9c1c do not refresh media at viewpager with random sorting 2018-10-25 10:53:24 +02:00
tibbi
0a6c553cc7 updating commons to 5.2.6 2018-10-25 10:42:48 +02:00
Tibor Kaputa
9e9255af9a
Merge pull request #1025 from Pa3kSB/random-sorting
Added random sort option
2018-10-25 09:39:04 +02:00
Pa3kSB
f74f9f4a03 Added random sort option 2018-10-25 08:31:02 +02:00
tibbi
47636f8b0a fix Favorite items getting removed at emptying the recycle bin 2018-10-23 10:50:51 +02:00
tibbi
e54953f380 try excluding unwanted folders at first app launches 2018-10-22 21:14:38 +02:00
tibbi
20ca9da9d0 do not consume touch events at video_preview 2018-10-22 17:18:40 +02:00
tibbi
90d1c521fa make Down gesture closing optional, enabled by default 2018-10-22 17:10:31 +02:00
tibbi
197dec4a26 toggle fullscreen at clicking video preview too 2018-10-22 16:51:30 +02:00
tibbi
237937c162 add the close-down gesture to videos too 2018-10-22 16:41:17 +02:00
tibbi
4b7adea779 enable down gesture at the gif view too 2018-10-22 16:30:13 +02:00
tibbi
df03f39b94 allow closing fullscreen with down gesture, if deep zoomable image is visible 2018-10-22 16:27:56 +02:00
tibbi
70f5a23575 moving MediaSideScroll to the Views folder, no real change 2018-10-22 13:57:23 +02:00
tibbi
6f812bbbaa adding a simple way of renaming multiple items at once 2018-10-22 11:30:46 +02:00
tibbi
c05cad57d5 improve the SAF file path selection 2018-10-22 10:37:36 +02:00
tibbi
f1b0e6a001 adding some bottom gradient to panoramas for easier button visibility 2018-10-21 21:44:39 +02:00
tibbi
33880f7c1b adding a panorama video button for toggling cardboard mode 2018-10-21 21:23:28 +02:00
tibbi
3ee3887754 add skip forward/backward at panorama videos 2018-10-21 21:01:03 +02:00
tibbi
0cb212947c adding a seekbar to the panorama video view 2018-10-21 20:51:32 +02:00
tibbi
9fd3acd93f moving the bottom video time holder views in a separate layout file 2018-10-21 19:29:45 +02:00
tibbi
64180c0af1 implement vr video play/pause 2018-10-21 18:42:15 +02:00
tibbi
5d419ea88a hide the video play/pause button faster 2018-10-21 18:28:13 +02:00
tibbi
cb4d86461e adding some PanoramaVideo implementation 2018-10-21 17:57:55 +02:00
tibbi
9a4e9ad318 rename Panorama activity to PanoramaPhoto 2018-10-21 13:14:56 +02:00
tibbi
7bc48bee0b add some initial handling for 360 videos 2018-10-21 13:08:46 +02:00
tibbi
feba98917a optimize the way some actionmenu button visibility is determined 2018-10-20 20:12:02 +02:00
tibbi
9d3848b2ab change the way folders are updated after Pinning change 2018-10-20 20:00:16 +02:00
tibbi
7e6362cbfb adding some recyclerview related performance optimizations 2018-10-20 19:18:30 +02:00
tibbi
7beff9a692 optimize some things at the directory and media adapter 2018-10-20 16:35:12 +02:00
tibbi
4c9cef04f4 fix slideshow swiping direction 2018-10-20 16:12:20 +02:00
tibbi
13c00c1b17 adding a "Show Hidden" button to every filepicker, when appropriate 2018-10-19 23:56:53 +02:00
tibbi
23b8ec36c7 fix #264, add a "Show Hidden" button at the copy destination 2018-10-19 23:16:06 +02:00
tibbi
fda3569aa1 fix images being totally zoomed in after device rotation 2018-10-19 21:52:45 +02:00
tibbi
1c19b00df9 add an extra check to avoid showing empty folders 2018-10-19 20:59:25 +02:00
tibbi
8434181387 use a copy of directories at search 2018-10-17 18:38:06 +02:00
tibbi
410ebd3762 fixing a search menu item related crash 2018-10-17 18:35:09 +02:00
tibbi
da5ca030fa adding the new option for showing the recycle bin at the bottom in release notes 2018-10-17 14:08:33 +02:00
tibbi
8a1b8f0870 adding a Search item for searching folders 2018-10-17 14:04:52 +02:00
tibbi
af8133b8b2 fix #983, add an option for showing the Recycle Bin as the last folder 2018-10-17 12:19:01 +02:00
tibbi
66cd5dad3e make sure the directories and distinct before sorting 2018-10-17 11:57:04 +02:00
tibbi
f196158204 catch exceptions thrown at clearing the recycle bin 2018-10-17 11:48:44 +02:00
tibbi
78bcf8adb8 updating Commons, min Android version to 5 + adapter changes 2018-10-16 23:56:05 +02:00
tibbi
2873b996bc updating support libraries to AndroidX 2018-10-05 22:42:21 +02:00
tibbi
641610842b fix #981, avoid some glitches related to GIF playing 2018-10-05 10:51:12 +02:00
tibbi
27a0bcdd1f fix #979, properly handle fullscreen mode toggling at panorama view 2018-10-04 20:13:16 +02:00
tibbi
49cf6a4ff6 fix #978, properly hide fullscreen top shadow when appropriate 2018-10-04 12:18:38 +02:00
tibbi
d309e1d10f allow toggling fullscreen mode by clicking at the new gif_view 2018-10-02 23:29:32 +02:00
tibbi
6a5186c51f add notch support only from Android 9 2018-10-02 23:25:47 +02:00
tibbi
50b323e5b3 adding the new toggle and video seeking at release notes 2018-10-02 23:20:41 +02:00
tibbi
2ef019990b allow faster video seeking by dragging the bottom seekbar 2018-10-02 22:04:36 +02:00
tibbi
bb7a911df1 fix #971, keep items as Favorites at move 2018-10-02 21:33:01 +02:00
tibbi
f9000830f5 fix #972, use GifTextureView for displaying gifs, do not pause/resume them 2018-10-02 19:08:31 +02:00
tibbi
ab06f366f8 fix #967, do not allow toggling file visibility in the recycle bin 2018-10-02 18:18:11 +02:00
tibbi
1c38f74ae7 change the toast message from Deleting to Moving to Recycle Bin when appropriate 2018-10-02 18:13:53 +02:00
tibbi
cd5804ccb9 fix some glitches related to calculating the Extended Details location 2018-10-02 17:04:07 +02:00
tibbi
430fa3a1aa fix getting navigation bar height too 2018-10-02 16:33:35 +02:00
tibbi
9f08c02330 update the way navigation bar height is calculated 2018-10-02 16:29:13 +02:00
tibbi
c547cb3890 moving some activity extensions to context 2018-10-02 16:13:54 +02:00
tibbi
9319633c85 adding Notch support + some actionbar/statusbar updates 2018-10-02 15:04:55 +02:00
tibbi
81062369d3 change the image max tile size depending on the image quality too 2018-09-30 10:33:54 +02:00
tibbi
7e15cf8d54 adding 2 new FAQ items 2018-09-30 10:33:23 +02:00
tibbi
e062872a29 recreate Subsampling Scale Imageview if some option related to it changed 2018-09-28 19:25:07 +02:00
tibbi
fe186bcabc adding a new Settings toggle for showing images in the highest possible quality 2018-09-28 19:03:35 +02:00
tibbi
e57ef1c7aa fix #908, reduce image quality even more on some devices 2018-09-22 18:54:26 +02:00
tibbi
dc600070af do not list all folders being deleted, just the count 2018-09-21 10:53:21 +02:00
tibbi
bdaec15293 adding some extra checks at deleting files and folders 2018-09-20 21:22:45 +02:00
tibbi
e86c07895c set fullscreen max tilesize to 4096 2018-09-20 21:13:31 +02:00
tibbi
9340b96023 removing an empty line 2018-09-20 18:30:01 +02:00
tibbi
fe69c09915 fix displaying fullscreen images containing percentage sign or hashtag 2018-09-20 14:15:12 +02:00
tibbi
f95da6b83a set isSubsamplingVisible to false at some errors too 2018-09-20 13:55:45 +02:00
tibbi
1110c80b66 add a helper variable for checking subsampling view visibility 2018-09-20 13:52:24 +02:00
tibbi
1bae7ef7a6 use lower dpi on better device fullscreen images 2018-09-20 13:52:05 +02:00
tibbi
46f4c41890 do recycle bin checks less often and more optimized 2018-09-19 20:43:45 +02:00
tibbi
730ca8b5c0 add batch deleting of invalid files from room DB 2018-09-19 15:53:44 +02:00
tibbi
036641c0c4 calculate minimal tile dpi at fullscreen view dynamically 2018-09-05 22:13:31 +02:00
tibbi
16f828580f shortening some code 2018-09-05 20:47:13 +02:00
tibbi
d14151dbe3 use RGB_565 when decoding bounds at fullscreen media 2018-09-05 16:26:28 +02:00
tibbi
bdf13a569e make datetime parsing at "Fix Date Taken values" more robust 2018-09-05 16:11:49 +02:00
tibbi
d80f703af7 fix #938, fix a glitch at fixing Date Taken value 2018-09-05 14:54:08 +02:00
tibbi
d0c612b3fe removing LeakCanary 2018-09-05 13:45:29 +02:00
tibbi
ee46cde8f3 fix #937, set Image as the default file type 2018-09-05 12:22:58 +02:00
tibbi
27fb0404ca adding a crashfix at loading fullscreen images 2018-08-21 10:18:57 +02:00
tibbi
6e259ab994 fix #918, delete empty folders after Move too when appropriate 2018-08-20 22:56:09 +02:00
tibbi
7fc8d4a3d8 fix #909, rely on date_time_original before date_time 2018-08-20 22:43:07 +02:00
tibbi
d590ac2dc2 do not use lower resolution images at fullscreen view before adding the zoomable 2018-08-20 21:39:04 +02:00
tibbi
7ef35207d2 fix displaying SVG thumbnails 2018-08-20 21:28:10 +02:00
tibbi
8e9bbbe451 handle showing fullscreen svg files 2018-08-20 20:58:11 +02:00
tibbi
75d9e03981 enable SVG showing for people who upgrade the app 2018-08-20 20:24:39 +02:00
tibbi
d2f5fdfd03 fix #67, show SVG files 2018-08-20 20:20:59 +02:00
tibbi
44f171bbf5 fix #900, handle one finger zooming toggle at PhotoView too 2018-08-14 12:27:39 +02:00
tibbi
bd084a09b4 fix #901, make sure "Temporarily show hidden" persists through device rotation 2018-08-14 10:12:51 +02:00
tibbi
0ced7023f1 fix #913, at fixing the Date Taken value update it at Favorite items too 2018-08-14 09:10:21 +02:00
tibbi
f01410bb1e fix #911, try using Glide for image loading, if Picasso fails 2018-08-13 23:40:17 +02:00
tibbi
fe69f400ab remove the glide photoview clearing 2018-08-13 22:19:45 +02:00
tibbi
99f4a65dc1 wrap whole picasso loading in a try/catch block 2018-08-13 21:43:24 +02:00
tibbi
c708f183e2 encode percent sign at file paths too 2018-08-13 21:41:13 +02:00
tibbi
9aaee4e648 fix #904, properly show images with hashtag in their path 2018-08-13 21:37:06 +02:00
tibbi
5505594c29 properly load content:// uris at PhotoFragment 2018-08-08 22:53:09 +02:00
tibbi
d647bbb583 disable subsampling view at swiping away from it 2018-08-08 22:28:03 +02:00
tibbi
da70c220d2 fix #896, ignore fullscreen toggling at fading play/pause 2018-08-08 22:05:43 +02:00
tibbi
b58f808068 setup deep zoomable images only when appropriate 2018-08-08 16:59:27 +02:00
tibbi
458686865b adding a toggle for allowing deep zoomable images 2018-08-08 16:37:38 +02:00
tibbi
c9a084c4e4 allow using the PhotoView zoom if loading Subsampling fails 2018-08-08 16:05:06 +02:00
tibbi
f40543ae3b shorten some code at PicassoRegionDecoder 2018-08-08 12:54:59 +02:00
tibbi
686cee83ed remeasure the screen if the width and height are set to 0 at fullscreen view 2018-08-07 20:14:57 +02:00
tibbi
83def1d288 catch exceptions thrown at storing media in a db 2018-08-07 13:34:01 +02:00
tibbi
2d3cc070ae remove the Replace Deep Zoomable images... option 2018-08-07 12:42:13 +02:00
tibbi
8868b73d28 do not use half resolution at loading initial bitmap 2018-08-07 12:38:37 +02:00
tibbi
1fa54e6c1a add handling for rotating fullscreen images 2018-08-07 12:26:56 +02:00
tibbi
31f3396450 preload a smaller resolution fullscreen image first 2018-08-07 11:56:20 +02:00
tibbi
23dd5baaa4 use Picasso as a decoder for fullscreen SubsamplingScaleImageView images 2018-08-06 23:59:49 +02:00
tibbi
4bae35955d launch the zoomable imageview load at fullscreen views earlier 2018-08-05 12:05:28 +02:00
tibbi
0219848d5a adding a null check 2018-08-02 08:35:16 +02:00
tibbi
a7d21a52eb update commons to 4.5.13 2018-08-01 14:39:22 +02:00
tibbi
b2222dd1b5 properly check "Slideshow" bottom action at the app settings 2018-07-30 15:50:27 +02:00
tibbi
8e23c54978 update commons to 4.5.12 2018-07-30 15:38:22 +02:00
tibbi
74f88583d2 fix #857, improve fullscreen toggling at Immersive mode 2018-07-30 14:23:48 +02:00
tibbi
1567ca05fb add a null check at getting current path 2018-07-30 12:31:54 +02:00
tibbi
7b2af9faeb fix #886, fade away both play/pause button after a few secs 2018-07-30 12:28:42 +02:00
tibbi
613bbdd214 do not allow renaming files in the recycle bin, related to #883 2018-07-29 22:28:57 +02:00
tibbi
5ea99ab22d pass the MediumDao and DirectoryDao to some activity extension functions 2018-07-29 22:06:49 +02:00
tibbi
e1214b4d47 store MediumDao and DirectoryDao globally in Main and Media activities 2018-07-29 21:54:27 +02:00
tibbi
61d83750aa disable recycle bin showing if the user tries to hide or exclude it 2018-07-26 14:01:51 +02:00
tibbi
a8ea2ddbd8 fix #837, add an extra check to make sure bin files are restoring properly 2018-07-26 13:04:24 +02:00
tibbi
8d7366d228 fix #870, do not release exoPlayer on surface destroy 2018-07-26 12:56:14 +02:00
tibbi
6e62039ae4 do not update the directories arraylist right after deleting items 2018-07-25 22:29:14 +02:00
tibbi
452bcdbe4a add a menu item for fixing file Date Taken value 2018-07-25 22:11:01 +02:00
tibbi
ca5cd986f3 catch OutOfMemoryError at getting image orientation 2018-07-24 14:29:51 +02:00
tibbi
cce033f89c catch out of memory exceptions at checking if image is a panorama 2018-07-24 13:27:37 +02:00