Commit graph

1929 commits

Author SHA1 Message Date
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