Commit graph

2354 commits

Author SHA1 Message Date
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
tibbi
e4df3a0cbe enable writeAheadLogging at the gallery database 2018-07-24 13:25:06 +02:00
tibbi
7b2a181942 use a background thread for setting video surface 2018-07-24 13:09:14 +02:00
tibbi
b93ab89731 add an extra check to remove the empty "Favorites" folder if necessary 2018-07-24 11:36:00 +02:00
tibbi
624a0d5ca3 adding Android Photo Filters license 2018-07-24 11:28:04 +02:00
tibbi
d848f0b305 scroll the editor filters list horizontally when we reach an edge 2018-07-24 00:13:46 +02:00
tibbi
51a36e5d85 always initialize the Editor in crop_rotate mode 2018-07-23 22:07:11 +02:00
tibbi
f8cf95991f use bottom actions at Set Wallpaper intent too 2018-07-23 21:55:17 +02:00
tibbi
8c72bebe72 catch out of memory errors at saving images with filters 2018-07-23 21:11:41 +02:00
tibbi
9cfab3abc3 hide the bottom primary actions at editor crop intent 2018-07-23 12:49:05 +02:00
tibbi
91bb5b70de automatically switch to crop_rotate primary action at Crop intent 2018-07-23 12:36:08 +02:00
tibbi
3c48af1c91 handle saving images with a filter applied 2018-07-23 12:24:09 +02:00
tibbi
04da0fc1cf flip between crop and default image view as necessary 2018-07-23 00:15:48 +02:00
tibbi
f2151c1536 rename shownBitmap to initialBitmap 2018-07-22 23:32:14 +02:00
tibbi
e17aa8b4b8 mark the currently selected filter with a white stroke 2018-07-22 22:17:30 +02:00
tibbi
1112d5f19b apply the selected filter on the fullscreen shown image 2018-07-22 22:02:08 +02:00
tibbi
c17f77ceda adding a new None filter as the first item 2018-07-22 21:28:38 +02:00
tibbi
d308dfb069 use Glide for loading the initial image in the editor 2018-07-22 21:13:04 +02:00
tibbi
efa2c9777e create filter thumbnails just once, not at every filter toggle 2018-07-20 11:48:56 +02:00
tibbi
0e7eac1650 do not make FilterThumbnailsManager static 2018-07-20 11:47:41 +02:00
tibbi
efa93ef1a3 create a new bitmap copy at every filter 2018-07-20 11:43:27 +02:00
tibbi
8c116f6c16 apply the filters on thumbnail items 2018-07-20 11:07:25 +02:00
tibbi
dbaacd596e show a list of thumbnails at the editor, for applying filters 2018-07-19 23:36:46 +02:00
tibbi
85e105819c add an Editor horizontal recyclerview that will hold the filter previews 2018-07-19 21:15:54 +02:00
tibbi
baec75dc62 add some more buttons at the bottom of the Editor 2018-07-19 20:12:03 +02:00
tibbi
588754d999 toggle cropper guidelines visibility depending on the primary action 2018-07-19 12:01:46 +02:00
tibbi
188f03aa54 enable edit cropper by default, with visible grid 2018-07-19 11:24:46 +02:00
tibbi
d77b2e1890 avoid excluding the Recycle bin and Favorites folders 2018-07-19 00:04:02 +02:00
tibbi
010a957361 implement the functionality of aspect ratio toggling 2018-07-18 23:09:34 +02:00
tibbi
17e02d568a adding editor buttons for aspect ratios 2018-07-18 22:13:05 +02:00
tibbi
d116f66228 toggle bottom edit action buttons on press 2018-07-18 21:28:03 +02:00
tibbi
a633330c8e add an aspect ratio selector to the Editor activity 2018-07-18 21:14:03 +02:00
tibbi
87f90879ea replace the editors Flip menu items with bottom actions 2018-07-18 20:07:47 +02:00
tibbi
868b654107 move some Editor actions at the bottom of the screen 2018-07-18 19:33:41 +02:00
tibbi
3358dfa201 show recycle bin at the main folders screen only when appropriate 2018-07-18 17:54:23 +02:00
tibbi
addae2045e delay loading the zoomable image at fullscreen mode to avoid laggy swipes 2018-07-18 17:26:37 +02:00
tibbi
b18af5e94e do not show Recycle Bin and Favorites content at "Show all folders" 2018-07-18 15:02:56 +02:00
tibbi
3831800715 adding some null checks at handling video end 2018-07-18 14:44:52 +02:00
tibbi
92718e5666 make sure only media files get deleted from the viewpager activity 2018-07-18 14:34:37 +02:00
tibbi
007d972787 use filesDir absolutePath instead of path in some places 2018-07-18 13:24:37 +02:00
tibbi
ec20d67fff init exoplayer only if play is pressed 2018-07-18 12:11:05 +02:00
tibbi
c71593e90f adding a search related crashfix 2018-07-18 10:50:30 +02:00
tibbi
7689da0d43 make sure we retrieve the absolute path when working with recycle bin 2018-07-17 14:10:55 +02:00
tibbi
26d5fef4fd make sure copyRecursively works at moving paths in recycle bin 2018-07-17 13:56:22 +02:00
tibbi
fa2eb4f7ed adding some default folders to scan 2018-07-17 10:26:29 +02:00
tibbi
bcae7cfd76 do not try setting up exoplayer if it is still null 2018-07-16 20:15:03 +02:00
tibbi
b47868a049 do not initially show the "Purchase Simple Thank You" settings button 2018-07-16 20:10:26 +02:00
tibbi
642e3e4c50 always pass an arraylist clone to adapters, so the actual items arent updated 2018-07-16 15:00:07 +02:00
tibbi
7e913635f5 adding a Purchase Thank You button in the app settings 2018-07-15 21:25:28 +02:00
tibbi
3186d27d12 add "Set as" as an available bottom action at the fullscreen view 2018-07-15 21:17:13 +02:00
tibbi
2862141418 clear the favorites or recycle bin at deleting its folder 2018-07-15 20:06:45 +02:00
tibbi
ece7872f8d fix #844, recognize another image panorama declaration 2018-07-15 16:27:16 +02:00
tibbi
a8b1f1935a fix #841, avoid blank screen at toggling temporarily show hidden 2018-07-15 16:23:56 +02:00
tibbi
5b040a699b do not show an error at exoplayer setup fail, just try reinitializing later 2018-07-15 11:17:21 +02:00
tibbi
274a50013e reinitialize exoplayer on becoming visible, if needed 2018-07-15 10:42:30 +02:00
tibbi
1913df404d always use proper action menu title text color 2018-07-15 10:15:41 +02:00
tibbi
75219668b4 use the un/hide icons from Commons library 2018-07-12 14:31:47 +02:00
tibbi
fd79d8d3ec adding some crashfixes 2018-07-10 20:20:26 +02:00
tibbi
bb8acad55e adding some null checks at deleting files/folders 2018-07-06 13:00:45 +02:00
tibbi
902bdb0255 use smaller play/pause/panorama icons with dynamic background 2018-07-06 12:42:07 +02:00
tibbi
393420ab2d use a background thread for releasing exoplayer 2018-07-06 11:52:00 +02:00
tibbi
376b9870e2 adding a null check at video seekbar usage 2018-07-05 11:13:01 +02:00
tibbi
5420321207 show the bottom gradient at video fragment only if bottom actions are disabled 2018-07-04 19:54:51 +02:00
tibbi
0dba5114a1 adding a null check at selecting directories 2018-07-04 19:26:52 +02:00
tibbi
ce7e18196b adding some features in the release notes 2018-07-04 12:03:42 +02:00
tibbi
a6cc35fc97 replace some toList calls with toMutableList, for proper casting if empty 2018-07-04 11:39:19 +02:00
tibbi
7d44532320 use black statusbar at panorama activity if selected so 2018-07-04 11:38:51 +02:00
tibbi
fc1d17397c if something goes wrong at storing ever shown folders, just clear it 2018-07-04 11:22:39 +02:00
tibbi
9559b84be5 remove folders instantly, without animation 2018-07-04 11:15:33 +02:00
tibbi
ed7e1a6d02 adding Panorama view and Sanselan licenses 2018-07-04 11:10:12 +02:00
tibbi
a202418eca add an extra function for making sure we show all required folders 2018-07-03 23:50:17 +02:00
tibbi
40de93100c try scaling down the panorama image, if it keeps running out of memory 2018-07-03 23:21:35 +02:00
tibbi
c32b332804 fix the panorama path check 2018-07-03 22:46:48 +02:00
tibbi
448cf2d604 close PanoramaActivity if something goes wrong 2018-07-03 22:13:59 +02:00
tibbi
08ec62b3e1 refresh panorama buttons on device rotation 2018-07-03 21:50:16 +02:00
tibbi
cf07b918de handle panorama event clicks + disable fullscreen by default 2018-07-03 21:41:45 +02:00
tibbi
7ab78101c0 handle panorama Cardboard and Explore click listeners 2018-07-03 21:23:21 +02:00
tibbi
9614bd07c2 creating a PanoramaActivity for handling panoramas 2018-07-03 21:15:03 +02:00
tibbi
727c42f7bd show a panorama button over images if appropriate 2018-07-03 15:39:31 +02:00
tibbi
280559c7c3 adding ExoPlayer license 2018-07-02 11:30:04 +02:00
tibbi
9101f9e7f3 allow clicking through bottom action items in fullscreen mode 2018-07-02 11:02:17 +02:00
tibbi
cc5a5988ea adding a toast at deleting media thumbnails until a glitch gets fixed 2018-07-02 10:17:22 +02:00
tibbi
071794a693 add an extra check to avoid deleting folders from viewpageractivity 2018-07-01 23:49:18 +02:00
tibbi
348d5617e0 removing a helper function related to moving path in recycle bin 2018-07-01 23:37:49 +02:00
tibbi
535e1d8ec9 show a toast at deleting folders 2018-07-01 21:03:38 +02:00
tibbi
7235aa8ac8 move DirectoryOperations and MediaOperations listeners in standalone files 2018-07-01 20:56:40 +02:00
tibbi
2f152da15a start the media fetching asynctask only after cached files have been loaded 2018-07-01 20:51:17 +02:00
tibbi
3a1c3b6cf9 make sure in MediaActivity the gotMedia is called on a background thread 2018-07-01 20:38:59 +02:00
tibbi
0316a21e39 make sure gotDirectories is called on a background thread 2018-07-01 20:19:28 +02:00
tibbi
d78eff3cee hide the Favorites folder if all items are hidden and they shouldnt be shown 2018-07-01 20:11:07 +02:00
tibbi
07585ce8ae make Lock Orientation more advanced, toggle between portrait/landscape/auto 2018-07-01 17:50:42 +02:00
tibbi
712e4c02db change lock orientation into forcing different orientation types 2018-07-01 14:14:53 +02:00
tibbi
b0653ae2cc rotate image by 90 immediately after pressing the bottom action icon 2018-07-01 13:05:38 +02:00
tibbi
e68eb7cda1 adding a missing argument 2018-07-01 12:30:32 +02:00
tibbi
91b2cc40e1 add a null check at deleting medium 2018-07-01 11:58:00 +02:00
tibbi
6437970df8 fixing a crash at changing the column count 2018-07-01 11:56:23 +02:00
tibbi
b05919f7ec fix a crash at getting selected media 2018-07-01 11:40:42 +02:00
tibbi
ee1ec98df9 add Rename to available bottom actions 2018-07-01 11:27:50 +02:00
tibbi
91e2638c21 use a new cursor icon for Rename 2018-07-01 11:19:54 +02:00
tibbi
bb0b432d19 properly handle video content uri at exoplayer 2018-06-29 23:36:59 +02:00
tibbi
0ca8cca358 do not hide the video Play button if we are at the beginning 2018-06-29 23:35:55 +02:00
tibbi
adc5b9b856 make sure the proper bottom actions are shown at third party intent handling 2018-06-29 23:25:27 +02:00
tibbi
065f2acee4 handle un/hide icon toggling 2018-06-29 23:15:44 +02:00
tibbi
c76087e54a add a helper function for determining if a medium is hidden 2018-06-29 22:10:29 +02:00
tibbi
5804d81eac add the functionality to the bottom actions Rotate button 2018-06-29 22:02:34 +02:00
tibbi
13f873497e properly handle bottom action button visibility and functionality 2018-06-29 21:07:21 +02:00
tibbi
c618af4e95 create the dialog for customizing shown bottom actions 2018-06-29 16:04:11 +02:00
tibbi
59d277c710 add a settings button for managing bottom action buttons 2018-06-29 15:26:50 +02:00
tibbi
e9e6e3e059 make sure we show the video Play button if fullscreen and not playing 2018-06-29 14:59:52 +02:00
tibbi
5adc4fe1bd hide the Pause button over the video under some circumstances 2018-06-29 13:58:52 +02:00
tibbi
1038ee33d2 fix #274, replace video MediaPlayer with ExoPlayer 2018-06-29 12:00:12 +02:00
tibbi
a0b6e97f62 adding some crashfixes 2018-06-28 19:59:21 +02:00
tibbi
fcb24e572a add recycle bin and Grouping in Release notes 2018-06-28 15:53:43 +02:00
tibbi
6c85b43930 remove Trashbin items after 30 days 2018-06-28 15:53:25 +02:00
tibbi
e5a22cd196 replace date at thumbnail grouping with Today or Yesterday, if appropriate 2018-06-28 10:12:14 +02:00
tibbi
c50960316a update a FAQ item, recycle bin has been added 2018-06-28 10:02:21 +02:00
tibbi
5db37d6c54 allow sorting Show All separately 2018-06-27 23:52:42 +02:00
tibbi
8bb6c50075 set grouping of Show All to Date Taken descending by default 2018-06-27 23:39:24 +02:00
tibbi
61e66a3d5d allow setting a different grouping for Show All Folders Content 2018-06-27 23:37:15 +02:00
tibbi
cf716f901e remove the Recycle Bin folder from the database right away at restoring all items 2018-06-27 21:06:40 +02:00
tibbi
e44299a472 fix java/util/function/BiConsumer compile error on some older devices 2018-06-27 21:01:16 +02:00
tibbi
2dc18e7166 add some additional menu items for restoring recycle bin items 2018-06-27 20:46:14 +02:00
tibbi
4923d5e4af allow restoring files from the recycle bin at the fullscreen view 2018-06-27 20:25:12 +02:00
tibbi
e57a8d60eb adding a confirmation dialog at recycle bin emptying 2018-06-27 19:45:47 +02:00
tibbi
b0cafd05c4 show the Recycle Bin content size at settings 2018-06-27 18:59:00 +02:00
tibbi
317089a4ff adding a Settings button for emptying the recycle bin 2018-06-27 18:50:30 +02:00
tibbi
b0c4ba7d99 show a toast at recycle bin emptying 2018-06-27 18:45:31 +02:00
tibbi
15440cab42 allow emptying the recycle bin with some menu buttons 2018-06-27 18:40:18 +02:00
tibbi
8397ebac66 add some helper menu buttons for emptying and disabling recycle bin 2018-06-27 16:56:22 +02:00
tibbi
0856abfb83 make sure we hide the Recycle Bin folder if empty 2018-06-27 16:34:46 +02:00
tibbi
f54616bf3f do not allow showing the Properties of Favorites and Recycle bin 2018-06-27 16:09:26 +02:00
tibbi
e0f8d311ba fix some data consistency issues when fetching recycle bin items 2018-06-27 15:39:38 +02:00
tibbi
ed8fa63ce8 make sure we clean up invalid recycle bin db entries 2018-06-27 15:20:45 +02:00
tibbi
59cb293d98 add handling for moving whole folders in the recycle bin 2018-06-27 15:20:22 +02:00
tibbi
f852b69f6e allow permanent delete to items already in the recycle bin 2018-06-27 14:45:50 +02:00
tibbi
11fde4daa0 fetch proper deletedTS at items in the recycle bin 2018-06-27 12:30:55 +02:00
tibbi
b7b49f579e do not allow renaming Favorites or Recycle bin 2018-06-27 12:11:15 +02:00
tibbi
c75f564a35 show a Recycle Bin folder on the main screen if not empty 2018-06-27 12:05:36 +02:00
tibbi
721890ce67 properly handle moving multiple items in the recycle bin too 2018-06-27 11:15:58 +02:00
tibbi
87fde0f813 lets just move the deleted file into the recycle bin when appropriate 2018-06-27 10:40:22 +02:00
tibbi
f7e7482fc8 add a new field to media, the timestamp of their move to recycle bin 2018-06-27 09:51:33 +02:00
tibbi
3468a9860b update the delete confirmation Dialog if we are using the recycle bin 2018-06-27 09:28:24 +02:00
tibbi
3bedb2282c update commons to 4.3.4 2018-06-26 23:54:32 +02:00
tibbi
d8a33f81d7 add a settings toggle for toggling recycle bin usage 2018-06-26 22:37:49 +02:00
tibbi
efc4e241ca add recycle bin to pinned folders by default 2018-06-26 16:14:51 +02:00
tibbi
3a7e93f095 do not allow clicking bottom actions if faded away 2018-06-26 14:43:39 +02:00
tibbi
e6980596a2 make db queries involving paths case insensitive 2018-06-25 00:11:35 +02:00
tibbi
66962c3ec9 fix some recycler glitches at the directories view 2018-06-24 20:43:19 +02:00
tibbi
dfccdd4040 do not add group sections at horizontal scrolling for now 2018-06-24 19:44:55 +02:00
tibbi
73e5333eef recreate whole thumbnails view on toggling horizontal scroll 2018-06-24 19:24:22 +02:00
tibbi
2d8ab6647d recreate directories grid at changing sorting and filtering 2018-06-24 18:59:07 +02:00
tibbi
185e4dcb6c recalculate fastscroller position at measuring content 2018-06-24 18:31:31 +02:00
tibbi
8e4aa5b438 do not remeasure recyclerview size at column count change, we set it manually 2018-06-24 18:11:30 +02:00
tibbi
92fc3ec90c recreate the MediaAdapter in some extra cases 2018-06-24 18:07:01 +02:00
tibbi
d69351fa99 avoid doing any action on Search Collapsed during device rotation 2018-06-24 15:46:14 +02:00
tibbi
f6231bf517 properly measure recyclerview content height when content changes 2018-06-23 09:41:26 +02:00
tibbi
dc65539094 adding a FAQ item about thumbnail grouping 2018-06-22 22:38:04 +02:00
tibbi
b61e3b7d3d fix thumbnail grouping at Search 2018-06-22 21:37:09 +02:00
tibbi
cd79467ff6 avoid showing empty fastscroller bubble if the current item is a section 2018-06-22 21:18:39 +02:00
tibbi
8e1cd62c7c really disallow clicking on thumbnail section titles 2018-06-22 21:14:30 +02:00
tibbi
9520a25f62 do not allow clicking or long pressing thumbnail sections 2018-06-22 20:57:19 +02:00
tibbi
12ed9a66c1 group media right after fetching, while still on a background thread 2018-06-22 20:33:35 +02:00
tibbi
51182c5563 remove ThumbnailMedium, make Medium itself implement ThumbnailItem 2018-06-22 19:59:56 +02:00
tibbi
2decc73e39 fetch properly grouped and sorted items by ViewPager 2018-06-22 19:30:34 +02:00
tibbi
698f9b0c76 handle media grouping at the MediaActivity 2018-06-22 14:54:28 +02:00
tibbi
e759270019 rely on thumbnailItems at getting selected items at mediaadapter 2018-06-22 13:46:37 +02:00
tibbi
4617be2238 fix clicked medium type casting 2018-06-22 13:19:12 +02:00
tibbi
8cf0e9d7d4 clear mediumGroups before refilling it 2018-06-22 13:18:57 +02:00
tibbi
87ebadfdc6 avoid selecting section titles at thumbnails view 2018-06-22 12:24:43 +02:00
tibbi
2e178ad645 properly format section titles as appropriate 2018-06-22 11:16:56 +02:00
tibbi
2139b19ca8 make sure item group section titles span across the whole line 2018-06-22 11:16:45 +02:00
tibbi
5ca95e7e35 handle thumbnail section adding 2018-06-22 10:38:24 +02:00
tibbi
232073b227 create a ThumbnailItem parent class for media and sections 2018-06-22 10:25:24 +02:00
tibbi
9bfb83dba2 removing a helper function 2018-06-22 10:03:02 +02:00
tibbi
139e9fc06f renaming a function for getting folder grouping 2018-06-22 10:01:48 +02:00
tibbi
f47190b9e1 refresh media thumbnails if only the grouping changes 2018-06-21 23:48:50 +02:00
tibbi
2a23632333 sort medium groups appropriately 2018-06-21 23:41:34 +02:00
tibbi
e3fde0a6eb obtain the start of the day TS at grouping by date taken and last modified 2018-06-21 23:26:05 +02:00
tibbi
9eedf64c1b handle medium grouping at the MediaAdapter 2018-06-21 23:00:59 +02:00
tibbi
1a04a98040 fix fetching cached files at Show All Folders Content 2018-06-21 21:39:15 +02:00
tibbi
637913415b create a separate dialog for Group By for more flexibility 2018-06-21 21:26:09 +02:00
tibbi
05d37cbfcc add a dialog for selecting folder thumbnail grouping 2018-06-21 14:35:52 +02:00
tibbi
a374f40e92 use an empty path at ShowAll 2018-06-21 14:33:31 +02:00
tibbi
28f7d4eb6c adding some null checks 2018-06-21 09:06:25 +02:00
tibbi
a76c716173 add Favorites to release notes 2018-06-20 23:22:46 +02:00
tibbi
283a8254dc avoid some folder operations on Favorites 2018-06-20 23:09:42 +02:00
tibbi
cc5bf379c4 hide some menu items at the Favorites folder 2018-06-20 22:42:53 +02:00
tibbi
8af3b1eee3 fix some Favorites glitches, try treating it more like other folders 2018-06-20 22:20:43 +02:00
tibbi
b81e1c2172 make sure we sort the Favorites properly 2018-06-20 21:55:41 +02:00
tibbi
d4fe872a3a make sure the Favorites folder is pinned by default 2018-06-20 21:49:54 +02:00
tibbi
cc5fbecabd do not store actual item array lists in adapters, pass clones only 2018-06-20 21:42:31 +02:00
tibbi
43a6ececba make sure Favorites folder is not shown twice 2018-06-20 21:40:10 +02:00
tibbi
40dc05602c allow batch favorite toggling by long pressing items 2018-06-20 21:09:51 +02:00
tibbi
e508030496 remove the path scanning at ViewPager activity 2018-06-20 20:47:08 +02:00
tibbi
5677367fbf adding a couple more Favorite improvements 2018-06-20 16:22:11 +02:00
tibbi
58877df88e couple improvements related to the Favorites folder 2018-06-20 15:44:39 +02:00
tibbi
dce71ac166 optimize favorite item fetching, do not query it too often 2018-06-20 12:10:41 +02:00
tibbi
368ffd4b1d fix storing item Favorite state 2018-06-20 11:56:38 +02:00
tibbi
7336fc263d handle Toggle favorite icon updating 2018-06-19 23:34:36 +02:00
tibbi
8270aaa2f2 replace bottom actions Properties button with Add to favorites 2018-06-19 23:23:18 +02:00
tibbi
703aa7bbd1 adding a new Medium field isFavorite 2018-06-19 23:14:03 +02:00
tibbi
ddb8c98f0d properly retrieve date_taken from media files when appropriate 2018-06-19 21:42:02 +02:00
tibbi
ea16e43aa7 add an mUri null check at PhotoVideoActivity 2018-06-19 21:04:24 +02:00
tibbi
64085b4e04 fix file filtering by type 2018-06-18 14:29:01 +02:00
tibbi
af0a3ac7f6 add RAW filtering at release notes 2018-06-18 14:13:44 +02:00
tibbi
d65045220d set bottom actions padding at devices without a navigation bar too 2018-06-18 09:10:08 +02:00
tibbi
6a216fc675 handle bottom button action presses at the PhotoVideo activity 2018-06-18 09:02:12 +02:00
tibbi
9aa8f553ca add the bottom action buttons to third party intent handling activity too 2018-06-17 23:52:03 +02:00
tibbi
026f80aa20 catch some Room db exceptions 2018-06-17 22:23:26 +02:00
tibbi
0258fc5e29 ignore ConcurrentModificationExceptions thrown at updating the directories 2018-06-17 22:02:52 +02:00
tibbi
875ba99dc0 catch IOExceptions at getting some file paths 2018-06-17 21:57:48 +02:00
tibbi
dddfea3b1e make cursor at retrieving Date Takens nullable 2018-06-17 21:54:44 +02:00
tibbi
79aa2306be make sure the play/pause button is hidden if the fragment isnt created at fullscreen 2018-06-17 21:32:35 +02:00
tibbi
7a38862e8c recalculate bottom actions position on orientation change 2018-06-17 21:30:51 +02:00
tibbi
b1136ed041 replace the Play icon with a Pause at playing videos 2018-06-17 21:28:44 +02:00
tibbi
39ec57787f recalculate video seekbar position if bottom actions get toggled 2018-06-17 21:07:38 +02:00
tibbi
02ce6bd11b make bottom actions work well with extended details 2018-06-17 20:11:29 +02:00
tibbi
1b008490a8 handle bottom action button clicks 2018-06-17 16:08:57 +02:00
tibbi
38397a71dd remove the option for replacing Share with Rotate at the fullscreen view 2018-06-17 15:52:18 +02:00
tibbi
a231a3af69 move bottom actions from fragments to the activity 2018-06-17 15:20:41 +02:00
tibbi
715b783a8a add some bottom shadow to fullscreen photos when Bottom Actions are enabled 2018-06-17 14:30:44 +02:00
tibbi
5de6eb9765 add a toggle for showing some fullscreen image actions at the bottom 2018-06-17 09:04:33 +02:00
tibbi
5062d3f087 fix #656, separate Images and Raws at filtering 2018-06-16 23:48:12 +02:00
tibbi
d2bac07abb remove a redundant check 2018-06-16 23:33:14 +02:00
tibbi
df9461a81b update commons to 4.2.2 2018-06-16 23:31:53 +02:00
tibbi
f1b4391d93 update Commons with the recyclerview adapter, fix some inconsistency glitches 2018-06-16 21:50:55 +02:00
tibbi
132953c25a removing a redundant variable 2018-06-15 15:14:41 +02:00
tibbi
5c608de61b fix #786, do not request the pattern/pin/fp again after rotating the device 2018-06-15 15:05:42 +02:00
tibbi
4a26bafaa8 update commons to 4.1.14 2018-06-14 23:02:36 +02:00
tibbi
347959b830 fix some visual glitches around fullscreen Extended details 2018-06-14 11:25:37 +02:00
tibbi
039d6fdfd5 fix #802, always use white text color at fullscreen extended details 2018-06-14 10:41:38 +02:00
tibbi
e88df331d9 reset Temp hidden item showing and Delete confirmation skipping on app start 2018-06-14 10:27:38 +02:00
tibbi
b80e02d14f fix #807, show a warning when deleting a folder 2018-06-14 10:23:10 +02:00
tibbi
284a12666f reset SkipDeleteConfirmation 5 mins after backgrounding 2018-06-14 09:43:34 +02:00
tibbi
a417a20e11 create a list of folders that should be ignored (fake internal storage paths) 2018-06-02 15:39:37 +02:00
tibbi
527fda18f9 make sure hidden folders have "(hidden)" appended 2018-05-26 17:04:34 +02:00
tibbi
70faf7e7cb always sort folder content by its sorting 2018-05-26 16:55:28 +02:00
tibbi
ad07068475 clone cached media/directories before sending them back to the app 2018-05-26 09:53:41 +02:00
tibbi
713ba852c2 properly append ("hidden") after folder names 2018-05-25 22:00:20 +02:00
tibbi
b8cd68ba63 add sorting by date taken in release notes 2018-05-25 20:32:49 +02:00
tibbi
2c2334dea3 persist Skip Delete Confirmation in the whole app launch session 2018-05-25 20:04:07 +02:00
tibbi
1bc335b29d adding a comment 2018-05-25 18:28:39 +02:00
tibbi
17a55bd606 get proper file Date Taken only when needed 2018-05-25 17:40:38 +02:00
tibbi
82569b540f fetch date_taken only when needed 2018-05-25 16:48:48 +02:00
tibbi
c4ef4a69b9 make really sure that only the proper folders are shown at Show All Folders Content 2018-05-25 11:54:37 +02:00
tibbi
af6121ec63 removing an redundant argument 2018-05-25 11:11:28 +02:00
tibbi
5c60fc4e21 remove the folder static sorting variable too 2018-05-25 10:17:41 +02:00
tibbi
83c72d2918 remove the static variable holding the media sorting 2018-05-25 10:08:44 +02:00
tibbi
4e58f1e6c1 fix #770, reimplement sorting by date taken 2018-05-24 23:29:48 +02:00
tibbi
158fccfedd add back sorting by date taken at the dialog 2018-05-24 15:21:49 +02:00
tibbi
2bad1e2088 improve folder discovery after renaming 2018-05-24 15:21:22 +02:00
tibbi
0014546dcd improve file refreshing after rename 2018-05-24 12:35:19 +02:00
tibbi
519df9e8a1 removing a redundant function 2018-05-23 23:30:00 +02:00
tibbi
41ab8d4d6b fix #774, avoid showing Excluded images at Show All Folders Content 2018-05-23 13:52:09 +02:00
tibbi
49e376e2ec renaming GalleryDataBase to GalleryDatabase 2018-05-18 12:16:22 +02:00
tibbi
a1fdc2531d add another null check at obtaining the room database 2018-05-13 23:07:24 +02:00
tibbi
6e898e43b8 renaming the database variable 2018-05-13 23:02:31 +02:00
tibbi
cadd25d3bd add the launcher color customization in release notes 2018-05-13 21:49:51 +02:00
tibbi
6ca5191500 add some IndexOutOfBoundsException checks at adapters 2018-05-13 21:30:24 +02:00
tibbi
50ee6d5abb refresh items instantly after renaming 2018-05-13 21:23:11 +02:00
tibbi
d5c7a5a8ca make bundle nullable at saving state 2018-05-13 21:17:22 +02:00
tibbi
abaa1f2e08 update commons to 4.0.9 2018-05-13 21:14:55 +02:00
tibbi
d52c3df88f get proper path at returning a third party intent result 2018-05-13 11:33:51 +02:00
tibbi
1b474d66f3 fix #765, avoid showing hidden items when inappropriate at Show All Folders 2018-05-12 23:55:40 +02:00
tibbi
ca02223ab6 fix #768, do not show the loading spinning circle at initial launch 2018-05-12 23:31:23 +02:00
tibbi
860d801ede fix #769, set the result uri at crop intents just to be sure 2018-05-12 21:51:22 +02:00
tibbi
b5df2928f9 adding colored launcher icons 2018-05-12 21:00:07 +02:00
tibbi
72c61545d8 remeasure fastscroller if thumbnail data changes 2018-05-11 10:59:42 +02:00
tibbi
efd45ba4cc update commons to 4.0.3 2018-05-11 10:42:51 +02:00
tibbi
16e5529375 improve folder Distinction to avoid showing duplicate folders 2018-04-29 09:24:20 +02:00
tibbi
7b2a3d6365 avoid deleting newly created temporary folder too early 2018-04-26 16:08:20 +02:00
tibbi
a0cf205c8c check new media every couple seconds 2018-04-26 15:42:14 +02:00
tibbi
d83df54a41 copy hidden files only when they are visible 2018-04-26 15:11:28 +02:00
tibbi
71a378d5bd fix copying folders from OTG devices 2018-04-26 14:53:20 +02:00
tibbi
a24050c98d make sure folder inclusion is recursive on OTG too 2018-04-26 13:59:24 +02:00
tibbi
c0f600c451 do not refresh media thumbnails twice 2018-04-26 11:54:39 +02:00
tibbi
7600fa68b4 improve file deleting from thumbnails view 2018-04-26 11:51:17 +02:00
tibbi
be54d59bd0 properly look for empty OTG folders too 2018-04-26 11:30:58 +02:00
tibbi
617412a3bc check invalid directories as the last thing on the new thread 2018-04-26 10:49:26 +02:00
tibbi
bb943daf38 remove a directory from local db if it is empty 2018-04-26 10:46:35 +02:00
tibbi
d2e2e315e1 make sure we filter out empty folders 2018-04-26 10:35:32 +02:00
tibbi
db278b4aa2 add another extra check to avoid showing duplicate folders 2018-04-26 09:48:05 +02:00
tibbi
9aade59c07 destroy the Gallery database instance only if the user exits the app 2018-04-26 09:41:15 +02:00
tibbi
688b0e2624 add an extra check to avoid showing duplicate folders 2018-04-25 23:59:17 +02:00
tibbi
b4f44df183 avoid showing the same folder twice, with different casing 2018-04-25 23:41:44 +02:00
tibbi
e2fa9646d9 update commons to 3.19.20 2018-04-25 23:01:23 +02:00
tibbi
55d7ccfe03 fix saving rotated otg files 2018-04-24 22:19:11 +02:00
tibbi
68412e8480 do not allow opening the freshly created folder while empty 2018-04-24 21:53:41 +02:00
tibbi
3f097a409b couple improvements related to saving edited images 2018-04-24 21:44:47 +02:00
tibbi
bfc1d3d0fd show a toast when deleting the empty new folder 2018-04-24 21:44:10 +02:00
tibbi
0b5005e0d0 couple SaveAs dialog related fixes 2018-04-24 19:02:55 +02:00
tibbi
0148465e75 ignore REAL_FILE_PATH on OTG files 2018-04-24 17:54:11 +02:00
tibbi
bab2b4e5a0 check null folder children at DirectoryAdapter 2018-04-24 17:47:24 +02:00
tibbi
6464c7eee4 try adding OTG automatically once 2018-04-24 17:08:41 +02:00
tibbi
cb17ab5b97 make sure the directory placeholder is visible only when appropriate 2018-04-24 15:01:24 +02:00
tibbi
ddfbdaa275 look for invalid directories after loading 2018-04-24 14:54:28 +02:00
tibbi
f963274942 ignore files with null name 2018-04-24 14:34:51 +02:00
tibbi
d4f81d3437 use the more advanced way of checking if a file exists 2018-04-24 14:32:21 +02:00
tibbi
85a0a69599 show an icon at the folder for OTG devices too 2018-04-24 13:15:41 +02:00
tibbi
db2e0dc776 disable Pull-to-refresh automatically at enabling horizontal scroll 2018-04-24 10:36:50 +02:00
tibbi
5d756b5a60 change the way allowBubbleDisplay is set on resume 2018-04-24 10:34:21 +02:00
tibbi
e2fe74ea33 flip getImage and getVideo arguments at getMedia async task 2018-04-24 10:12:49 +02:00
tibbi
bd077cba8c disable media pull-to-refresh while Search is open 2018-04-24 10:04:49 +02:00
tibbi
b56d4d6600 do not try parsing media files of empty lists 2018-04-24 09:55:41 +02:00
tibbi
b4e1e0c097 remove mDirs from the MainActivity 2018-04-24 09:42:13 +02:00
tibbi
0762918673 fix switching between grid and list view types 2018-04-24 09:35:31 +02:00
tibbi
49b1a24089 do not show the No Media placeholders at first run 2018-04-24 09:30:51 +02:00
tibbi
24f14fffc4 remove GetDirectoriesAsynctask 2018-04-23 23:35:07 +02:00
tibbi
cde57f35b8 store new images from refresh_media broadcast in the local db 2018-04-23 23:05:57 +02:00
tibbi
a6437181cb rewrite the way directories are fetched 2018-04-23 22:43:01 +02:00
tibbi
8399b4fccd refactoring MediaFetcher once again 2018-04-23 16:50:17 +02:00
tibbi
cfa2f82066 small code cleanup at MediaFetcher 2018-04-23 16:42:45 +02:00
tibbi
64fe17d1b9 store fetched media in db right after getting folders 2018-04-23 16:16:46 +02:00
tibbi
a4f62ffcd9 recheck cached folders at startup one by one 2018-04-23 16:05:54 +02:00
tibbi
4f724786b2 fix media inserting ConcurrentModificationException in a proper way 2018-04-23 13:31:26 +02:00
tibbi
3aaa17a02d fixing a couple crashes 2018-04-23 10:10:34 +02:00
tibbi
508a3b8b19 removing the unused GlideDecoder class 2018-04-22 23:35:53 +02:00
tibbi
4949744677 update commons to 3.19.8 2018-04-22 23:35:08 +02:00
tibbi
04ab018a32 make sure New Folder appears first on the list 2018-04-22 23:15:57 +02:00
tibbi
8ff9e7f6ad fix some Rename related glitches 2018-04-22 23:08:36 +02:00
tibbi
302a7842c4 fetch all stored media files at "Show all folders content" 2018-04-22 22:17:40 +02:00
tibbi
b0a26d0bd8 update UI at picker dialogs from the main thread 2018-04-22 22:08:27 +02:00
tibbi
37c31f813b make sure only the appropriate media files are shown at third party intents 2018-04-22 22:01:05 +02:00
tibbi
d0f4f0d403 rename some media type related constants 2018-04-22 20:16:02 +02:00
tibbi
2eaff8568f properly filter cached directories by file type shown 2018-04-22 20:01:48 +02:00
tibbi
7f17aeda71 refresh media thumbnails instantly after changing sorting or filtering 2018-04-22 10:39:00 +02:00
tibbi
8af103d98c filter cached media by type too 2018-04-22 10:32:13 +02:00
tibbi
a90f48889d do the hidden file filtering right inside getCachedMedia 2018-04-22 10:20:32 +02:00
tibbi
d479baa625 refresh media instantly after toggling Temporarily show hidden too 2018-04-21 23:21:45 +02:00