Commit graph

2833 commits

Author SHA1 Message Date
ForgottenUmbrella
f8315438d8 Let ExoPlayer handle video looping seamlessly
Now that videos are replacing the inefficient GIF format, gapless loops are
important. ExoPlayer's built-in mechanism prebuffers the video to enable this,
whereas the current implementation of seeking to the start presents a short but
noticeable delay between each loop.

Note that this change introduces an incompatibility with current behaviour: due
to google/ExoPlayer#6459, certain videos with broken audio tracks that played
fine before will no longer start. Disabling the audio track is a workaround to
re-enable looping playback, but ExoPlayer does not appear to expose a way to
check if the audio track is short enough to produce the bug.
2020-01-29 01:52:44 +11:00
tibbi
035d0363e3 fix #1723, recognize panoramic photos by a new xml tag too 2020-01-27 23:15:47 +01:00
tibbi
3e7f99fc01 fix #1725, properly remember last video playback position, if paused 2020-01-27 23:04:18 +01:00
tibbi
f4c02d1168 fix #1545, properly sort Favorites by date taken 2020-01-27 21:22:10 +01:00
tibbi
650a985a9c make the Date Taken from Fix Date Taken value be higher priority than mediastore 2020-01-27 21:05:05 +01:00
tibbi
2517170aeb store the fixed Date Taken values in the new table 2020-01-27 20:48:37 +01:00
tibbi
665690c819 removing an unused debug function 2020-01-27 20:34:59 +01:00
tibbi
817229a697 lets set wereFavoritesMigrated earlier to avoid some crashlooping 2020-01-27 17:22:16 +01:00
tibbi
409be79489 migrate favorites in the new table on app upgrade 2020-01-27 15:17:46 +01:00
tibbi
9d2239d1c1 really clear all Favorites at deleting the given folder 2020-01-27 15:05:17 +01:00
tibbi
86db0b8f19 fix unselecting invalid favorite items 2020-01-27 14:47:17 +01:00
tibbi
29a521d107 update Favorite too at updating a medium 2020-01-25 11:50:09 +01:00
tibbi
e578036a22 delete favorites at deleting media 2020-01-25 11:11:23 +01:00
tibbi
3ca8e685b8 shortening some code related to getting DAOs 2020-01-25 10:56:08 +01:00
tibbi
b9369139f1 renaming some DAO to Dao 2020-01-25 09:51:28 +01:00
tibbi
61c4db155d removing the favorite paths getting function from MediumDao 2020-01-25 09:39:56 +01:00
tibbi
a7b7881d73 moving the favorite toggling function into FavoritesDao 2020-01-25 09:34:33 +01:00
tibbi
fb0badeca5 adding a few more favorites related queries 2020-01-24 23:29:03 +01:00
tibbi
b867d2a2eb at deleting a file path from db, delete it from favorites too 2020-01-24 23:10:40 +01:00
tibbi
56d721b68a moving the isFavorite function at FavoritesDAO 2020-01-24 22:47:42 +01:00
tibbi
6b95c58559 try flipping some migration lines to avoid working on nonexistent tables 2020-01-18 23:29:03 +01:00
tibbi
631e9dea34 adding the actual DateTaken value column 2020-01-16 21:00:37 +01:00
tibbi
f1b380e6fa rename file_name column to filename 2020-01-16 20:57:12 +01:00
tibbi
daf87be965 adding 16:10 crop ratio, used mostly on tablets 2020-01-16 18:58:55 +01:00
tibbi
8035d90e36 store the file name in the date takens and favorites tables too 2020-01-16 11:28:01 +01:00
tibbi
402fccbc21 create an own table for storing favorite items too 2020-01-16 11:26:13 +01:00
tibbi
ca6b84be81 adding an index on DateTakens table 2020-01-15 23:00:52 +01:00
tibbi
aa0c21a209 change last_fixed field in DateTakens to int 2020-01-15 22:48:43 +01:00
tibbi
2daf7e045f fix #1715, properly edit png files, do not convert them to jpgs 2020-01-15 22:42:53 +01:00
tibbi
8b02b93161 create an own table DateTakens to be used at sorting 2020-01-15 21:43:39 +01:00
tibbi
9a6d1535ba do not show the portrait stripe at fullscreen view 2020-01-15 20:49:44 +01:00
tibbi
e3b921db4d adding some crashfixes related to extended details 2020-01-15 20:44:31 +01:00
tibbi
386c52a0ff fix some empty portrait photos creating blank thumbnails 2020-01-13 22:53:54 +01:00
tibbi
b2d0dff131 properly show the Portraits title at thumbnail grouping 2020-01-10 22:37:03 +01:00
tibbi
13a3f90595 optimize Portrait photo checking for better performance 2020-01-10 22:30:21 +01:00
tibbi
fa402c24b1 allow excluding the root folder again 2020-01-10 20:21:25 +01:00
tibbi
3185e3eea9 fix #1705, hide the keyboard at clicking path on Save As dialog 2020-01-10 19:43:35 +01:00
tibbi
e68a4ae99b decode the file path UI after editing an image 2020-01-09 10:08:41 +01:00
tibbi
9d5565be96 do not show Favorites and Recycle bin at the copy destination picker 2020-01-02 23:20:53 +01:00
tibbi
b1b9d11148 do not rely on SOURCE_IMAGE_PATH from the editor, store the original path 2020-01-02 19:25:13 +01:00
tibbi
6234050c7f fix #1668, properly delete empty folders when appropriate 2020-01-02 17:37:41 +01:00
tibbi
307e887fc5 fix #1695, do not allow filtering out all file types 2020-01-02 16:30:24 +01:00
tibbi
6fe62ee83b move the Focus editor tool at the end, show the best tools first 2019-12-27 20:08:11 +01:00
tibbi
c0cbbef748 adding a new crop aspect ratio 37:18 to be used instead of 18.5x9 2019-12-25 13:06:26 +01:00
tibbi
212ede449b properly handle SAF dialog in case the source of a copy/move is on sd 2019-12-24 23:37:52 +01:00
tibbi
04abffddb7 show an error message if editing fails 2019-12-24 19:05:19 +01:00
tibbi
b60ee07ea4 adding 5:4 and 4:5 crop aspect ratios 2019-12-20 22:25:37 +01:00
tibbi
bc4b088569 removing some old editor related shared preferences 2019-12-20 21:04:58 +01:00
tibbi
9b27a8fd75 remember the last used editor brush settings 2019-12-20 21:03:19 +01:00
tibbi
2c37b23e1e adding a 19:9 aspect ratio crop too 2019-12-20 20:40:26 +01:00
tibbi
58cedd24f6 adding a 2:1 crop aspect ratio 2019-12-20 20:38:32 +01:00
tibbi
3957532c72 fix #1669, add a workaround for refreshing file thumbnail after edit 2019-12-20 19:42:28 +01:00
tibbi
74612341f3 do not use Text Design module at the editor, it takes up too much space 2019-12-18 10:13:47 +01:00
tibbi
0b5b1925af adding the new editor in release notes 2019-12-17 22:51:05 +01:00
tibbi
99765a3735 more editor cleanup 2019-12-17 19:02:04 +01:00
tibbi
552dc97aa6 removing the unused parts of the old editor, use it only for crop intents 2019-12-17 18:44:46 +01:00
tibbi
68f9ceeea3 replacing the home made photo editor with PhotoEditorSDK 2019-12-17 18:16:30 +01:00
tibbi
37cb4f2608 updating commons to 5.21.0 2019-12-17 17:43:52 +01:00
tibbi
290ff6f993 adding extra null checks at extended details fetching 2019-12-16 20:54:34 +01:00
tibbi
c681f62c30 allow adding Resize at the bottom actions 2019-12-12 14:24:25 +01:00
tibbi
bd7ae6b182 removing the dividers from the file thumbnails list view too 2019-12-12 14:12:36 +01:00
tibbi
8dac3880d6 refreshing the directories list view UI, remove dividers 2019-12-12 14:05:46 +01:00
tibbi
fd52c7c225 implementing the Resize function at fullscreen resizing 2019-12-12 12:22:13 +01:00
tibbi
8ba998d3ae return both the resolution and path from the new dialog 2019-12-12 11:59:56 +01:00
tibbi
787a672c7f creating a dialog with resize and saving 2019-12-12 11:38:47 +01:00
tibbi
e632740972 just moving a function, no real change 2019-12-12 11:09:02 +01:00
tibbi
7fda22e5d5 adding a menu item at viewpager for resizing images 2019-12-12 11:07:34 +01:00
tibbi
230d028227 allow creating file shortcuts from the thumbnail view 2019-12-12 10:35:23 +01:00
tibbi
59ab305a84 updating gradle and commons 2019-12-11 12:23:24 +01:00
tibbi
041f8b77a9 updating commons, remember Export settings path 2019-12-03 23:53:00 +01:00
tibbi
d95b9c1129 migrate album covers at exporting/importing settings too 2019-12-03 22:45:59 +01:00
tibbi
f3168e5f97 fix a glitch at empty screen with direct subfolder grouping 2019-12-03 22:17:32 +01:00
tibbi
8e8f23e6d1 catch exceptions at fetching photo gps coordinates 2019-12-02 10:22:55 +01:00
tibbi
b5f72faf2d adding some resources null checks 2019-12-02 10:17:43 +01:00
tibbi
c0da2ef6c6 fix #1648, properly handle View intent with no data, launch main screen 2019-11-28 23:23:56 +01:00
tibbi
d06a01ea32 adding some more exclamation marks 2019-11-28 21:51:32 +01:00
tibbi
a1b390190e adding 2 more null checks 2019-11-27 22:28:38 +01:00
tibbi
1d0f129e85 adding some exclamation marks in preparation for sdk 29 2019-11-25 22:41:57 +01:00
tibbi
7affe4f6af adding some crashfixes at fullscreen fragments 2019-11-22 15:49:02 +01:00
tibbi
a2ef729170 removing a debug toast 2019-11-16 08:46:39 +01:00
tibbi
8c509ac525 fix #1544, allow picking videos as folder covers 2019-11-10 10:48:43 +01:00
tibbi
59be8838c4 toggle fullscreen mode on click on all devices, not just chromebooks 2019-11-10 10:39:45 +01:00
tibbi
35de514ee3 adding a null check at fetching photo path 2019-11-10 10:17:37 +01:00
tibbi
2d08bd3898 do not show (hidden) after cached folder, if inappropriate 2019-11-09 23:33:51 +01:00
tibbi
ff99d19176 make exception at Picasso onError image loading nullable 2019-11-05 11:07:31 +01:00
tibbi
1c7fbc19ad adding some OTG file recycle bin related improvements 2019-11-05 00:12:07 +01:00
tibbi
04ecb6e0b4 fix moving OTG files in the recycle bin 2019-11-04 23:36:08 +01:00
tibbi
556a775848 adding some OTG file related improvements 2019-11-04 22:22:39 +01:00
tibbi
503da545fc adding some crashfixes 2019-10-27 10:52:34 +01:00
tibbi
47c360f920 fix #1617, show proper filename at resuming the fullscreen view 2019-10-27 10:25:59 +01:00
tibbi
0d1db78e90 fix #1611, removing some portrait related crashes 2019-10-06 19:02:09 +02:00
tibbi
f821fc0727 do not allow changing portrait photos by clicking in fullscreen mode 2019-10-04 12:13:54 +02:00
tibbi
4848616d88 do not allow clicking empty portrait placeholders 2019-10-04 12:09:28 +02:00
tibbi
094ecbee19 updating commons to 5.18.2 2019-10-03 23:35:51 +02:00
tibbi
b6c919be85 load the proper Portrait image 2019-10-02 23:39:29 +02:00
tibbi
04e49086f8 store the currently visible portrait path at the fragment 2019-10-02 23:19:56 +02:00
tibbi
1dbe82e074 avoid calling a redundant click on portrait images 2019-10-02 23:11:25 +02:00
tibbi
17003c6ab1 focus the proper portrait photo at swiping the stripe 2019-10-02 22:13:04 +02:00
tibbi
efee783e1f minor cleanup, moving some code in separate functions 2019-10-02 21:07:05 +02:00
tibbi
fd34074a48 properly handle the default portrait image selection 2019-10-02 20:57:49 +02:00
tibbi
615f32935c minor code style update 2019-10-02 19:59:31 +02:00
tibbi
687b8697c8 update the current portrait photo on click 2019-10-02 19:53:12 +02:00
tibbi
420a6459e7 add portrait photo scrolling at selection 2019-10-02 19:51:09 +02:00
tibbi
d70dd26ea6 properly determine the default portrait photos cover 2019-10-02 19:36:50 +02:00
tibbi
29cd22bda7 improve portrait photos positioning 2019-10-02 19:25:27 +02:00
tibbi
3c151e27a6 allow sliding portrait photos to side 2019-10-02 16:43:41 +02:00
tibbi
1e9318a789 avoid accessing mMedium before it was initialized 2019-10-02 12:15:18 +02:00
tibbi
3ed598c2fd add portrait photos on a stripe 2019-10-02 11:46:09 +02:00
tibbi
f1a4e21d94 adding a portrait photo stripe 2019-10-01 23:13:17 +02:00
tibbi
ac39523478 show the portrait icon at the thumbnails only when appropriate 2019-10-01 22:07:54 +02:00
tibbi
84dd54f5a8 allow zooming portrait images 2019-10-01 22:06:01 +02:00
tibbi
138f563534 show a Portrait icon when appropriate 2019-10-01 21:47:43 +02:00
tibbi
740a19e594 improve portrait file recognizing 2019-10-01 12:37:38 +02:00
tibbi
3bdca11698 show portrait folders in some cases 2019-10-01 10:41:51 +02:00
tibbi
7db3b82ae0 adding more portrait filetype related improvements 2019-09-30 23:52:14 +02:00
tibbi
ff79038efa avoid concurrent arraylist modification at portrait fetching 2019-09-30 15:04:55 +02:00
tibbi
bac9bf57b1 properly retrieve cached portrait photos 2019-09-30 10:49:54 +02:00
tibbi
e684c660b5 add more handling for Portrait file type 2019-09-29 23:18:40 +02:00
tibbi
bc455addb4 do not show portrait folders on the main screen 2019-09-29 22:46:24 +02:00
tibbi
230d793a40 removing a redundant config call 2019-09-29 22:08:31 +02:00
tibbi
ad85ec5a63 start showing portrait photos better, if appropriate 2019-09-29 22:04:19 +02:00
tibbi
49ad4d812f add only Portrait folders in subdirs at fetching media 2019-09-29 21:35:08 +02:00
tibbi
77f3c3adb6 split directories at media fetching into a separate arraylist 2019-09-27 15:26:58 +02:00
tibbi
3673378434 show the recycle bin in some extra cases, if not empty 2019-09-12 22:51:42 +02:00
tibbi
1bb3cc54d8 load fullscreen images quicker 2019-09-12 22:14:10 +02:00
tibbi
ac462f5a3c fetch the file name only when needed 2019-09-12 20:22:29 +02:00
tibbi
af3b4e46f0 properly fetch the Date Taken value on Android 10 2019-09-12 20:21:25 +02:00
tibbi
4d016a9e09 fixing an error with no folders for scanning 2019-09-10 09:34:49 +02:00
tibbi
acdefe7b0a disabling some OTG related code as its handling changed once again 2019-09-08 11:25:45 +02:00
tibbi
50e39315a5 fix #1576, properly handle fullscreen toggling on Chromebooks 2019-09-07 22:53:07 +02:00
tibbi
94d34904d5 properly handle date taken after editing too 2019-09-07 17:25:59 +02:00
tibbi
28981ac870 improve FixDateTaken, rescan paths missing from mediastore if necessary 2019-09-07 17:11:20 +02:00
tibbi
1030021ca1 properly handle Date Taken value at file copy/move 2019-09-06 12:35:12 +02:00
tibbi
fff42bf309 updating Commons to 5.17.3 2019-09-03 23:27:15 +02:00
tibbi
1c20589d4d adding a setting for toggling file type visibility 2019-09-03 23:25:30 +02:00
tibbi
2aed30bd72 show gif/raw/svg indications at file thumbnails 2019-09-03 22:59:31 +02:00
tibbi
e095ee7421 fix #1552, fixing a glitch related to removing multiple folders at once 2019-09-03 21:07:53 +02:00
tibbi
e582dd6034 fix #1571, properly handle the backstack at using shortcuts 2019-09-03 20:16:00 +02:00
tibbi
84110a0638 load the fullscreen image in full resolution with Glide 2019-08-21 14:28:27 +02:00
tibbi
170decd866 properly handle videos in case the pixels arent square (wtf) 2019-08-18 12:03:10 +02:00
tibbi
9b0567e7bc lets use Glide for Subsampling image decoding, keep Picasso only at regions 2019-08-17 16:36:03 +02:00
tibbi
c6a8d6d02a fixing some menu color customization related glitches 2019-08-11 21:39:43 +02:00
tibbi
bb109fce95 update the top menu colors depending on the primary color B/W 2019-08-11 17:32:49 +02:00
tibbi
6033d6a812 adding a null check at the MediaSideScroll 2019-08-11 15:56:38 +02:00
tibbi
4595f6549a lets show some error messages during file fetching 2019-08-11 15:50:28 +02:00
tibbi
c93705ebef reordering a few lines around media fetching 2019-08-11 15:22:25 +02:00
tibbi
82aa3e4bd7 adding a new FAQ item about downloading issues 2019-08-11 12:54:55 +02:00
tibbi
a66596f160 try improving the image loading performance on weaker devices 2019-08-11 12:10:13 +02:00
tibbi
51260d351f fix #1523, check SAF dialog at restoring recycle bin items to SD cards 2019-08-10 21:59:39 +02:00
tibbi
2de3e9abc4 fix #1537, fixing a glitch at opening Favorite videos 2019-08-10 21:34:58 +02:00
tibbi
f43784e90a fix date taken values automatically after file copy/move 2019-08-10 20:38:40 +02:00
tibbi
9433184d6b catching another exception at deleting dir paths 2019-08-10 20:03:55 +02:00
tibbi
70ef61e0ac catch exceptions thrown at updating widgets 2019-08-10 19:59:46 +02:00
tibbi
b85814c7f8 updating some remaining icons to vectors 2019-08-10 17:45:58 +02:00
tibbi
67d6a9434e updating commons with some new vector icons 2019-08-09 12:01:01 +02:00
tibbi
e7589591cb updating commons, replace some new icons with vectors 2019-08-09 11:02:20 +02:00
tibbi
197d504326 do some preparations for allowing decimals at aspect ratios 2019-08-04 11:03:23 +02:00
tibbi
51673ebdf4 do not allow clicking file thumbnails, when activity is finishing 2019-08-03 18:17:12 +02:00
tibbi
2196d1f4f9 adding a crashfix 2019-08-03 09:25:42 +02:00
tibbi
3d605b3561 Allow toggling between the old renaming of appending/prepending or using a pattern 2019-08-02 17:23:19 +02:00
tibbi
995ae1402b rewriting the way exoplayer handles videos, fixing some glitches 2019-08-02 17:00:27 +02:00
tibbi
70dcad6168 removing an empty line 2019-08-02 15:57:35 +02:00
tibbi
860ea21386 improve the main screen performance, rescan folders with new images first 2019-08-02 14:00:19 +02:00
tibbi
5863180738 if a parent folder contains .nomedia, add it to included folders at unhiding 2019-08-01 23:36:12 +02:00
tibbi
28ec4ef02d show navbar customization and share order at Whats New 2019-07-29 19:35:21 +02:00
tibbi
bc3683deb9 adding some crashfixes 2019-07-29 17:46:13 +02:00
tibbi
29f8f449b9 fix #1520, avoid showing some invalid folders as files 2019-07-29 13:13:53 +02:00
tibbi
73fef1a737 fix #1005, share items in the order they were selected 2019-07-29 12:51:43 +02:00
tibbi
028dd1e03b apply the new sideloading check at the editor too 2019-07-28 20:47:50 +02:00
tibbi
f19ddf1a0d add the sideloading check in more activities 2019-07-28 20:40:57 +02:00
tibbi
af96e77313 catching some exceptions at adding media in db 2019-07-28 19:50:15 +02:00
tibbi
9c7c995251 moving whole new photo fetcher handling on a background thread 2019-07-28 19:30:17 +02:00
tibbi
b1b173081a adding some extra check to avoid deleting new nonempty folders 2019-07-28 19:17:01 +02:00
tibbi
fd0014cbe6 make use of some new .nomedia checking extensions 2019-07-24 14:35:11 +02:00
tibbi
cde70c40f6 ignore saved video positions at export/import 2019-07-22 11:47:59 +02:00
tibbi
924b72d6ff add a menu button for toggling filename visibility at search activity 2019-07-09 22:39:51 +02:00
tibbi
7f0d5f9300 show a placeholder at using Search whenever appropriate 2019-07-09 22:25:18 +02:00
tibbi
ee929a9d1b show a button at folder searching for switching to file searching 2019-07-09 22:05:39 +02:00
tibbi
dfcecb31bf reactive the previous way of searching folders 2019-07-09 21:54:53 +02:00
tibbi
4e2d9d4957 update commons to 5.14.15 2019-07-08 23:00:28 +02:00
tibbi
772880aa77 show file extended details when expected 2019-07-08 22:48:38 +02:00
tibbi
f2895845ee removing some unused extended detail fields 2019-07-08 22:37:15 +02:00
tibbi
4f6bf2de5c adding GPS coordinates to the available extended details to show 2019-07-08 22:35:47 +02:00
tibbi
b48ca1b4cc add "Show on map" item at photo video activity 2019-07-08 22:22:23 +02:00
tibbi
0acafd7435 simplify EXIF coordinate fetching, use built in functions 2019-07-08 15:13:26 +02:00
tibbi
b9322d3dd6 prioritize some folders at getFoldersToScan 2019-07-07 21:40:20 +02:00
tibbi
9809930390 properly handle locked folders and third party intents 2019-07-02 23:18:07 +02:00
tibbi
3b2d9322fd add handling for recycle bin locking too 2019-07-02 21:20:00 +02:00
tibbi
4d3d7eaf3f handle locked passwords as copy/move destinations 2019-07-02 21:17:27 +02:00
tibbi
6625a3dbb7 handle Properties and Un/hiding of locked folders 2019-07-02 21:15:17 +02:00
tibbi
6e01ea3386 do not allow batch deleting locked folders, only one 2019-07-02 20:52:17 +02:00
tibbi
505b925ed8 prompt folder unlocking at some operations 2019-07-02 20:36:24 +02:00
tibbi
734db5f242 avoid fetching locked folder items at Show All Folders Content 2019-07-02 20:15:49 +02:00
tibbi
9aea2eec63 do not allow freely opening locked folders, ask for unlocking 2019-07-02 20:09:44 +02:00
tibbi
6b9773d461 adjust the Lock icon and the background color appropriately 2019-07-02 20:01:16 +02:00
tibbi
a58170f84a show locked folder placeholder cover at the list view too 2019-07-02 19:52:03 +02:00
tibbi
820fa8883d do not show locked folders thumbnails, just a placeholder 2019-07-02 19:48:06 +02:00
tibbi
8497e2fdec implementing folder un/locking 2019-07-02 18:05:36 +02:00
tibbi
738cbf7d1a adding some initial folder un/locking related code 2019-07-02 17:22:21 +02:00
tibbi
be62c4ed9a catch exceptions thrown at deleting stored directory paths 2019-07-02 15:17:42 +02:00
tibbi
0dcb96d565 renaming some variables 2019-07-02 14:01:59 +02:00
tibbi
2bc12a86d1 use glide for loading static gifs for better performance 2019-07-02 11:53:18 +02:00
tibbi
86f73f8d5c avoid creating unnecessary background threads 2019-06-27 11:43:07 +02:00
tibbi
4958402919 try catching an exception at an editor filter applying 2019-06-27 10:10:29 +02:00
tibbi
f066f4b84a catch exceptions thrown at clearing the recycle bin 2019-06-27 09:52:11 +02:00
tibbi
44014ef44a fix #1461, avoid a glitch at rotated pngs getting deleted 2019-06-27 09:42:44 +02:00
tibbi
54e5cb2c14 adding file deleting from the search results view 2019-06-26 23:44:04 +02:00
tibbi
b2cd19109f properly handle item refreshing at the search screen 2019-06-26 23:15:04 +02:00
tibbi
49510884b7 properly handle horizontal scrolling at search results 2019-06-26 23:00:57 +02:00
tibbi
8691f4ea68 removing a redundant variable 2019-06-26 16:48:14 +02:00
tibbi
02b3f4d5c2 copying some file thumbnail related code to the search screen 2019-06-26 12:47:13 +02:00
tibbi
e7edb729a4 add file fetching at the search activity 2019-06-26 12:06:12 +02:00
tibbi
10f903129d remove pull to refresh layout from the search results 2019-06-26 11:18:48 +02:00
tibbi
6ee3f04d8f start migrating search related functionality into SearchActivity 2019-06-25 15:06:52 +02:00
tibbi
58ba160571 show a placeholder text if search gives no results 2019-06-25 11:19:56 +02:00
tibbi
6aa597bdaf always underline the "Change Filters" placeholder text 2019-06-24 00:13:32 +02:00
tibbi
bf7b0d0386 fix #1474, improve the handling of third party intents and type filters 2019-06-23 23:07:36 +02:00
tibbi
6feccf3973 fix #72, add Print functionality at fullscreen images 2019-06-23 22:36:49 +02:00
tibbi
af36fd45ad properly handle instant slideshow transition without animations 2019-06-21 12:16:38 +02:00
tibbi
86ac8caad7 allow changing the slideshow animation 2019-06-21 11:46:49 +02:00
tibbi
c60e321278 adding an Animation field at the slideshow config dialog 2019-06-20 15:40:33 +02:00
tibbi
2c9ac6e440 adding an implementation of slideshow fade animations 2019-06-20 15:17:55 +02:00
tibbi
cd261dc8e1 adding some constants related to slideshow animations 2019-06-20 12:29:55 +02:00
tibbi
ee33646b70 removing a slideshow fade animation button + 2 related strings 2019-06-20 10:10:08 +02:00
tibbi
07fcbaae6a fix #1450, make sure the shortcut opens the proper folder if the app is paused 2019-06-19 21:43:56 +02:00
tibbi
48f097f789 properly handle grouping by last_modified and date_taken monthly 2019-06-18 23:43:06 +02:00
tibbi
3e2c66e294 adding some new grouping related constants 2019-06-18 23:02:18 +02:00
tibbi
50bc2f45b5 improve the performance at checking if a video is panorama 2019-06-18 12:48:49 +02:00
tibbi
331b016a95 extending the try/catch block at adding paths to db 2019-06-17 16:51:18 +02:00
tibbi
b474ea7397 updating commons to 5.13.14 2019-06-14 15:19:57 +02:00
tibbi
f61979b6eb make the database favorite checker case insensitive 2019-06-11 22:59:14 +02:00
tibbi
6f6449c2b7 avoid reseting favorite items in one more case 2019-06-11 16:56:42 +02:00
tibbi
08ee4c60ef fix #1449, do not wipe favorite items at fixing date taken values 2019-06-11 16:46:05 +02:00
tibbi
a37b9d81e1 show the available aspect ratios by default in the editor 2019-06-11 12:48:19 +02:00
tibbi
323d9f999d fixing a crash at uninitialized variable at PhotoFragment 2019-06-10 23:57:45 +02:00
tibbi
402eb61f79 catch exceptions thrown at updating db directories 2019-06-10 23:53:37 +02:00
tibbi
789152a98d do not allow clicking on the Panorama button at fullscreen mode 2019-06-10 23:36:50 +02:00
tibbi
d05f3b7d8d fetch video resolutions at videofragment on a background thread 2019-06-10 23:34:43 +02:00
tibbi
8256580ec2 replacing some recursive path scans with direct path scans 2019-05-28 21:44:27 +02:00
tibbi
e9c23d3d7b initialize mMedium asap at fragments 2019-05-26 22:01:15 +02:00
tibbi
d8e0e87cb1 adding some default medium at creating directories from files 2019-05-26 21:57:18 +02:00
tibbi
37a04d300b update the placeholder text appropriately if no media files are found 2019-05-26 21:51:31 +02:00
tibbi
a9cf7f9d8c show the warning at deleting a folder in red 2019-05-26 20:37:35 +02:00
tibbi
bd36ce4ce9 keep last modified field at recycle bin operations, when expected 2019-05-26 10:38:23 +02:00
tibbi
f20ef872ca refresh cached directly at contentobserver triggering too 2019-05-26 10:29:57 +02:00
tibbi
1445434930 moving the directory refreshing function in a context extension 2019-05-26 10:25:23 +02:00
tibbi
e9cee05b9d fix #1424, delete empty folders when appropriate 2019-05-25 22:36:28 +02:00
tibbi
54e91dac7a do not show the Add to favorites menu item at the bin 2019-05-25 22:23:15 +02:00
tibbi
e0eb76c68e fix #1425, do not show the Add To Favorites menu item at the recycle bin 2019-05-25 22:18:25 +02:00
tibbi
d9a3dda095 update the stored directories at background media adding too 2019-05-25 21:53:12 +02:00
tibbi
b77e7fbca6 moving the function for creating directories from files to Context extension 2019-05-25 21:44:30 +02:00
tibbi
25b7a0a0ab improve batch renaming, allow using date time patterns 2019-05-25 21:10:49 +02:00
tibbi
bd97796d4e use low priority for loading png thumbnails too 2019-05-16 08:33:47 +02:00
tibbi
6088da8421 fix opening third party intents 2019-05-15 15:01:17 +02:00
tibbi
7e73d979a1 speed up video moving in the recycle bin from fullscreen view 2019-05-15 09:12:47 +02:00
tibbi
e7e1c561d8 moving mMedium definition at the VideoFragment up 2019-05-15 09:05:13 +02:00
tibbi
b21305cb4b make sure we are updating media from the ui htread 2019-05-15 09:01:39 +02:00
tibbi
7d9e9c6df0 avoid initializing the first 3 fragments unnecessarily 2019-05-14 15:30:02 +02:00
tibbi
fa0ce89d81 tweak the glide view clearing a bit 2019-05-14 00:03:30 +02:00
tibbi
36dec5e004 stop loading fullscreen glide view on destroy 2019-05-13 23:58:47 +02:00
tibbi
8e798feaaa set low priority at thumbnail loading so that fullscreen view is more important 2019-05-13 22:59:49 +02:00
tibbi
4c8b7a3c84 load the initially visible fullscreen image with the highest priority 2019-05-13 22:17:37 +02:00
tibbi
1e697e75d6 visually speed up file deletion from fullscreen view by storing ignored paths 2019-05-13 21:11:47 +02:00
tibbi
594c198cf2 fix #1395, removing some unwanted menu items from the recycle bin 2019-05-13 11:20:59 +02:00
tibbi
54cb98139e fix #1414, show proper root storage folder name at grouping 2019-05-13 10:30:22 +02:00
tibbi
dac85245ba fix #1419, use the proper cover image at creating shortcuts 2019-05-13 10:15:54 +02:00
tibbi
35bd124b0b fix #1415, properly sort grouped directories 2019-05-13 10:09:22 +02:00
tibbi
547e6bd48a remove a slash trimming function at folder getter 2019-05-09 12:27:46 +02:00
tibbi
640ff05e20 optimize temporary folder adding a bit 2019-05-09 12:08:14 +02:00
tibbi
81f61af5a7 allow creating desktop shortcuts only from Android 8 2019-05-09 09:39:02 +02:00
tibbi
d6c5b96722 allow toggling numeric sorting at folders too 2019-05-08 20:46:26 +02:00
tibbi
e05e12bcce allow creating new folders from the file thumbnails screen too 2019-05-08 20:25:58 +02:00
tibbi
376c3d0d1e do not show the Date Taken value fixing related toast messages at bin 2019-05-05 23:27:12 +02:00
tibbi
dcfca72064 show the numeric sorting checkbox only at sorting by name or path 2019-05-05 22:46:06 +02:00
tibbi
4812dff077 fix #1400, allow toggling numeric sorting at numbers 2019-05-05 21:39:10 +02:00
tibbi
7f03b85e1b use sorting numbers by numeric values by default 2019-05-05 21:32:27 +02:00
tibbi
af50584b39 allow creating file shortcuts too 2019-05-05 20:18:22 +02:00
tibbi
df0dda96dd moving the shortcut image getter to an activity extension 2019-05-05 19:55:04 +02:00
tibbi
e1834343fa fix #363, allow creating folder desktop shortcuts 2019-05-05 19:42:43 +02:00
tibbi
f4bcae8086 show the Recycle Bin literally when deleting that 1 folder 2019-05-05 18:51:51 +02:00
tibbi
afa29ec5b1 tweak direct subfolder grouping, show also folders that contain no files directly 2019-05-05 18:49:51 +02:00
tibbi
7a250a480b fixing a typo 2019-05-05 11:08:10 +02:00
tibbi
7f2c76bf27 tweaking folder grouping code, no functionality change 2019-05-05 11:01:10 +02:00
tibbi
f956714979 fix #1386, show subfolder count only if more than one 2019-05-04 22:22:20 +02:00
tibbi
654b3c353b fixing some crashes 2019-05-02 19:38:08 +02:00
tibbi
2a535b5b70 reverting to the previous way of sorting by string 2019-04-09 12:58:10 +02:00
tibbi
384e71aa14 fixing a crash at fetching deleted media from db 2019-04-09 12:20:32 +02:00
tibbi
587a6f9c14 fix #946, allow zooming on raw images 2019-04-02 11:39:42 +02:00
tibbi
b58448dde6 disable alphanumeric string comparing, the current implementation is too slow 2019-04-01 23:03:34 +02:00
tibbi
25aeba4b99 updating the way video resolution is fetched 2019-04-01 21:55:17 +02:00
tibbi
2d34288550 lets try rescanning all paths at "Fix Date Taken values", before updating them 2019-04-01 19:17:01 +02:00
tibbi
c7f57842c8 show the Upgrading from Free dialog only after granding write permissions 2019-04-01 18:50:24 +02:00
tibbi
614c3def6a show an "Upgraded from Free" dialog at first launch of the Pro app 2019-04-01 16:58:25 +02:00
tibbi
439d189b00 reset all remembered video positions on toggling the settings item 2019-04-01 16:42:53 +02:00
tibbi
d1d2be6483 fixing some video playback glitches 2019-04-01 16:35:33 +02:00
Tibor Kaputa
7fcc3094e1
Merge branch 'master' into remember_multiple_video_positions 2019-04-01 12:22:35 +02:00
Tibor Kaputa
64c98d2b1f
minor code style updates 2019-04-01 12:20:43 +02:00
Tibor Kaputa
ee18bdfb89
adding a space 2019-04-01 12:19:42 +02:00
Tibor Kaputa
4cfc1cad47
adding a space 2019-04-01 12:19:05 +02:00
Tibor Kaputa
fc329bae4a
adding a space 2019-04-01 12:18:33 +02:00
tibbi
b872ca9233 fix #721, check if a file exists before opening it in the viewpager screen 2019-04-01 11:49:03 +02:00
Dominik Stadler
0c50d1bbb7
Merge branch 'master' into remember_multiple_video_positions 2019-03-31 20:31:38 +02:00
tibbi
1afe067470 adding a new FAQ item about the app size 2019-03-31 12:30:21 +02:00
Dominik Stadler
56723320aa Use Kotlin way of concatenation 2019-03-31 11:47:59 +02:00
Dominik Stadler
062fe21567 Remove leftover System.out.println 2019-03-31 11:45:18 +02:00
Dominik Stadler
880f63ab3a Switch from using one single stored position to one position per file, so
you can watch multiple files and all of them will have their position saved
2019-03-31 09:19:24 +02:00
tibbi
0846c21711 adding an extra check at third party intents about file existance 2019-03-28 22:08:00 +01:00
tibbi
2c2a922c60 improving the way OTG devices are recognized 2019-03-27 23:28:15 +01:00
tibbi
feb82a38c7 reusing the OTG Handled prefs item from Commons 2019-03-20 09:55:19 +01:00
tibbi
86fe77834c catching an exception at storing path in db 2019-03-13 11:44:13 +01:00
tibbi
5592c23c4e ignore the photoFetcher at Android versions below 7 2019-03-10 09:58:50 +01:00
tibbi
bee4b0ff72 adding a few more checks at activity state at loading fullscreen images 2019-03-09 23:30:02 +01:00
tibbi
9d2026e639 catch some more exceptions at loading folders 2019-03-09 23:28:46 +01:00
tibbi
8290f43282 catch and show exceptions thrown at Editor filtering 2019-03-09 23:25:56 +01:00
tibbi
804eb08143 catch exceptions thrown at getting recycle bin files in the settings 2019-03-09 21:59:35 +01:00
tibbi
ae91cfda72 exclude facebook stickers by default 2019-03-09 20:17:16 +01:00
tibbi
15f6d18f46 fix #1293, create a JobService for storing new media files in db 2019-03-09 20:07:15 +01:00
tibbi
9ca6f2235b fix #1313, delete only the visible files at deleting folders 2019-03-05 21:13:31 +01:00
tibbi
81584a69b4 adding a note to grouping and sorting to avoid some confusion 2019-03-05 20:47:29 +01:00
tibbi
a20cc9aa08 properly handle grouping by some numeric values, like dates 2019-03-05 10:37:44 +01:00
tibbi
abe061cf05 fix #1293, rely on ContentObserver for showing new files quicker 2019-03-04 21:26:03 +01:00
tibbi
d425083e57 fix #1307, properly send the Editor intent from the editor 2019-03-04 20:46:16 +01:00
tibbi
ae031af161 fixing a glitch at third party intents, hopefully fixed #1311 and #1309 2019-03-04 20:16:45 +01:00
tibbi
d30c6ef8ef protect the Edit and PhotoVideo activities with the sideloading check too 2019-02-27 22:03:47 +01:00
tibbi
52cdae6776 fix the app package name at splash screen 2019-02-27 21:38:04 +01:00
tibbi
df3a0724d4 calculate proper folder size only if needed 2019-02-27 20:31:12 +01:00
tibbi
633a1af644 optimize folder visibility checking 2019-02-27 19:33:28 +01:00
tibbi
1daa85e629 optimize folder fetching a bit 2019-02-27 18:52:54 +01:00
tibbi
f4ea041a8b take selected file loading priority into consideration at loading files 2019-02-27 16:44:33 +01:00
tibbi
ec5c902fb7 replacing the old file checking setting item with a new one 2019-02-27 16:24:19 +01:00
tibbi
4fcd1b0fb6 do not check if the folder is recycle bin at fetching files 2019-02-27 13:59:10 +01:00
tibbi
e7624ea7d7 catching some exceptions thrown related to handling cache db 2019-02-26 22:17:37 +01:00
tibbi
fdcad15b6f fix #1285, properly handle some image picker intents 2019-02-26 15:39:14 +01:00
tibbi
29e1220c84 catching an exception at inserting directories in db 2019-02-22 12:43:16 +01:00
tibbi
a4b42b5522 catch exceptions thrown at deleting DB paths 2019-02-22 12:41:28 +01:00
tibbi
fc04a9c697 do not refresh the thumbnails at Random sorting that often 2019-02-22 11:28:05 +01:00
tibbi
4b49cdf34f always clean up invalid files, not just at 20% 2019-02-22 10:25:38 +01:00
tibbi
15485fa183 fix #1274, be more creative at retrieving file path from third party intents 2019-02-21 23:43:26 +01:00
tibbi
81abbe82ad improve exif orientation detecting from content uri images 2019-02-21 23:29:50 +01:00
tibbi
5b36b77c00 adding a setting item for changing date/time format 2019-02-21 22:27:21 +01:00
tibbi
e7ee126577 update Commons, take selected date/time format into consideration 2019-02-21 22:15:42 +01:00
tibbi
22c8bcf9df disable zooming of fullscreen images too early 2019-02-21 22:15:08 +01:00
tibbi
72582a049b add a main screen menu item for toggling recycle bin visibility 2019-02-21 16:53:00 +01:00
tibbi
e584b23fb4 adding Move to the bottom actions 2019-02-21 12:16:46 +01:00
tibbi
ceee81e4b8 use max brightness at opening third party intents too, if selected 2019-02-21 11:31:50 +01:00
tibbi
cf98323bd2 move the gesture rotating option at the Deep zoomable section 2019-02-21 10:59:19 +01:00
tibbi
1dd06fc09a really use argb_8888 format at max quality 2019-02-21 10:55:41 +01:00
tibbi
4b546b6d52 add OTG path to the included paths initially 2019-02-20 16:56:16 +01:00
tibbi
1ed6176f0d updating commons to 5.8.5 2019-02-20 16:55:59 +01:00
tibbi
34028c9452 use the built in glide function for rotating images 2019-02-16 16:43:34 +01:00