Commit graph

2563 commits

Author SHA1 Message Date
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
tibbi
ab589c52cf refresh directories at toggling Temporarily show hidden immediately 2018-04-21 23:18:43 +02:00
tibbi
570e471dec display cached dirs and media only when appropriate 2018-04-21 23:15:31 +02:00
tibbi
e237afe916 update directories if one is renamed 2018-04-21 22:49:29 +02:00
tibbi
f08fd48d1f properly handle deleting not existing directories from local db 2018-04-21 22:23:42 +02:00
tibbi
0039591a53 properly update files after renaming in the local database 2018-04-21 22:19:27 +02:00
tibbi
af7108fd12 remove the old way of caching media files 2018-04-20 22:21:00 +02:00
tibbi
cb5ac8510f delete medium from the local db on delete too 2018-04-20 21:37:15 +02:00
tibbi
ee07da6277 move some extension functions from Activity to Context 2018-04-20 21:11:12 +02:00
tibbi
1a5ec41f8b do not select ID at directories and media, for proper old/new comparing 2018-04-20 21:01:55 +02:00
tibbi
c17b58dc53 rely on Room db data at caching items 2018-04-20 15:34:17 +02:00
tibbi
244e29b437 remove the commented out function too 2018-04-20 14:55:14 +02:00
tibbi
d28b95290f remove the functions related to old checking if folder content changed 2018-04-20 14:54:34 +02:00
tibbi
73ac822661 handle deleting folders from local db 2018-04-20 13:20:44 +02:00
tibbi
5b8143d41e replace the Shared Prefs way of storing directories by Room 2018-04-20 12:35:40 +02:00
tibbi
236ceafe46 removing the install receiver used to fetch media right after installing 2018-04-20 11:55:51 +02:00
tibbi
b0afe92afb move the gallery database fetcher in a context extension 2018-04-20 11:52:26 +02:00
tibbi
73000aa611 store media parent paths too 2018-04-20 11:46:50 +02:00
tibbi
ce4ee915bb store media in a room db too 2018-04-20 11:01:01 +02:00
tibbi
30ce207b1f lets use Room for caching directories 2018-04-19 23:35:18 +02:00
tibbi
8db3a5007a fix #747, hide .nomedia folders only if Show Hidden is disabled 2018-04-15 08:47:07 +02:00
tibbi
870b8c6837 sublist directories at background update 2018-04-14 23:02:01 +02:00
tibbi
3fdce65fe0 use file absolute path instead of name at file signature 2018-04-14 22:29:23 +02:00
tibbi
6db0adced8 catch exceptions thrown at saving image rotation 2018-04-14 22:11:33 +02:00
tibbi
d8c17b8a80 do not unselect items at Edit intent 2018-04-14 22:10:12 +02:00
tibbi
c0d446a3a4 use better default file save path at Edit, if available 2018-04-14 21:58:26 +02:00
tibbi
093fe92596 fix path fetching from content uri at editing 2018-04-14 21:51:48 +02:00
tibbi
c0c7752f79 try getting real filename from content uri at Edit Activity 2018-04-14 21:31:31 +02:00
tibbi
e2f149eb3e hide folders that contain .nomedia file themselves 2018-04-14 16:19:23 +02:00
tibbi
26aa79294b remove sorting by date_taken while it doesnt work anyway 2018-04-13 22:54:53 +02:00
tibbi
2f1b545456 properly store the last filepicker path 2018-04-13 22:33:13 +02:00
tibbi
2a1484f28e delay updating media adapter a bit 2018-04-12 21:35:18 +02:00
tibbi
51f0d87638 improve file signature by getting its name too 2018-04-12 20:50:02 +02:00
tibbi
ce3ce0bec0 show how many items are going to be deleted on the confirmation dialog 2018-04-12 20:19:21 +02:00
tibbi
e67517dd4c handle null file parent in some cases 2018-04-12 19:21:23 +02:00
tibbi
ee1df9ebbb reenable new folder deleting, if it was left empty 2018-04-10 20:36:17 +02:00
tibbi
2bd20c5d98 fix #735, remember last selected folder at adding excluded ones 2018-04-10 20:19:15 +02:00
tibbi
842df6b54c fix #722, show hidden files only when appropriate 2018-04-10 20:10:50 +02:00
tibbi
91f1efac31 renaming cur to cursor 2018-04-10 19:52:23 +02:00
tibbi
a73a61907c do not sort the media files immediately at fetching from mediastore 2018-04-10 15:36:15 +02:00
tibbi
f6ee61a224 remove some redundant code at gettig media by directories 2018-04-10 15:10:51 +02:00
tibbi
75eb8c789a rework the way media files are fetched 2018-04-10 13:45:01 +02:00
tibbi
d2a6d2cb88 properly make the Included folders check recursive 2018-04-09 21:51:28 +02:00
tibbi
1a163ce56a make nomedia check recursive at DirectoryAdapter 2018-04-09 21:39:12 +02:00
tibbi
79dfab5efa fix hiding folders when Show Hidden Items is disabled 2018-04-09 14:28:11 +02:00
tibbi
2b37c315f1 make renaming folders quicker 2018-04-09 14:09:42 +02:00
tibbi
d91228eedf adding a couple improvements related to un/hiding folders 2018-04-09 14:04:42 +02:00
tibbi
71127d45d1 try un/hiding nomedia folders immediately after updating 2018-04-09 11:27:20 +02:00
tibbi
b6d24492ed remove hidden folders instantly, do not refetch everything 2018-04-09 00:00:03 +02:00
tibbi
0271af9c55 update directories instantly after renaming, do not refetch everything 2018-04-08 23:14:25 +02:00
tibbi
f1fe2028d5 do not ever append explicitly included folders with "(hidden)" 2018-04-08 22:40:29 +02:00
tibbi
7888de7b52 fix #728, fix excluding multiple folders at once 2018-04-08 22:06:20 +02:00
tibbi
b1c6006e18 fix #732, delay automatic fullscreen animation a bit to make it smoother 2018-04-08 21:00:27 +02:00
tibbi
ac3e79c15b comment out new app announcement 2018-04-08 19:15:07 +02:00
tibbi
6f361a7296 updating Commons to 3.17.23, use image rotating functions from there 2018-04-01 15:24:56 +02:00
tibbi
b97ab1d795 notify some users about the Clock app 2018-03-30 23:39:00 +02:00
tibbi
4c865de301 update commons to 3.17.16 with some cosmetic code changes 2018-03-30 23:32:37 +02:00
tibbi
2515edee44 remove the explicit scanning of screenshots folder 2018-03-30 21:57:07 +02:00
tibbi
0a1939969e comment out new file scanning again 2018-03-30 21:51:20 +02:00
tibbi
bef5474182 create clones of arraylists at updating thumbnails 2018-03-30 21:36:57 +02:00
tibbi
6ac6109d5e update commons to 3.17.14 2018-03-30 18:49:29 +02:00
tibbi
b1ac75e3d5 stop fetching directories in onDestroy 2018-03-24 10:01:06 +01:00
tibbi
33e4ca5d16 remove the Download folder from the explicitly included ones 2018-03-23 10:48:18 +01:00
tibbi
6eeece124a couple edits to URI obtaining at Edit activity 2018-03-22 15:43:27 +01:00
tibbi
f8a4e68a1f add an extra activity existing check at trying to reload bitmap 2018-03-22 15:16:09 +01:00
tibbi
5468baf513 try scanning Screenshots and Downloads folders thoroughly 2018-03-22 15:12:20 +01:00
tibbi
be3c8a7b89 use incasesensitive checking at included/excluded paths 2018-03-22 15:11:22 +01:00
tibbi
2acc6d01b9 use incasesensitive comparison at Downloads folder obtaining 2018-03-22 15:05:28 +01:00
tibbi
3b14330b5d temporarily comment out deleting of newly created folders 2018-03-22 14:10:38 +01:00
tibbi
91819ba354 update commons to 3.16.12 2018-03-21 23:26:12 +01:00
tibbi
ca97779f5d try not scanning files from explicitly included folders 2018-03-17 18:19:33 +01:00
tibbi
aea0329867 reenable the new files search 2018-03-17 17:04:17 +01:00
tibbi
039d73dde8 fixing a crash at checking image load fail reason 2018-03-16 15:08:08 +01:00
tibbi
199a0a2407 add image cropping in FAQ 2018-03-16 11:40:13 +01:00
tibbi
aaec6926fd comment out the Simple Contacts announcement 2018-03-15 23:43:41 +01:00
tibbi
a8c4b93fb5 update stored directories if a file is deleted from the thumbnails view 2018-03-15 23:36:34 +01:00
tibbi
fa201e6524 avoid 2 checkLastMediaChanged reseting each other 2018-03-15 23:16:12 +01:00
tibbi
e68392b1e4 recheck folder content if we notice that it changed 2018-03-15 22:57:28 +01:00
tibbi
5c0f33f38f trim folder slashes before updating their items 2018-03-15 22:03:12 +01:00
tibbi
0552c12d17 update stored folder items after deleting 2018-03-15 21:59:35 +01:00
tibbi
7ebc110ac8 rescan and cache destination path after copy 2018-03-15 21:49:58 +01:00
tibbi
42bd31f38b limit the cached folders size to 60 just to be sure 2018-03-15 21:28:30 +01:00
tibbi
e6b11a80b1 check latest media date id too at fetching new files 2018-03-15 19:31:04 +01:00
tibbi
64b4fdece3 create the bitmap at saving rotated image only when necessary 2018-03-15 19:15:55 +01:00
tibbi
67c9f875ae move the EXIF rotating attempt in a separate function 2018-03-15 18:58:21 +01:00
tibbi
5a4a35f6d2 rotate SD card files by exif when possible 2018-03-15 18:55:16 +01:00
tibbi
ac08320bc4 rotate images on the internal storage more efficiently, by modifying exif 2018-03-15 18:14:47 +01:00
tibbi
26963ffd43 rename gif_view to photo_view 2018-03-14 23:14:56 +01:00
tibbi
4c70706d49 try loading images in half resolution if they fail because of out of memory 2018-03-14 23:01:45 +01:00
tibbi
a6ef2f71e1 remove an extra slash added at toggling file visibility 2018-03-14 22:22:10 +01:00
tibbi
949c4ce7dc fix #695, fix a glitch with visible extended details, when they shouldnt be 2018-03-14 00:19:40 +01:00
tibbi
e9638d5152 fix #697, add a minimum video skip length of 2 seconds, for short videos 2018-03-14 00:05:00 +01:00
tibbi
bc36bc1ade disable new file search to check if that is the one deleting files 2018-03-13 23:42:03 +01:00
tibbi
c9dba5ac5b update commons to 3.15.16 2018-03-13 23:41:21 +01:00
tibbi
443aa9449b rescan only paths which arent in mediastore yet 2018-03-03 16:45:10 +01:00
tibbi
7dc0cb660c show a dialog about Simple Contacts under some circumstances 2018-03-02 19:23:26 +01:00
tibbi
1e3296fce1 fix #674, properly handle video progressbar padding on device rotations 2018-03-02 17:31:18 +01:00
tibbi
8a0dd4592b fix #683, make nomedia file checking more precise 2018-03-02 17:23:38 +01:00
tibbi
3949db6583 do not stop fetching directories on pause 2018-03-02 17:21:55 +01:00
tibbi
f4a445dba5 properly check nomedia files at ViewPagerActivity 2018-03-02 17:18:45 +01:00
tibbi
063406a471 update commons to 3.14.6 2018-03-02 17:14:37 +01:00
tibbi
39b4677887 use some helper functions for hiding/showing keyboard at dialogs 2018-03-02 16:53:34 +01:00
tibbi
119276672a properly play videos if their filename contains a colon 2018-02-25 13:43:25 +01:00
tibbi
b8dd4bd5ab fix copying whole folders on the internal storage 2018-02-25 09:43:10 +01:00
tibbi
6e31046b99 add the 2 new toggles in the release notes 2018-02-25 00:11:42 +01:00
tibbi
97236d6ed2 always refresh viewpager when successfully returning from the editor 2018-02-24 20:16:03 +01:00
tibbi
a5372f97a3 add a switch for toggling Pull-to-refresh 2018-02-24 00:21:46 +01:00
tibbi
9280533c74 added a toggle for always skipping Delete confirmation dialog 2018-02-23 23:30:09 +01:00
tibbi
72ffa243a5 fix #668, properly handle Instant media change with Aspect Ratio rotation 2018-02-23 23:16:17 +01:00
tibbi
7289d0a8ea adding a new FAQ item 2018-02-23 22:17:38 +01:00
tibbi
2f6579318b remove a redundant function 2018-02-23 16:27:05 +01:00
tibbi
41b34d9056 delete the temporary file after rotating, not the new one 2018-02-23 16:02:25 +01:00
tibbi
403dde02fb make sure some items are selected before trying to delete 2018-02-21 13:44:07 +01:00
tibbi
9858a149ea properly determine image width and height at rotation by aspect ratio 2018-02-20 23:20:34 +01:00
tibbi
50eb1a4565 fix the zoom level glitch at rotating images by aspect ratio 2018-02-20 22:10:49 +01:00
tibbi
909419371c adding FAQ items 2018-02-20 21:22:33 +01:00
tibbi
e994b77232 try ensuring that the screenshots folders is properly added to the mediastore 2018-02-20 20:50:11 +01:00
tibbi
c108e09ccf lets make the parent nomedia check nicer 2018-02-20 20:16:15 +01:00
tibbi
a70ac7c825 check 2 more parents if they contain a .nomedia file 2018-02-20 20:09:44 +01:00
tibbi
6d806035ee scan invalid path at viewpager activity instead of deleting 2018-02-20 19:56:30 +01:00
tibbi
c271822844 check storage permission before getting latest media id 2018-02-20 19:27:31 +01:00
tibbi
6976c35ee4 make sure the directory thumbnail file exists 2018-02-20 18:40:25 +01:00
tibbi
6ce9ea4b8d scan exlicitly included OTG folders recursively 2018-02-20 17:41:22 +01:00
tibbi
04d42d6772 use proper orientation at otg images 2018-02-20 16:37:22 +01:00
tibbi
c25513fbcf properly play OTG videos 2018-02-20 16:12:43 +01:00
tibbi
66993d784e use real_file_path at photoVideoActivity better 2018-02-20 16:05:50 +01:00
tibbi
b70292652b fix loading of fullscreen OTG media 2018-02-20 15:43:26 +01:00
tibbi
a1a23217b9 do not unselect media files after copy 2018-02-20 15:25:31 +01:00
tibbi
a0bdc0b46b properly show OTG subfolder thumbnails 2018-02-20 14:35:35 +01:00
tibbi
771e59b5cf properly display OTG file thumbnails 2018-02-20 14:05:03 +01:00
tibbi
55fa9a04d5 use proper actionbar title at OTG folders 2018-02-20 11:41:15 +01:00
tibbi
d5496e04ba give proper folder names to OTG subfolders 2018-02-20 11:22:04 +01:00
tibbi
0419ef90a7 make folder Inclusion really recursive 2018-02-20 10:46:41 +01:00
tibbi
a8e87bafcc properly scan OTG folders if manually included 2018-02-20 00:17:06 +01:00
tibbi
93ba5d67de fetch latest media ID at creating the app to avoid duplicate refreshing 2018-02-19 23:25:29 +01:00
tibbi
2083865c98 do not modify real_file_path if it points to an OTG device 2018-02-19 23:09:49 +01:00
tibbi
83100a2330 properly handle real_file_path at opening videos 2018-02-19 21:15:05 +01:00
tibbi
783d73cff4 make use of real_file_path at the editor 2018-02-19 21:11:37 +01:00
tibbi
fb493459de update commons to 3.12.6 2018-02-19 20:24:32 +01:00
tibbi
44895ae365 add a null check at video fastforwarding 2018-02-19 18:11:20 +01:00
tibbi
0e60aca74c add some helper functions for getting fastscroller bubble text 2018-02-19 18:08:26 +01:00
tibbi
54b216f09e update commons to 3.11.15 2018-02-13 14:21:50 +01:00
tibbi
ace15c4248 allow skipping forward/backward by pressing curr/max time at videos 2018-02-09 20:29:49 +01:00
tibbi
0616117f36 send a more advanced click event with coordinates at clicking side slider 2018-02-09 19:14:48 +01:00
tibbi
db8a88cbfe remove path scanning on viewpager activity 2018-02-09 18:41:22 +01:00
tibbi
ef51271909 properly scale drag_threshold based on device density 2018-02-09 18:40:40 +01:00
tibbi
b179c53940 fix #638, allow horizontal swipes through the brightness/volume slider 2018-02-09 18:32:35 +01:00
tibbi
4449b96d6e handle touch events in MediaSideScroll itself 2018-02-09 17:51:42 +01:00
tibbi
16e30e5969 make MediaSideScroll extend RelativeLayout 2018-02-09 17:12:31 +01:00
tibbi
2a2d37e221 fix some glitches with swiping to sides with Instant media change enabled 2018-02-09 16:41:17 +01:00
tibbi
a10fd3e876 fix #643, properly handle saving edited images with file uri 2018-02-08 21:11:22 +01:00
tibbi
316c8fc85d remove a redundant true 2018-02-08 20:52:36 +01:00
tibbi
71243ec05e adding some missing imports 2018-02-08 20:20:17 +01:00
tibbi
1bcbe96b04 replace GridLayoutManager with MyGridLayoutManager 2018-02-08 18:10:40 +01:00
tibbi
711c714686 catch exceptions thrown at getting device brightness 2018-02-08 18:07:52 +01:00
tibbi
4809f54bae lets just catch all exceptions thrown at storing folders json 2018-02-08 18:01:30 +01:00
tibbi
fb053fb487 disable image brightness gestures by default, it causes zooming issues 2018-02-06 16:59:52 +01:00
tibbi
c98658d069 store the info about directory location in the model itself 2018-02-05 11:15:09 +01:00
tibbi
f82550ae34 call searchQueryChanged only when search is open 2018-02-05 10:23:38 +01:00
tibbi
8d7853e4f0 catch exceptions thrown at trying to show the image on a map 2018-02-05 09:59:18 +01:00
tibbi
53d79ecea8 search for new media files in the folders, from which we already have files 2018-02-04 23:56:11 +01:00
tibbi
4597e888a5 try fixing TransactionTooLargeException on Android Nougat 2018-02-04 21:01:43 +01:00
tibbi
b2f54f0e6e add an optional extra check to avoid showing invalid files 2018-02-04 19:58:44 +01:00
tibbi
8effeedd7d catch and show exceptions thrown at fetching path of MediaActivity 2018-02-04 18:02:06 +01:00
tibbi
605cf6ae0f wteak the MediaSideScroll callback a bit 2018-02-04 12:57:40 +01:00
tibbi
42faaf51c1 delete file from mediastore on ViewPagerActivity in the background 2018-02-04 12:13:49 +01:00
Tibor Kaputa
2ca0bded2d
Merge pull request #623 from trubitsyn/drag-images
Allow changing the brightness by dragging on images
2018-02-04 11:58:53 +01:00
tibbi
8524970d6d add a toggle for preventing showing Whats New 2018-02-04 11:49:54 +01:00
Nikola Trubitsyn
d884da9b82 Allow to toggle photo gestures via settings toggle 2018-02-04 03:33:51 +03:00
Nikola Trubitsyn
467058583b Rename callback and allow it to be set externally 2018-02-02 17:07:49 +03:00
Nikola Trubitsyn
b735636ecf Remove unused comment 2018-02-02 16:52:58 +03:00
Nikola Trubitsyn
e91bc71ee0 Add an empty line to the end of MediaSideScroll.kt 2018-02-02 16:52:23 +03:00
Nikola Trubitsyn
330d501889 Remove Context from MediaSideScroll constructor 2018-02-02 16:50:19 +03:00
Nikola Trubitsyn
abd027e27b Use MediaSideScroll in PhotoFragment 2018-02-02 16:34:25 +03:00
Nikola Trubitsyn
ff66f36cda Move side scroll functionality to MediaSideScroll.kt 2018-02-02 16:28:13 +03:00
tibbi
fe7b425d79 store thumbnail data only if we arent loading them from cache 2018-01-31 19:23:03 +01:00
tibbi
96b93c4cb2 remove the file cleanup 2018-01-31 19:08:18 +01:00
tibbi
5a24c92c96 shorten the search close code 2018-01-31 19:01:57 +01:00
tibbi
c5cd4cb6a7 add the new toggles in Whats New 2018-01-29 00:11:53 +01:00
tibbi
7c7b7d254d disable "Temporarily show hidden" after 10 minutes of app backgrounding 2018-01-28 21:30:14 +01:00
tibbi
c3a7068806 store only 80 media files in shared prefs and catch OOMs 2018-01-28 21:15:36 +01:00
tibbi
c4c083b77f add a toggle for hiding extended details when the statusbar is hidden 2018-01-28 17:49:29 +01:00
tibbi
4e15f047c5 add an extra check to avoid removing valid files 2018-01-28 17:29:15 +01:00
tibbi
95e5480d03 add "const" modifier to some values 2018-01-28 16:49:05 +01:00
tibbi
b824023722 add a toggle for replacing zoomable images with better quality ones, related to #343 2018-01-28 16:39:12 +01:00
tibbi
d36ce4ab8d fix target resolution of fullscreen media in case the image is rotated 2018-01-28 16:20:15 +01:00
tibbi
5b709d0b70 disable eager loading and set serial executor at Subsampling 2018-01-28 12:51:38 +01:00
tibbi
a10bb5aa58 move Extended details related things in a separate Settings section 2018-01-28 12:27:56 +01:00
tibbi
9533204a50 add an option to change media instantly by clicking on screen sides 2018-01-27 23:35:28 +01:00
tibbi
246c0a0453 split Settings into subsections 2018-01-27 22:48:00 +01:00
tibbi
2df3c8065a use white color on placeholder text at b&w theme 2018-01-25 21:25:04 +01:00
tibbi
624682d791 update commons to 3.8.2 2018-01-23 18:55:38 +01:00
tibbi
96010b4c8e call scanPath and scanFile on contexts only to avoid leaks 2018-01-23 18:40:29 +01:00
tibbi
eac175a01e add one-finger zoom in release notes 2018-01-23 14:43:29 +01:00
tibbi
bd68292824 fix #441, rely on the system at "Device rotation" option 2018-01-23 14:25:18 +01:00
tibbi
41d0b0bef9 move thumbnail hashcode checking directly in adapters 2018-01-23 10:14:50 +01:00
tibbi
f19d6ada1f add a broadcast receiver for refreshing media at received broadcast 2018-01-22 23:43:42 +01:00
tibbi
7d4e413daa make mView at VideoFragment nullable 2018-01-22 21:30:44 +01:00
tibbi
8a31ad1b1c store the medium type in it, to improve performance 2018-01-16 16:58:58 +01:00
Tibor Kaputa
fe07154b97
Merge pull request #579 from gh123man/gh123man/fixCloseIfAllFoldersExcluded
fixed bug where app will close if all media is missing or excluded
2018-01-15 22:18:44 +01:00
Tibor Kaputa
2c890afe19
Merge pull request #581 from gh123man/gh123man/dontAllowExcludeOnShowAll
Dont allow exclude when showing all folder content
2018-01-15 22:10:08 +01:00
Brian Floersch
7b75df81ab dont allow exclude when showing all folder content 2018-01-15 16:01:22 -05:00
Brian Floersch
ec6a9b95f8 fixed bug where app will close if all media containing folders are excluded and view mode is changed to "show all folders content" 2018-01-15 15:39:54 -05:00
tibbi
ab7b086497 move the one finger zoom above Extended media settings 2018-01-15 00:14:11 +01:00
Brian Floersch
39e8541000 code review feedback 2018-01-14 17:48:00 -05:00
Brian Floersch
1942140187 added one finger zooming 2018-01-13 22:58:42 -05:00
tibbi
c07aeab3cb remove some redundant strings 2018-01-09 23:30:23 +01:00
tibbi
50003b38fb catch security exceptions at fillExtraOutput 2018-01-09 10:02:03 +01:00
tibbi
c930ed5cda store latestMediaId only when not from cache, should improve new media discovery 2018-01-09 00:19:11 +01:00
tibbi
fa28098500 do not set a default value used at redrawing media 2018-01-08 21:50:24 +01:00
tibbi
19a81d2566 reduce instant load duration to 2 seconds 2018-01-08 21:17:27 +01:00
tibbi
cabf495b38 fix thumbnail displaying 2018-01-08 20:48:52 +01:00
tibbi
0fa4cb5844 adding a null check at closing search 2018-01-08 13:25:01 +01:00
tibbi
78148990f0 replace some media adapter magic numbers with constants 2018-01-08 12:15:57 +01:00
tibbi
a96863c590 moving some menu related functions up 2018-01-07 23:24:21 +01:00
tibbi
d8e77da395 disable fullscreen media one-finger zoom to make double-click easier 2018-01-07 18:39:09 +01:00
tibbi
38ca5b84d7 add basic search to media view, related to #48 2018-01-07 17:48:25 +01:00
tibbi
4b2d41ec75 fix #555, check if file exists at viewpager activity 2018-01-07 16:57:04 +01:00
tibbi
3c06dfd431 fix #557, apply the password protection to Manage Hidden Folders 2018-01-07 16:40:20 +01:00
tibbi
b351de406b replace Delete with Remove at Manage excluded/included folders 2018-01-06 19:43:45 +01:00
tibbi
616d4098fc skip the thumbnail load delay in some cases 2018-01-06 19:02:42 +01:00
tibbi
4123f67ad3 rewrite scrolling to improve performance 2018-01-06 16:10:13 +01:00
tibbi
ad1a787a15 move the "Use english" button further in settings 2018-01-06 13:20:30 +01:00
tibbi
1204eea382 nope, do not use Glide for loading non-animating gifs 2018-01-04 18:40:44 +01:00
tibbi
129858119d use Glide for loading non-animating gifs 2018-01-04 18:05:37 +01:00
tibbi
247f057166 do not delete empty folders by default 2018-01-03 12:48:15 +01:00
tibbi
1b496b5632 move mediaplayer releasing back on main thread 2017-12-30 09:00:36 +01:00
tibbi
88d8f39118 handle whole bitmap saving in edit activity on a background thread 2017-12-29 22:20:10 +01:00
tibbi
f63a8eebac release video mediaplayer on a background thread 2017-12-29 22:17:09 +01:00
tibbi
46a143e4ac couple slideshow improvements 2017-12-29 22:07:47 +01:00
tibbi
422b1fb690 use the default zoom level if the image matches the screen 2017-12-29 21:42:25 +01:00
tibbi
30374930bd properly handle zooming at images rotated by exif 2017-12-29 21:35:13 +01:00
tibbi
bc848e077c improve some doubletap zoom ratios 2017-12-29 21:09:12 +01:00
tibbi
cd03b455dc sort the hidden folders by .nomedia last modified + fix threading 2017-12-29 18:17:33 +01:00
tibbi
865db7099f implement the hidden folder adapter for adding/removing items 2017-12-29 18:11:23 +01:00
tibbi
4240849151 add an activity for displaying hidden folders 2017-12-29 16:46:13 +01:00
tibbi
27e14b8fac show the Lock Orientation menu item only when the image isnt rotated 2017-12-29 15:47:58 +01:00
tibbi
d353f02a51 recycle the subsampling imageview on destroy 2017-12-29 15:46:15 +01:00
tibbi
da80d24606 do not check every file existence at fetching, just once a week do a cleanup 2017-12-29 15:28:33 +01:00
tibbi
4733bf95f9 use list() instead of listFiles() in some places 2017-12-27 10:10:14 +01:00
Tibor Kaputa
22abab9473
Merge pull request #524 from trubitsyn/patch-1
Camel case fix: tryloadGallery -> tryLoadGallery
2017-12-25 23:10:19 +01:00
Nikola Trubitsyn
0ebbad7fff
Resources.getActionBarHeight() fix return style
Uses the same return style as in the other functions
2017-12-26 01:07:01 +03:00
Nikola Trubitsyn
0bff18bb2c
Camel case fix: tryloadGallery -> tryLoadGallery 2017-12-26 00:42:37 +03:00
tibbi
16f913a026 handle storage permission at EditActivity 2017-12-25 12:08:36 +01:00
tibbi
6c7e406dad try removing temp folder only if the path isnt empty 2017-12-24 14:08:04 +01:00
tibbi
597e62b7a1 tweaking some uri permissions 2017-12-22 15:31:13 +01:00
tibbi
cdd9dcbae7 improve third party image picker intent handling 2017-12-22 13:09:34 +01:00
tibbi
3f88bb8e21 scan the included folder after adding on a background thread 2017-12-20 19:24:17 +01:00
tibbi
af586a209f create a copy of the mediafiles in the viewpager activity 2017-12-19 17:14:08 +01:00
tibbi
f96360a497 remove some seemingly redundant code at checking file paths individually 2017-12-19 12:27:05 +01:00
tibbi
3f72652ed8 avoid running 2 media fetching asynctasks 2017-12-19 12:20:03 +01:00
tibbi
8b9810bab9 use black status bar at fullscreen media when set so 2017-12-19 10:55:01 +01:00
tibbi
57e1678f1a fix #82, properly display MMS images 2017-12-18 23:46:42 +01:00
tibbi
4a91960875 flip the exif fetching functions, use the deprecated one first 2017-12-18 22:33:51 +01:00
tibbi
1c433b1ebf make sure we call getLatestMediaId from a background thread 2017-12-17 20:53:17 +01:00
tibbi
0ae0d8df12 also check file existence at Included folders, if size returns 0 2017-12-17 13:03:32 +01:00
tibbi
47046d3d11 properly fetch gif files 2017-12-17 12:27:11 +01:00
tibbi
bd0f540460 fix video autoplay in slideshows 2017-12-17 11:58:14 +01:00
tibbi
8843a4a006 handle onPageSelected called twice on every page change 2017-12-17 11:46:41 +01:00
tibbi
9751daa8af catch exceptions thrown at fetching image orientation 2017-12-17 10:53:55 +01:00
tibbi
ae7d3e3f18 use the helper function for checking if only one item is selected 2017-12-13 19:47:58 +01:00
tibbi
527edf3914 show proper bubble text at sorting by path 2017-12-06 21:59:56 +01:00
tibbi
eece8130cf update fastscroller bubble colors on resume 2017-12-06 21:50:08 +01:00
tibbi
e69703bd07 call layoutInflater on the activity directly 2017-12-06 19:05:47 +01:00
tibbi
2e13d381a1 use PhotoView at fullscreen media to allow zooming gifs and raws 2017-12-06 18:44:56 +01:00
tibbi
5e9ac3aaaa fix #448, update Commons to include Raw support 2017-12-06 17:08:57 +01:00
tibbi
bb2659d018 reference the SupportActionBar title at updating it 2017-12-06 16:44:54 +01:00
tibbi
0285b97a17 showd fastscroller bubble at horizontal scrolling tii 2017-12-06 16:42:06 +01:00
tibbi
fbcee2c7a0 couple code style updates 2017-12-06 16:10:21 +01:00
tibbi
04f1bbaffe add a toggle for showing info bubble at fastscroller 2017-12-06 14:42:17 +01:00
tibbi
da2db79913 show an info bubble at fastscroller dragging 2017-12-05 23:45:09 +01:00
tibbi
2341d0f009 update commons to 3.1.3 2017-12-05 23:28:04 +01:00
tibbi
6a94ac11bc moving some Menu related functions, no code change 2017-12-03 23:52:10 +01:00
tibbi
539d6ee16d rename extension files to start with capital letters, no functionality change 2017-12-03 21:56:11 +01:00
tibbi
9b5a52f66a allow selecting which wallpaper should be changed on Nougat+ 2017-12-01 23:48:19 +01:00
tibbi
a56bbbd54a simplify Leak Canary initialization 2017-12-01 23:35:36 +01:00
tibbi
e04c4da1d6 set translucent navigation bar programmatically where appropriate 2017-12-01 11:37:48 +01:00
tibbi
9fbbd902e8 update Commons with some dialog crashfixes 2017-12-01 11:04:26 +01:00
tibbi
84fee84349 lets provide Subsampling our own orientation 2017-12-01 10:04:57 +01:00
tibbi
2da5af065b fix #454, share multiple items properly, as images 2017-11-30 23:51:56 +01:00
tibbi
a7a473c172 fix #478, make sure photos are visible after unhiding 2017-11-30 23:45:01 +01:00
tibbi
c5b67785a6 update commons to 3.0.12 2017-11-30 19:38:07 +01:00
tibbi
48e78f529e rename mFragments to fragments at the pager adapter 2017-11-30 18:34:12 +01:00
tibbi
d595c590f0 update commons to 3.0.9 2017-11-30 18:26:04 +01:00
tibbi
b5b3648602 use a helper method for refreshing recyclerviews at delete 2017-11-30 16:37:06 +01:00
tibbi
df86b5d9ae update commons to 3.0.5 2017-11-30 14:58:27 +01:00
tibbi
e7aeb44256 small cleanup at the sorting dialog 2017-11-30 10:37:51 +01:00
tibbi
7f596a3993 fix #480, make sure drag selection is always available 2017-11-30 10:08:16 +01:00
tibbi
4936f04296 use the shared Splash activity 2017-11-29 20:26:23 +01:00
tibbi
15daa64cbd reenable leak canary 2017-11-27 20:32:57 +01:00
tibbi
6ebfb82e39 avoid decoding fullscreen images twice 2017-11-23 09:58:12 +01:00
tibbi
1b88318f46 catch OutOfMemory errors at GifDrawables 2017-11-23 09:44:26 +01:00
tibbi
1c7c95d579 comment out leak canary initialization 2017-11-23 09:43:14 +01:00
tibbi
2c2f0ea5f6 fix #470, avoid running 2 directory fetching async tasks at once 2017-11-23 09:07:10 +01:00
tibbi
015fde6a97 lets remove GlideDecoder for now, roll back to rgb_565 format 2017-11-23 08:45:20 +01:00
tibbi
aa2f8722ea delete items from the main activity and viewpager activity on background threads 2017-11-22 00:01:07 +01:00
tibbi
07d921330e save images in the editor on the background thread 2017-11-21 23:50:46 +01:00
tibbi
2b3223be08 use encoded video path only at passing it to the mediaplayer 2017-11-20 21:53:55 +01:00
tibbi
a3c680fc73 improve some double-tap zoom handling 2017-11-16 23:37:14 +01:00
tibbi
bdc61380a5 make it easier to keep the device in landscape mode 2017-11-16 23:02:49 +01:00
tibbi
69bc80fa4e rewriting the Included Folders to recyclerview too 2017-11-16 22:15:33 +01:00
tibbi
d596829fd6 rewrite ExcludeFolders activity to use a recyclerview 2017-11-16 22:05:44 +01:00
tibbi
27f00cfe3c improve some double-tap zoom ratios 2017-11-16 19:26:25 +01:00
tibbi
12e3f61574 catch outofmemory errors at gif loading 2017-11-16 14:56:14 +01:00
tibbi
1afddbc7bb update Commons to 2.39.9 2017-11-16 14:53:21 +01:00
tibbi
6f78a6e9ce rewriting MediaAdapter to the Commons MyRecyclerViewAdapter 2017-11-16 14:44:39 +01:00
tibbi
ee883d3acc update MyScalableRecyclerView to the new MyRecyclerView 2017-11-16 14:03:18 +01:00
tibbi
7dbdd163c1 add multidex support 2017-11-12 23:59:22 +01:00
tibbi
99dee5e7f1 update Commons to 2.38.8 2017-11-12 23:49:29 +01:00
tibbi
abbf25ddf8 make sure we show the Use English toggle when it was changed 2017-11-10 21:17:34 +01:00
tibbi
11fb678ede updating Release notes 2017-11-09 19:31:10 +01:00
tibbi
96065615b4 use some view visiblity extension functions 2017-11-09 19:14:51 +01:00
tibbi
ae9cce880a make sure extended details are always properly positioned 2017-11-09 19:09:31 +01:00
tibbi
80fadfec62 make videoFragment timeHolder nullable 2017-11-09 17:28:38 +01:00
tibbi
3e7d4b6f5b make resultData.data nullable at pick intent result 2017-11-09 17:23:47 +01:00
tibbi
f374cfde67 reenable GlideDecoder for loading fullscreen media 2017-11-09 17:14:28 +01:00
tibbi
e1ec8c5623 clean up some more things after usage at videofragment 2017-11-09 17:04:10 +01:00
tibbi
f657a64baa reset video SurfaceView and SurfaceHolder on destroy 2017-11-09 16:50:32 +01:00
tibbi
0048f9096b make sure we save the rotated image on the background thread 2017-11-09 16:47:36 +01:00
tibbi
0bb48601f4 remove some empty callbacks to avoid memory leaks 2017-11-09 14:50:05 +01:00
tibbi
aa5b5b3081 move the image saving things in a separate function to reduce indentation 2017-11-09 14:11:52 +01:00
tibbi
014c2b951d clear Glide cache after rotating an image, to avoid some glitches 2017-11-09 13:57:24 +01:00
tibbi
9141073ed6 try keeping old Last Modified after rotating when needed 2017-11-09 11:27:30 +01:00
tibbi
4efdb1a47a fix saving rotated images on the internal storage 2017-11-08 23:40:19 +01:00
tibbi
28e1d77f1b disable GlideDecoder for now 2017-11-08 23:29:33 +01:00
tibbi
c7bbeddae8 allow password protecting the whole app 2017-11-08 23:13:02 +01:00
tibbi
43d49beca0 split the Rotate button to 3 orientations 2017-11-08 21:22:35 +01:00
tibbi
b41f1e97e6 add a button at fullscreen media for locking screen orientation 2017-11-08 21:10:43 +01:00
tibbi
1a3d52e1c2 adjusting sensitivity of rotating by Device Rotation 2017-11-08 20:46:28 +01:00
tibbi
19a0621cab let's try using GlideDecoder at fullscreen media 2017-11-08 20:35:35 +01:00
tibbi
d0f7eb9fb1 reordering some ViewPagerActivity functions 2017-11-08 12:09:48 +01:00
tibbi
3a23e2b0bf add a toggle for forcing English language, if it isnt the device language 2017-11-08 12:08:36 +01:00
Tibor Kaputa
f62ee277a4
show the "Saving..." toast only when SAF dialog is handled 2017-11-07 23:55:17 +01:00
Guillaume
9a90787dbd
Adding handleSAFDialog for EXIF rotation 2017-11-07 23:08:20 +01:00
tibbi
54dca20bdb initialize leak canary in debug build 2017-11-07 17:31:40 +01:00
tibbi
add3760ed2 fix #440, upgrade to Android Studio 3 2017-11-07 17:11:20 +01:00
tibbi
932fc628a3 use applicationContext at launching settings 2017-11-06 23:59:09 +01:00
tibbi
1e69561e84 use applicationContext at getting a Config instance 2017-11-06 23:54:31 +01:00
tibbi
a8f1b88859 update commons to 2.36.1 2017-11-06 21:09:56 +01:00
tibbi
283121a046 fix #428, try url encoding video path if it throws IOException 2017-11-06 18:43:36 +01:00
tibbi
733e9403dd fix #420, increase the max column count to 20 2017-11-06 17:59:54 +01:00
tibbi
5c929f43ed do the empty path check earlier at PhotoVideoActivity 2017-11-06 17:29:03 +01:00
tibbi
124d44dfb9 fix #438, properly handle GET_CONTENT intent 2017-11-06 17:17:23 +01:00
tibbi
09ff1779e8 do not grant write_uri_permission at get_content result intent 2017-11-06 16:45:40 +01:00
tibbi
f06fe6a299 make orientationEventListener nullable 2017-11-06 16:25:58 +01:00
Tibor Kaputa
035f1ed715
Merge pull request #437 from ltGuillaume/patch-2
Rotation button fix
2017-11-03 22:30:02 +01:00
Guillaume
b4e43d1c21
Brackets and position fixed 2017-11-03 22:05:56 +01:00
Guillaume
4844e2c2d8
One more deleteFile to remove
...now I understand `return@getFileOutputStream`.
2017-11-03 22:00:28 +01:00
Guillaume
598eeb154d
Improvements as suggested 2017-11-03 21:57:56 +01:00
Guillaume
1aa9ebe286
Rotation button fix
When rotating is initiated, show rotate button permanently to facilitate further rotation. Also, prevent accidental click on Delete when the option "replace share with rotate" is enabled.
2017-11-03 21:36:17 +01:00
Guillaume
63d39b589a
Working EXIF lossless on Internal & SD
Tested and works on both Internal Storage and External SD cards
2017-11-03 17:01:13 +01:00
tibbi
2ada4af2bf catch exceptions thrown by GifDrawable, load them as simple jpgs 2017-11-02 16:23:20 +01:00
tibbi
9d8dd61dfa style update + wrap gifDrawables in try/catch 2017-11-02 09:43:49 +01:00
tibbi
b72686cefd updating the way photos are rotated and saved 2017-11-01 23:38:19 +01:00
Guillaume
1cecff008c
OCD :-P 2017-11-01 16:12:27 +01:00
Guillaume
76a9dfe6c7
.isJpg() 2017-11-01 14:52:49 +01:00
Guillaume
fdc1063838
Update ViewPagerActivity.kt
- Removed  `mRotationDegrees != 0f` check, because save buttton wouldn't have shown anyway
- Check if output file is written
- Added helpers functions (with `.toString()` instead of using `""+`)
2017-11-01 14:51:11 +01:00
Guillaume
25bd77bd12
Lossless rotation
Possible issue: even though most EXIF tags keep their original value, some of them are changed by android.media.ExifInterface. it.sephiroth.android.library.exif2.ExifInterface did the same, but to different values and/or with different results.
2017-11-01 04:52:29 +01:00
tibbi
27476a0735 lets show Set As and Edit button at videos too, why not 2017-10-29 20:19:12 +01:00
tibbi
4c80ba98fb move a couple more intent handling to the Commons library 2017-10-29 19:08:45 +01:00
tibbi
437390cfa3 create a shareUris extension for sharing multiple media 2017-10-29 18:37:38 +01:00
tibbi
02dfcd63c0 reuse shareUri at shareMedium 2017-10-29 18:35:08 +01:00
tibbi
73856e6769 reuse the OpenFile intent handling from Commons 2017-10-29 18:28:28 +01:00
tibbi
972a1d4a39 show Properties button at PhotoVideoActivity only with file content uri 2017-10-29 12:51:04 +01:00
tibbi
809d9b81a2 some corrections to loading gifs 2017-10-29 12:27:26 +01:00
tibbi
b421dc273f replace MEDIUM constant with PATH in some intents 2017-10-29 11:41:31 +01:00
tibbi
d52eb60611 use REAL_FILE_PATH from the commons library 2017-10-29 11:26:14 +01:00
tibbi
96a5ead186 make mUri in PhotoVideoActivity nullable 2017-10-29 10:34:37 +01:00
tibbi
de1c418f78 catch exceptions thrown at getting mimetype from uri 2017-10-29 10:29:57 +01:00
tibbi
4f2b05c2a0 adding the new toggle to Whats New 2017-10-28 22:04:53 +02:00
tibbi
788885227a added a fake drag check at slideshow 2017-10-28 22:02:17 +02:00
tibbi
1dad41fdf7 show an error if the user tries sharing too much data 2017-10-28 19:56:33 +02:00
tibbi
75c9d28547 make sure the video fragment still exists when the video completes 2017-10-28 19:05:51 +02:00
tibbi
883e3ad6c1 add a check if the owner file from extended details exists 2017-10-28 19:04:30 +02:00
tibbi
b1019af51b fix #320, make orientation by "Device rotation" less sensitive 2017-10-28 18:39:26 +02:00
tibbi
7390a02589 remove some redundant imports 2017-10-28 17:55:36 +02:00
tibbi
05dfced1bc add a toggle in Settings to set keeping last-modified value 2017-10-28 17:50:50 +02:00
tibbi
729eb36ca5 do not set videoFragment visibility to false on pause 2017-10-28 16:22:44 +02:00
tibbi
977edc1f34 some cleanup around thumbnail loading 2017-10-28 14:11:01 +02:00
tibbi
4b4869e845 init the viewpager orientation listener earlier 2017-10-28 13:46:53 +02:00
tibbi
4fedc05571 use GifDrawables at thumbnails too 2017-10-28 13:27:50 +02:00
tibbi
1c3aab82ff use a simple ImageView at photo fragments 2017-10-28 12:56:57 +02:00
tibbi
286955ab83 replace PhotoView with GifDrawable
it will replace zoomable gifs with smooth gifs
2017-10-28 11:02:02 +02:00
tibbi
84263a3b10 never force chooser at Edit intent 2017-10-27 14:08:50 +02:00
tibbi
c9f6668fc1 force an app chooser at some openFile intents 2017-10-27 14:08:33 +02:00
tibbi
b6a266d436 always set saveUri at editor activity 2017-10-27 14:02:11 +02:00
tibbi
b3427c57ab adding a properties menu button to photovideoactivity 2017-10-27 11:47:00 +02:00
tibbi
0b352f1bc0 add a null check to intent extras at photovideoactivity 2017-10-27 10:56:36 +02:00
tibbi
c520c8c557 send real filepath as an extra with View intent 2017-10-27 10:54:49 +02:00
tibbi
98bee4022e replace sending real_file_path with extra_output at the editor 2017-10-27 10:34:16 +02:00
tibbi
f0af8777a3 send the real file path with edit intent 2017-10-27 10:07:58 +02:00
tibbi
b98b6e6cb9 add Set As to the media thumbnails view 2017-10-27 09:36:41 +02:00
tibbi
8e8c0b127d add an Open With menu button to media thumbnails view 2017-10-27 09:33:17 +02:00
tibbi
fa2a237593 update target SDK to 26 and handle fileprovider 2017-10-26 23:43:13 +02:00
tibbi
8686022c89 set initial mIsFragmentVisible to true at third party intents 2017-10-26 17:24:52 +02:00
tibbi
7f10f67c7b fix #386, automatically append "_1" after the filename when saving in editor 2017-10-26 10:10:11 +02:00
tibbi
54515b47d8 adding the Folder media count toggle to Whats new 2017-10-24 23:36:44 +02:00
tibbi
3e7d67a3a2 update commons, use our custom map for determining file mimetype 2017-10-24 22:57:04 +02:00
tibbi
7ad578ec2e make sure we are selecting existing indexes at media and directory adapters 2017-10-24 22:20:50 +02:00
tibbi
498cd10ba6 add a medium null check at scrollStateChanged trigger 2017-10-24 21:53:28 +02:00
tibbi
aca83d7fad hide the Extended details if text is empty 2017-10-24 21:18:33 +02:00
tibbi
06b3c728ce no need to update last modified manually afer renaming on internal storage 2017-10-23 23:52:37 +02:00
tibbi
baed126550 fix some video playback issues on Android 7 2017-10-23 21:30:24 +02:00
tibbi
012e091349 minor code cleanup at videofragment 2017-10-23 19:39:43 +02:00
tibbi
5cd3fdf57f implement the Show Media Count toggle functionality 2017-10-23 17:26:33 +02:00
tibbi
208d005139 update commons to 2.31.1 2017-10-23 12:09:55 +02:00
tibbi
608292a357 update Commons and use its way of getting mimetype of multiple uris 2017-10-22 22:57:53 +02:00
tibbi
a4b24a7deb update Commons for easy runtime permissions handling 2017-10-21 19:40:46 +02:00
tibbi
f2538baceb updating release notes 2017-10-19 21:31:23 +02:00
tibbi
0400612f86 replace some GlobalLayoutListeners with the helper view extension 2017-10-19 21:24:32 +02:00
tibbi
fd6f709aac add a variable name for delete confirmation callback return value 2017-10-19 21:07:24 +02:00
tibbi
0c408f6cf0 add a checkbox for skiping confirmation dialog at delete in a session 2017-10-19 21:03:19 +02:00
tibbi
5441457611 do not finish the actionmode right after a delete attempt, because of saf 2017-10-19 20:25:56 +02:00
tibbi
1d56b2ac8b show a more specific error message when creating .nomedia file fails 2017-10-19 19:18:36 +02:00
tibbi
2dbbc2bbdb add an extra check at creating .nomedia file on the SD card 2017-10-19 19:13:12 +02:00
tibbi
7132e09047 allow selecting Cover photo from any folder 2017-10-19 18:08:37 +02:00
tibbi
021a1cbf74 rewrite the mediapicker dialog, make it work like picking directories 2017-10-19 17:24:14 +02:00
tibbi
906168c6b5 filter out videos from directory cover images immediately 2017-10-19 17:05:59 +02:00
tibbi
7fe9a27b84 fix #141, properly handle extended details view at toggling fullscreen 2017-10-19 15:49:27 +02:00
tibbi
bb9b194d2c recheck extended details if some fields changed 2017-10-19 14:17:38 +02:00
tibbi
d78068d697 display only the wanted extended details fields 2017-10-19 14:14:09 +02:00
tibbi
3f008960de add the dialog for customizing extended details 2017-10-18 23:38:35 +02:00
tibbi
3fffe1eef1 properly show/hide extended details after toggle 2017-10-18 22:00:27 +02:00
tibbi
2e339f08e4 show extended details at photos/videos if appropriate 2017-10-18 21:54:08 +02:00
tibbi
90e3d6c6f5 add a toggle for showing extended details over fullscreen media 2017-10-18 19:34:31 +02:00
tibbi
3033f611a1 allow sorting items by path 2017-10-18 17:56:14 +02:00
tibbi
f015984385 remove a Directory helper function addSize 2017-10-18 17:41:20 +02:00
tibbi
5547679004 improve the hack for proper displaying of media on Android 4 2017-10-07 16:58:56 +02:00
tibbi
f48d408b18 lets show SD card images to Android 4 users too 2017-10-06 18:20:13 +02:00
tibbi
71fa5ec235 minor style update 2017-10-05 19:12:04 +02:00
tibbi
9af74b9096 fetch storage paths asap 2017-10-04 19:27:32 +02:00
tibbi
dd9bef298f minor code cleanup 2017-10-04 19:03:43 +02:00
tibbi
c2ea3ad4bb stop media fetching on pause only if its not our first time there 2017-10-04 18:53:45 +02:00
tibbi
56f513beca fix a glitch at allowing adding multiple items to an email attachment 2017-10-03 20:40:07 +02:00
tibbi
fa7b95e0af fix displaying some special cases of third party images, like Bluemail attachment 2017-10-03 20:29:26 +02:00
tibbi
74edee735a fix #381, handle media pick intents in Show All Folders content view 2017-10-02 22:47:23 +02:00
tibbi
4203939d62 fix #378, allow adding multiple items as email attachments 2017-10-02 18:27:42 +02:00
tibbi
cd75718d56 try adding missing media files in the mediastore by scanning it 2017-10-01 09:16:31 +02:00
tibbi
95f26a13cf updating Whats new 2017-10-01 00:07:22 +02:00
tibbi
80b6279f83 fix some layout manager glitch at list view with horizontal scrolling 2017-10-01 00:03:17 +02:00
tibbi
e4b77eacb0 fixing some fastscroller glitches 2017-09-30 23:56:28 +02:00
tibbi
6e6af530bf do not clear mMedia if the intent came from the gallery itself 2017-09-30 23:39:04 +02:00
tibbi
b7cb6a5364 make viewPager nullable during fake drag 2017-09-30 22:55:25 +02:00
tibbi
0ef9ff06bf refresh directories instantly after un/pinning 2017-09-30 22:33:58 +02:00
tibbi
5c7dfb87be stop media fetching on the calling activity pause 2017-09-30 22:23:28 +02:00
tibbi
7cc1a9ce17 move the media fetching related functions in a separate class 2017-09-30 22:06:32 +02:00
tibbi
1390d9541c try caching 100 items per folder, up from 40 2017-09-30 21:05:20 +02:00
tibbi
e67253ccae clear selection at folders and media, if content changes 2017-09-30 21:04:21 +02:00
tibbi
50a693d5e6 do not trigger click event at swiping at videos 2017-09-30 20:49:08 +02:00
tibbi
3d674c65ba properly update text color at list view, if it changes 2017-09-30 20:32:58 +02:00
tibbi
73bcad0f68 try using adapterPosition instead of layoutPosition in recyclerView adapters 2017-09-30 20:24:18 +02:00
tibbi
99da56deec use a different video icon at list view, without fill 2017-09-29 23:54:23 +02:00
tibbi
1cd68fe9a0 color icons and texts in list views appropriately 2017-09-29 23:46:09 +02:00
tibbi
d89ebec57a remove a redundant function 2017-09-29 23:28:55 +02:00
tibbi
c8c09e0911 add the list view type handling in media activity 2017-09-29 23:22:52 +02:00
tibbi
216e51beff rename photo_video_item to photo_video_item_grid 2017-09-29 22:52:30 +02:00
tibbi
d7eaaa070d show folder path at the list view 2017-09-29 21:57:24 +02:00
tibbi
9947d661a3 refresh the folders at changing view type 2017-09-29 21:47:27 +02:00
tibbi
da00ed8422 add a divider between folders 2017-09-29 21:31:12 +02:00
tibbi
c9e355eecf adding an initial implementation of directory_item_list 2017-09-28 23:17:53 +02:00
tibbi
2eabff531b hide the menu buttons for changing column count at list views 2017-09-28 21:55:33 +02:00
tibbi
5e733a44c3 use the directory grid view by default 2017-09-28 21:51:14 +02:00
tibbi
74d179f86d minor code style updates 2017-09-28 21:48:08 +02:00
tibbi
9c5c359e4d rename directory_item to directory_item_grid 2017-09-28 21:28:42 +02:00
tibbi
fc3565129d add the dialogs for changing the view type 2017-09-28 21:04:24 +02:00
tibbi
33a4b81279 replace lastModified mediaitem checking with latest media date taken 2017-09-27 23:58:30 +02:00
tibbi
373e06c98f ignore the root folders at fetching media 2017-09-27 23:10:14 +02:00
tibbi
dfdfd88941 fix #181, add fingerprint protection to hidden folder showing 2017-09-27 21:50:42 +02:00
tibbi
80f6df5e29 do not autosave rotated images, related to #372 2017-09-25 23:53:15 +02:00
tibbi
64f8d37544 fix #370, make sure only the proper items are shown in "All media" view 2017-09-25 23:26:26 +02:00
tibbi
d8811d66b8 move some media getting functions in Context extensions 2017-09-25 23:19:17 +02:00
tibbi
fcad1f6fa5 properly hide hidden folders 2017-09-25 23:01:02 +02:00
tibbi
c242f74f9b fix some glitches with incasesensitive paths at directories 2017-09-25 22:55:22 +02:00
tibbi
417c1169f8 just quickly resort directories at sorting change, when possible 2017-09-25 22:34:58 +02:00
tibbi
0da84f2958 change the way directories are grouped and sorted 2017-09-25 21:04:09 +02:00
tibbi
9d9866c1d2 use simple asynctask execute() at fetching directories 2017-09-25 20:42:47 +02:00
tibbi
7a653ec0c6 some code style update at the Directory and Medium classes 2017-09-24 22:51:03 +02:00
tibbi
aa16084192 use layoutPosition at directory and media adapters 2017-09-18 20:25:03 +02:00
tibbi
6ed100e204 do not use GlideDecoder at SubsamplingScaleImageView for now 2017-09-18 10:31:45 +02:00
tibbi
56a31e6ced fix #326, properly set bottom padding in landscape mode videos 2017-09-17 11:17:51 +02:00
tibbi
2fe1f91c87 moving a toast further 2017-09-17 11:07:14 +02:00
tibbi
ae6ea422ac change the way we get layout position in adapters 2017-09-17 10:50:23 +02:00
tibbi
ea74fcf2c4 disable swipe-to-refresh in horizontal scrolling 2017-09-16 22:13:15 +02:00
tibbi
9247b51194 lets not toast errors if loading fullscreen media fails 2017-09-16 20:37:18 +02:00
tibbi
f7e7d83382 do not force ARGB_8888 format at fullscreen media 2017-09-16 20:20:43 +02:00
tibbi
8f8dd04920 simplify the squareImageView creation 2017-09-15 23:22:33 +02:00
tibbi
6f3fd675e2 remove some empty spaces 2017-09-15 15:48:18 +02:00
tibbi
0af594ee0b use glide rotate transformation only when needed 2017-09-14 15:40:33 +02:00
tibbi
bc82d940b1 update commons to 2.27.11 2017-09-11 22:44:04 +02:00
tibbi
28ccfb6fe1 add a file.exists() check too 2017-09-11 21:34:23 +02:00
tibbi
624c0e2d08 check the filesize only after checking the file type 2017-09-11 21:34:15 +02:00
tibbi
ffcd632bad small code style update 2017-09-11 21:15:59 +02:00
tibbi
832d549fed remove the manual setting of max tilesize to 10000 2017-09-10 21:50:58 +02:00
tibbi
316566b09c clear media on destroy at third party intents 2017-09-10 19:59:37 +02:00
tibbi
5273ea431b show an error toast if something breaks during loading the image 2017-09-10 18:57:04 +02:00
tibbi
188e2f1254 catch exceptions thrown at ViewPagerActivity 2017-09-07 21:34:44 +02:00
tibbi
2c2ae9b6c4 tweak the functionality of Glide ImageDecoder 2017-09-06 11:12:52 +02:00
tibbi
51b4d9981f try removing temp folder at app start too, if available 2017-09-05 22:23:15 +02:00
tibbi
54a4d29233 show the temp folder at Copy/move dialog too 2017-09-05 22:18:46 +02:00
tibbi
189f9b7410 store the new folder path in shared prefs, so its more accessible 2017-09-05 21:58:22 +02:00
tibbi
551fc3a1c6 make sure the new directory is the first one 2017-09-05 21:43:21 +02:00
tibbi
2aab1ba5e5 add a menu button for easier new folder creating 2017-09-05 21:11:50 +02:00
tibbi
8ea418dad6 add an option to loop slideshows 2017-09-05 20:04:09 +02:00
tibbi
848c6c5667 show an error toast earlier if every media is filtered out at slideshow 2017-09-05 16:29:51 +02:00
tibbi
067798e5c2 use different toggles for photos and gifs at the slideshow setup 2017-09-05 16:06:42 +02:00
tibbi
ac1c84d279 do not clear mMedia after third party intents 2017-09-05 15:45:35 +02:00
tibbi
1397c2d48b update the way we are selecting media at share 2017-09-05 15:39:11 +02:00
tibbi
a663b89665 do not trigger the brightness and volume slider so agressively 2017-09-05 15:14:44 +02:00
tibbi
a1cda024c7 slow down the swipe speed during slideshow 2017-09-05 14:35:30 +02:00
tibbi
f4d9ab0ff5 use the GlideDecoder at SubsamplingScaleImageView 2017-09-05 10:20:15 +02:00
tibbi
467f603ba1 rename rotation to orientation at exif changes 2017-09-05 09:53:51 +02:00
tibbi
b1c1d131d9 properly allow excluding or including the root folder 2017-09-04 21:52:48 +02:00
tibbi
619647b16a update commons to 2.27.8 2017-09-04 20:08:07 +02:00
tibbi
d0d65b2a42 remove some invoke calls 2017-09-02 19:53:18 +02:00
tibbi
f6c8dbd444 creating GlideDecoder, to be used with subsamplingscaleimageview 2017-09-01 21:28:36 +02:00
tibbi
9656fc92f5 updating the release notes 2017-09-01 15:26:18 +02:00
tibbi
bfad77b597 minor code style updates 2017-09-01 15:17:11 +02:00
tibbi
2a76929312 properly delete empty folders from SD card too 2017-09-01 12:21:31 +02:00
tibbi
01495680cb fix #333, add a switch for disabling video gestures 2017-09-01 11:51:11 +02:00
tibbi
9fe361ea62 fix #341, add a switch for not deleting empty folders 2017-09-01 11:37:56 +02:00
tibbi
bc281dd102 properly show third party image, even if its not in mediastore 2017-09-01 11:14:00 +02:00
tibbi
c04f887229 temporarily show excluded folders if needed, for example at third party intents 2017-09-01 10:33:51 +02:00
tibbi
b455721b17 some code style updates 2017-08-31 16:22:19 +02:00
tibbi
c7307ce523 add the slash after included/excluded folders at init 2017-08-31 14:37:13 +02:00
tibbi
6b61883214 add the slash after nomedia folders right at fetching 2017-08-31 14:28:15 +02:00
tibbi
416f459bc5 improve the checks if the file is a gif 2017-08-31 12:21:14 +02:00
tibbi
fe09961c61 simplify the uri getter at sharing media 2017-08-31 09:35:18 +02:00
tibbi
7271ac59b9 adding a crashfix 2017-08-29 23:25:44 +02:00
tibbi
8e3b26fa2a updating Whats new 2017-08-29 00:00:22 +02:00
tibbi
21a2e2a6b1 add placeholders when no media is shown because of filters 2017-08-28 23:57:48 +02:00
tibbi
ab35c970b9 show the swipeRefreshLayout spinner at loading images after filtering change 2017-08-28 23:12:07 +02:00
tibbi
c48fef5bb8 show a dialog mentioning app reinstall in case the password is forgotten 2017-08-28 22:54:27 +02:00
tibbi
e33206b084 make sure we always show manually included folders, even if somehow hidden 2017-08-28 20:56:02 +02:00
tibbi
60ed21702f fix #335, properly show hidden files if open through a file manager 2017-08-28 20:43:39 +02:00
tibbi
7046fc9ed4 fix #328, properly handle GIF filtering 2017-08-28 14:16:30 +02:00
tibbi
d954dc0d5a adding the Filter Media dialog 2017-08-28 14:11:34 +02:00
tibbi
272d45b3f4 move the Media filtering from Settings to an actionmenu item 2017-08-28 13:33:46 +02:00
Guido Arnau
566e4ea2b3 Fixes Crash on Android API 16 (Jelly Bean)
Check that the version is greater than API 16 when calling
Activity.isDestroyed()
2017-08-27 21:22:26 +01:00
tibbi
32b6a87440 show included folders content only when appropriate 2017-08-11 13:39:35 +02:00
tibbi
bd03e4a176 fix #319, show a folder if its both excluded and included 2017-08-11 13:25:56 +02:00
tibbi
9398c9be76 fix up folder Inclusion, check if its not empty 2017-08-11 11:48:22 +02:00
tibbi
48251a04c0 add volume and brightness change in release notes 2017-08-07 23:41:32 +02:00
tibbi
b0562e7ed1 allow controlling the brightness with sliding too 2017-08-07 21:56:25 +02:00
tibbi
c857c17f50 improve the volume slider ux 2017-08-06 22:35:19 +02:00
tibbi
8aaf1df568 show the current volume if changed via sliding 2017-08-06 20:36:15 +02:00
tibbi
622ebde68f tweak the volume setter a bit 2017-08-06 19:39:11 +02:00
tibbi
af84b8e9e3 allow changing the volume by finger dragging on the right side of the video 2017-08-06 18:35:28 +02:00
tibbi
dc42dd566f show hidden items in viewpager only if the selected item is hidden 2017-08-06 16:54:58 +02:00
tibbi
15c20ab758 add a volume slider at the video fragments right side 2017-08-06 16:44:00 +02:00
tibbi
1074043c93 update commons to 2.25.1 for proper alphanumeric sorting 2017-08-06 14:08:17 +02:00
tibbi
a493595207 compare directory paths incasesensitively on the first screen 2017-08-06 13:38:54 +02:00
tibbi
7fa71c5302 add null checks at toggleItemSelection of adapters 2017-08-06 12:21:31 +02:00
tibbi
6ed4c15f9e added slideshow to release notes 2017-08-05 18:22:15 +02:00
tibbi
9ee1273995 fix #171, change multiselector to use colored circle Check icons 2017-08-05 17:02:18 +02:00
tibbi
15159de4e9 add colored background to the currently selected directory thumbnail 2017-08-05 16:55:12 +02:00
tibbi
fa775e35e3 replace the selected directory foreground marker with a temporary check icon 2017-08-05 16:34:49 +02:00
tibbi
5b3fa44432 add a new slideshow setup toggle for including photos 2017-08-05 16:12:19 +02:00
tibbi
3f1cfab633 properly handle launching videos in slideshows 2017-08-05 15:53:02 +02:00
tibbi
74e6c69473 filter out videos, or shuffle the media at slideshow when appropriate 2017-08-05 14:52:42 +02:00
tibbi
3757616a47 hide the keyboard at togglig a slideshow setup checkbox 2017-08-05 14:05:51 +02:00
tibbi
c47ddc536d show a toast if the slideshow ended + implement moving backwards 2017-08-05 13:34:30 +02:00
tibbi
e3a5b9356e adding a new slideshow option, moving backwards 2017-08-05 12:33:57 +02:00
tibbi
86a5107cc6 adding some basic slideshow functionality 2017-08-05 12:27:48 +02:00
tibbi
1d04016c9b create the system for toggling the slideshow 2017-08-04 23:10:22 +02:00
tibbi
1dec1b7457 store values set at the slideshow setup dialog 2017-08-04 22:53:43 +02:00
tibbi
c06fe43a68 adding an initial slideshow setup dialog 2017-08-04 21:19:04 +02:00
tibbi
8ff6c8d1f7 adding a slideshow menu button 2017-08-04 20:36:29 +02:00
tibbi
3fe5aaa451 move the protection related things in the Commons library 2017-08-03 23:43:04 +02:00
tibbi
4bfe5953d0 added pattern/pin protection to release notes 2017-08-02 23:47:31 +02:00
tibbi
53948f8d90 properly color the Check icon at the pin tab 2017-08-02 23:25:11 +02:00
tibbi
f269c70e56 make fragment in photoVideoActivity nullable 2017-08-02 23:14:56 +02:00
tibbi
ae3555b1c5 add some array size checks at deleting from media/directory view 2017-08-02 23:12:48 +02:00
tibbi
6e1f56f864 do not allow swiping the protection viewpager when a password is set 2017-08-02 22:56:26 +02:00
tibbi
51f07c9fa6 store the protection type too, pattern/pin 2017-08-02 22:14:05 +02:00
tibbi
f0ace2f57d add the functionality to the PIN fragment 2017-08-02 00:00:32 +02:00
tibbi
805633dfb6 move the HashListener interface in a separate file 2017-08-01 23:34:28 +02:00
tibbi
2684fde107 show asterisks at inserting pin 2017-08-01 22:18:12 +02:00
tibbi
16a5637d71 add the numbers grid at the Pin tab 2017-08-01 21:53:59 +02:00
tibbi
67d6b0482e add asterisks at entering pin code 2017-07-31 22:44:55 +02:00
tibbi
b10306a9b9 use the primary color for selecting tablayout current item 2017-07-31 22:24:48 +02:00
tibbi
05da8af5e0 sync the viewpager with tablayout at the security dialog 2017-07-31 22:10:32 +02:00
tibbi
615c49407d rename PatternDialog to SecurityDialog 2017-07-31 22:00:22 +02:00
tibbi
9099aa176d remove some redundant variables 2017-07-30 23:13:02 +02:00
tibbi
02ee4dcc03 create a viewpager for switching between pattern/pin protection 2017-07-30 23:07:53 +02:00
tibbi
a55943f0f0 make the temporary hidden visibility toggling clearer 2017-07-29 22:08:12 +02:00
tibbi
5811f0dc56 adding the Pattern lock view license 2017-07-29 22:06:24 +02:00
tibbi
f789ecdf02 apply the pattern protection to temporarily showing hidden folders too 2017-07-29 21:56:45 +02:00
tibbi
2b518ec4f2 protect toggling Show hidden media with the pattern when appropriate 2017-07-29 21:48:55 +02:00
tibbi
f039afaca6 require the pattern for disabling password protection 2017-07-29 21:20:21 +02:00
tibbi
fff519b521 adding a pattern protection to the toggle button 2017-07-29 20:13:19 +02:00
tibbi
d9056ed057 add the password protection toggle button 2017-07-29 17:48:25 +02:00
tibbi
8e5cdf78cd updating release notes 2017-07-09 23:27:19 +02:00
tibbi
9ea9c77294 add a toggle for replacing Share with Rotate at fullscreen media 2017-07-09 20:34:14 +02:00
tibbi
dfb382adeb add an additional share menu button to fullscreen view 2017-07-09 20:17:57 +02:00
tibbi
5c88ce9fa8 update PhotoView to 2.1.2 2017-07-09 19:47:54 +02:00
tibbi
ce41e5b7b9 convert mMedia to a mutable list before providing to MyPagerAdapter 2017-07-09 13:58:08 +02:00
tibbi
3df76261e0 fix #302, add a toggle for disabling leak canary 2017-07-09 09:28:26 +02:00
tibbi
13980f9a8e make sure we populate the viewpager from the main thread 2017-07-02 09:07:34 +02:00
tibbi
2acbc1a02e add some activity checks at clearing Glide load 2017-07-02 08:52:31 +02:00
tibbi
8f628e33a4 replace top margin with padding at the destination directory picker 2017-07-01 11:46:40 +02:00
tibbi
61fb25332d add a menu button for disabling Temporarily show hidden 2017-07-01 10:04:47 +02:00
tibbi
5b5f81fda5 update Commons and Glide 2017-07-01 00:04:31 +02:00
tibbi
b6b3a8f4af reenable fullscreen image fast loading 2017-06-29 19:09:20 +02:00
tibbi
e7dd7185e2 updating release notes 2017-06-29 19:05:49 +02:00
tibbi
02c651581e disable fast loading of fullscreen images for a test build 2017-06-29 19:04:08 +02:00
tibbi
3ec99cd43b fix #263, add an indicator to directories located on sd cards 2017-06-28 23:56:07 +02:00
tibbi
7b8640a77a use the previous way of image rotating at sd card files and non jpgs 2017-06-28 22:58:52 +02:00
tibbi
d3d64865af couple changes related to toggling fullscreen 2017-06-28 21:56:36 +02:00
tibbi
bb81275b79 make mediaplayer at onStopTrackingTouch of video fragment nullable 2017-06-27 22:36:39 +02:00
tibbi
3c37407315 modify exif metadata at rotating image from fullscreen mode + autosave it 2017-06-27 22:35:21 +02:00
tibbi
3a4f05ba91 hide the video seekbar too if initial system ui hiding is enabled 2017-06-26 23:56:48 +02:00
tibbi
49df8130cf changing the current fragment retriever at viewpager activity 2017-06-26 23:30:32 +02:00
tibbi
66561179bd adding the automatic system ui hiding in the release notes 2017-06-26 23:26:51 +02:00
tibbi
f282c5b0af call notifyDataSetChanged on the viewpager adapter earlier 2017-06-26 23:24:44 +02:00
tibbi
a0b9dc7754 do not allow long pressing items if its a third party pick intent 2017-06-26 23:15:09 +02:00
tibbi
bbdf72b52e hide system ui at opening fullscreen media if set so 2017-06-26 23:03:10 +02:00
tibbi
c42be23acc add a toggle for hiding system ui at fullscreen media automatically 2017-06-26 22:52:00 +02:00
tibbi
19a2aa71bf make adapters nullable at resume too 2017-06-26 22:30:36 +02:00
tibbi
f14d34a3e4 make adapters at changing column counts nullable 2017-06-26 22:27:35 +02:00
tibbi
b8a4c2a1b0 adding horizontal scrolling to release notes 2017-06-24 23:15:55 +02:00
tibbi
52c636f176 recheck scroll direction on resume 2017-06-24 22:57:20 +02:00
tibbi
f2b1ef2c3b handle horizontal scrolling at copy/move destination picker too 2017-06-24 22:07:47 +02:00
tibbi
5604d1f8b5 adding support for horizontal scrolling 2017-06-24 21:42:53 +02:00
tibbi
71249d0a1e fill the viewpager at the viewpager activity only when its ready 2017-06-24 19:04:00 +02:00
tibbi
e87cc4a86d add an extra check at initializing video media player at menu visibility change 2017-06-24 18:56:38 +02:00
tibbi
09441f80c7 couple adapter changes 2017-06-20 22:41:27 +02:00
tibbi
e8168db2f7 use the MyScalableRecyclerView from the commons lib 2017-06-20 21:22:42 +02:00
tibbi
c6066bcdc4 remove the static variables from MyScalableRecyclerView 2017-06-20 21:02:58 +02:00
tibbi
aed1d64e43 make drag selection at recyclerview disabled by default 2017-06-20 20:51:30 +02:00
tibbi
54c56c559e make zooming disabled by default in the recyclerview 2017-06-19 23:41:57 +02:00
tibbi
12a0cb9f0a add a null check at photo fragment 2017-06-19 07:45:36 +02:00
tibbi
034f3b5c56 make sure mSurfaceView isnt null when initing media player 2017-06-19 07:44:10 +02:00
tibbi
a3876f67cd update the way of retrieving default column counts 2017-06-18 23:33:52 +02:00
tibbi
a2e9c53d8e update some counts of default columns 2017-06-18 23:18:50 +02:00
tibbi
1402de7a3d check thumbnail scrolling on resume 2017-06-18 23:13:06 +02:00
tibbi
6dd4be62d8 avoid refetching media at changing some settings 2017-06-18 22:21:54 +02:00
tibbi
048acd9b03 properly refresh thumbnails at changing column count 2017-06-18 22:15:16 +02:00
tibbi
435a7693e5 send the scroll orientation to thumbnails 2017-06-18 21:44:53 +02:00
tibbi
5319a184f3 small cleanup at thumbnail adapters 2017-06-18 21:40:00 +02:00
tibbi
2734fe9615 add a toggle for scrolling thumbnails horizontally 2017-06-18 21:16:40 +02:00
tibbi
5be34f27ee set thumbnail holder properties based on the scroll orientation 2017-06-18 21:12:50 +02:00
tibbi
88de8a4d2a set scrolling orientation based on the user setting 2017-06-18 20:52:21 +02:00
tibbi
f740150d49 set MySquareImageView size depending on the thumbnail scrolling orientation 2017-06-18 20:36:37 +02:00
tibbi
561c81dd42 finish the editor activity only if another editor has been picked 2017-06-18 20:05:47 +02:00
tibbi
1d04e60dff allow opening the image with a different editor from our editor 2017-06-18 19:56:45 +02:00
tibbi
47ec461139 release the mediaplayer if something goes wrong at init 2017-06-18 19:08:53 +02:00
tibbi
99f14bfee1 try reinitializing the mediaplayer when it becomes the selected fragment 2017-06-18 19:06:14 +02:00
tibbi
77b7608636 remove the unused displayAspectRatio variable 2017-06-18 18:19:03 +02:00
tibbi
5f4a926faa calculate double click scaling factor differently 2017-06-18 16:01:45 +02:00
tibbi
6ed5a00315 change "Set as wallpaper" to "Set as" 2017-06-16 23:30:04 +02:00
tibbi
0fcac3deff store column count separate for portrait and landscape 2017-06-15 22:57:58 +02:00
tibbi
68c6186fa7 dont do anything if an action menu is clicked at photoVideoActivity without media 2017-06-15 22:33:11 +02:00
tibbi
7772577883 do not cache animated gif thumbnails 2017-06-15 22:09:23 +02:00
tibbi
29de80ff79 adding an extra size check at directory adapter 2017-06-15 21:53:23 +02:00
tibbi
b0be8c0481 add an aditional check at determining if Edit menu button will be shown 2017-06-15 21:46:31 +02:00
tibbi
9452d96e75 catch FileNotFoundException at returning GetImageContent intent result 2017-06-15 21:39:19 +02:00
tibbi
5d2528b415 check for null mediaplayer at dragging video progress 2017-06-15 21:35:08 +02:00
tibbi
e7406110a1 send a notifyDataSetChanged to the viewpager adapter at fullscreen media 2017-06-15 21:27:43 +02:00
tibbi
4e8ec2acee do not stop temporarily showing hidden folders when leaving thumbnails view 2017-06-07 20:06:23 +02:00
Tibor Kaputa
e15d6d8507 properly open manually included folders 2017-06-07 16:07:01 +02:00
Tibor Kaputa
06530e78b8 recheck media 1 second after refreshing too 2017-06-07 09:27:45 +02:00
tibbi
22ccf1d297 add custom folder covers in release notes 2017-06-06 23:40:16 +02:00
tibbi
13620df112 properly include files from manually Included folders 2017-06-06 23:26:48 +02:00
tibbi
0f135c845b use local variables at fetching media 2017-06-06 22:47:16 +02:00
tibbi
53261310a2 properly reuse thumbnails media list at fullscreen view 2017-06-06 22:30:55 +02:00
tibbi
6dc1323252 correcting a check at getting current medium at viewpager 2017-06-06 22:26:35 +02:00
tibbi
e98de74ae4 fix #115, allow setting a custom image as 2017-06-06 21:24:06 +02:00
tibbi
add3320c4a allow setting up custom album covers 2017-06-06 21:16:19 +02:00
tibbi
866b8b77b4 rename PickAlbumDialog to PickDirectoryDialog 2017-06-06 20:25:31 +02:00
tibbi
e05ef4a9f2 add the menu buttons for changing album cover 2017-06-06 20:00:45 +02:00
tibbi
3001ea4a23 adding a crashfix at updating actionbar title 2017-06-03 08:37:52 +02:00
tibbi
d480aab063 catch out of memory errors at setting wallpaper 2017-06-02 22:41:01 +02:00
tibbi
ea42c4f1aa catch exceptions at fetching media 2017-06-02 22:17:30 +02:00
tibbi
5a4b6065fb fix #270, temporarily show hidden files when opening a third party intent 2017-06-02 21:57:31 +02:00
tibbi
5beadedfe2 small tweak to viewpager cursor 2017-05-31 23:39:13 +02:00
tibbi
6248f0db76 reuse the same list of media at thumbnails and fullscreen view 2017-05-31 23:36:43 +02:00
tibbi
d2713635d5 add an additional null check at surfaceholder of video fragment 2017-05-31 23:20:34 +02:00
tibbi
f4ddc12911 add another check at getting current media of viewpager 2017-05-31 23:04:56 +02:00
tibbi
0e38255961 fix a different type of contact photo picking too 2017-05-31 22:06:54 +02:00
tibbi
7358bb7cce handle Crop intent for setting contact photo etc 2017-05-31 20:36:20 +02:00
tibbi
d7740ae7b8 fix the condition checking if Editor was opened via a Crop intent 2017-05-29 21:39:56 +02:00
tibbi
5758b2eee1 reuse the list of media files of thumbnail view at the fullscreen view 2017-05-29 21:21:47 +02:00
tibbi
28a2f59514 use a different function for getting screen size on kitkat 2017-05-29 21:00:23 +02:00
tibbi
ee44432665 request an overwrite confirmation when replacing the original image with edited 2017-05-29 20:06:56 +02:00
tibbi
124cf8960d add a couple null checks at multiselectors 2017-05-28 23:37:12 +02:00
tibbi
a04d2d80b6 move cursor closing in the function using it 2017-05-28 23:17:06 +02:00
tibbi
18b714f9c3 do not continue at setting up the video if theres an error 2017-05-28 23:11:28 +02:00
tibbi
e3f0d7ea56 do not cache media while temporarily showing hidden is enabled 2017-05-28 23:09:00 +02:00
tibbi
1b53acd096 disable temporarily showing hidden folders only on destroy 2017-05-28 23:02:40 +02:00
tibbi
fa5a5651ad remove a file validity check at deleting from thumbnails view 2017-05-26 15:41:24 +02:00
tibbi
9b83fb2424 hide Resize option and fix aspect ratio at editor if its a crop intent 2017-05-26 10:23:19 +02:00
tibbi
9d7834f294 add an aditional null check at videofragments 2017-05-26 09:38:35 +02:00
tibbi
64fa74f6cd remove some explicit thread creations for toasts 2017-05-26 09:30:14 +02:00
tibbi
2c73864d74 catch exceptions at creating nomedia files on sd cards 2017-05-26 09:29:02 +02:00
tibbi
e53d6a5c20 do not try closing the media fetching cursor twice 2017-05-26 09:26:20 +02:00
tibbi
8e5f72f59b hide hidden folders only when appropriate 2017-05-26 09:10:40 +02:00
tibbi
39f4bd9684 add an extra check to prevent rechecking media when the app is in background 2017-05-25 23:41:25 +02:00
tibbi
4a4a054314 optimize getting the last files modified timestamp 2017-05-25 23:37:16 +02:00
tibbi
448fa72017 check last media change at media too, but in a background thread 2017-05-25 22:16:23 +02:00
tibbi
2cc9d1051c recheck every 3 seconds if some media changed at folders view 2017-05-25 22:04:19 +02:00
tibbi
ddb6310937 add a function for updating directory adapter 2017-05-25 21:23:59 +02:00
tibbi
faf1e19a87 split the media getter into 2 functions 2017-05-24 23:02:33 +02:00
tibbi
e1b461e2f1 small edits at videoplayer setup 2017-05-24 22:49:01 +02:00
tibbi
128f90d50b fix #250, zoom in to fit the screen on doubleclick 2017-05-24 22:42:30 +02:00
tibbi
4174769235 get real display size at viewpager, including status bar height 2017-05-24 22:27:34 +02:00
tibbi
8d3125ca17 make sure to exclude .nomedia folders at "Show all folders content" 2017-05-24 21:20:38 +02:00
tibbi
9272fbc3a3 make some variables in ChangeSortingDialog private 2017-05-24 21:17:23 +02:00
tibbi
234b2ed933 do not show hidden or excluded folders at "Show all folders content" view 2017-05-24 20:37:56 +02:00
tibbi
19ea96814e do not rescan the folder after removing nomedia 2017-05-21 20:39:01 +02:00
tibbi
f5eb3c931e hide folders whose parent contains .nomedia when appropriate 2017-05-21 20:16:45 +02:00
tibbi
9942f94fc3 hide folders that should be hidden 2017-05-21 19:16:29 +02:00
tibbi
61e4127053 remove some redundant functions 2017-05-21 12:58:13 +02:00
tibbi
d4a8560d2c add some more conditions to folder visibility checking 2017-05-21 12:58:07 +02:00
tibbi
387c063376 show .nomedia folders if appropriate 2017-05-21 12:55:33 +02:00
tibbi
b564da6b91 catch exceptions thrown during media obtaining 2017-05-21 09:17:52 +02:00
tibbi
53c8ea1531 use dark background if selected so at photovideoactivity too 2017-05-20 23:19:51 +02:00
tibbi
558dba3408 properly redraw the thumbnails at renaming an item 2017-05-20 23:01:07 +02:00
tibbi
7302898826 display filenames at thumbnails if selected so 2017-05-20 22:38:40 +02:00
tibbi
c735b13907 reuse the media getting context extension at filling folders 2017-05-20 21:49:00 +02:00
tibbi
4c7efca86d move the media getter in a context extension 2017-05-20 21:33:21 +02:00
tibbi
946f143409 remove the stoping feature of media getter asynctask 2017-05-20 21:25:48 +02:00
tibbi
06fe8a669a sort the media already at fetching from mediastore, to save time 2017-05-20 21:19:55 +02:00
tibbi
2a7baf14d2 some edits to getMediaAsyncTask 2017-05-20 21:06:42 +02:00
tibbi
c0bb740c87 load 1 image per side initially at viewpager for faster loading 2017-05-20 19:27:54 +02:00
tibbi
3a98da85fe optimize getting media with Show All 2017-05-20 16:49:01 +02:00
tibbi
987f333c5c if a filename is empty, try getting it from the path 2017-05-20 12:59:20 +02:00
tibbi
cc814d8d45 go back to the mediastore way of fetching media 2017-05-20 09:34:59 +02:00
tibbi
b2f9bbdf2c remove the cursor extensions 2017-05-20 08:56:28 +02:00
tibbi
277ded39ab wrap the wallpaper setter in a try-catch block 2017-05-19 21:20:14 +02:00
tibbi
25b31eb5a7 adding a null check at deleting files 2017-05-19 20:57:58 +02:00
tibbi
8603661873 add a null check at setting video size 2017-05-19 20:51:30 +02:00
tibbi
9e788d9453 add some null checks to deselecting items 2017-05-19 20:30:35 +02:00
tibbi
8f528bd49c update version to 2.9.1 2017-05-14 20:51:58 +02:00
tibbi
55f6f934ff add some null checks to checking if primary color changed 2017-05-14 20:43:03 +02:00
tibbi
87b722bac3 properly update some stuff if the primary color changes 2017-05-14 20:32:01 +02:00
tibbi
1c96f5ced7 refresh the directories after copy too 2017-05-14 20:10:35 +02:00
tibbi
b6bbc8abd7 properly update the items after delete 2017-05-14 19:43:51 +02:00
tibbi
311d28242f set image select state only after its already init 2017-05-14 17:29:02 +02:00
tibbi
ae6b53d464 properly select the files to delete 2017-05-14 17:15:05 +02:00
tibbi
74da4b454b remove the static variables from the MediaAdapter 2017-05-14 17:09:25 +02:00
tibbi
ab9c70d8d6 remove the Static fields of DirectoryAdapter 2017-05-14 15:12:57 +02:00
tibbi
883e6ce511 reset autoscroll related things on action_up 2017-05-14 15:09:16 +02:00
tibbi
2ba7ffeb63 remove a redundant code block 2017-05-14 12:56:20 +02:00
tibbi
f76951a070 fix deleting items from thumbnails view 2017-05-14 12:11:38 +02:00
tibbi
9e4d53684a add a null check to surfaceholder 2017-05-14 12:05:57 +02:00
tibbi
dccca19844 use a black background at fullscreen media if selected so 2017-05-14 12:01:16 +02:00
tibbi
a780d36a6e add a setting for always using dark background at fullscreen media 2017-05-14 11:50:30 +02:00
tibbi
7aa7b6e2da add drag selection to media thumbnails screen 2017-05-14 10:40:35 +02:00
tibbi
ebc61660d4 refactor the MediaAdapter a bit 2017-05-13 23:28:45 +02:00
tibbi
ffe7742334 use an interface for selecting items with drag selection 2017-05-13 23:03:27 +02:00
tibbi
c174b7d395 add Drag selection to directories 2017-05-13 21:10:13 +02:00
tibbi
44a71c032b rewrite the Directory adapter, prepare it for drag-selection 2017-05-13 17:39:07 +02:00
tibbi
27ddd1fb57 update version to 2.9.0 2017-04-26 23:10:21 +02:00
tibbi
7257fc7926 pass the context instead of whole activity on a couple places 2017-04-26 23:04:01 +02:00
tibbi
25d3eebb4f remove some redundant functions 2017-04-26 23:03:49 +02:00
tibbi
11a98d69fe prepare 2 images on both sides at the fullscreen view 2017-04-26 23:03:37 +02:00
tibbi
49c66427a2 allow hiding/unhiding files from the fullscreen view too 2017-04-26 21:59:17 +02:00
tibbi
2e8da56e2d add the file renaming functionality itself 2017-04-26 20:54:47 +02:00
tibbi
40c4a9aec1 add hide/unhide menu items to media activity cab 2017-04-26 20:23:04 +02:00
tibbi
0ee20b4604 show the "Temporarily show hidden" menu item only when hidden media arent shown 2017-04-26 20:09:08 +02:00
tibbi
2b95a7f529 add a "Temporarily show hidden" menu button to media view 2017-04-26 19:58:50 +02:00
tibbi
f137f3db06 show hidden files only when should 2017-04-26 19:54:47 +02:00
tibbi
27becd9247 replace the "Show hidden folders" option with "Show hidden media" 2017-04-26 19:50:19 +02:00
tibbi
a05ecbe861 try prefetching directories after install, before first app launch 2017-04-25 23:23:36 +02:00
tibbi
61ba26a636 do not make GlideRotateTransformation context a local variable 2017-04-24 23:11:35 +02:00
tibbi
9ef7491d58 show a toast message at saving edited image 2017-04-24 23:02:56 +02:00
tibbi
4786fc7c54 save the images on a background thread 2017-04-24 22:56:24 +02:00
tibbi
972916f6b2 update commons to 2.17.3 2017-04-24 22:47:47 +02:00
tibbi
f94c09a83c adding a couple more checks at saving edited file 2017-04-24 22:14:09 +02:00
tibbi
dfc99e68e4 do not delete the image if rotating fails, related to #234 2017-04-24 21:44:50 +02:00
tibbi
6810b3f68b fix #235, generate a different file uri for setting wallpaper if one fails 2017-04-24 20:27:47 +02:00
tibbi
6111b4be72 lets show CropImageView guidelines on touch 2017-04-19 22:30:22 +02:00
tibbi
82260ff42f update commons to 2.17.2 2017-04-19 20:47:56 +02:00
tibbi
2b12bf5d53 do not show the Pull to refresh spinning thing when loading cached images 2017-04-18 22:22:49 +02:00
tibbi
409ecbe4b5 use the copy/move functionality from the commons library 2017-04-18 19:31:22 +02:00
tibbi
3629f0ff55 refactor the copy/mvoe functionality a bit 2017-04-18 19:16:59 +02:00
tibbi
99666b0173 remove some redundant functions 2017-04-18 18:57:24 +02:00
tibbi
b629ea33fc update version to 2.8.5 2017-04-17 21:38:07 +02:00
tibbi
4959a11ca9 clear actMode of adapters on destroy 2017-04-17 21:33:23 +02:00
tibbi
5a954febf4 show the cached folders immediately as possible copy/move destinations at the dialog 2017-04-17 21:22:31 +02:00
tibbi
7fd1538009 reset scalremove scalable recyclerview zoom listener on pause 2017-04-17 20:53:34 +02:00
tibbi
cb9353c31a toggle fullscreen at clicking outside videos too 2017-04-17 20:31:59 +02:00
tibbi
d914f0bb53 add leak canary for detecting memory leaks at debug builds 2017-04-17 20:31:50 +02:00
tibbi
c4c19f82af fix #182, allow overwriting existing files after rotating on fullscreen view 2017-04-17 19:24:20 +02:00
tibbi
e41ae2554c implement the flipping functionality at the edit activity 2017-04-17 19:14:13 +02:00
tibbi
0cecfb4a6f use a signature at loading fullscreen images with glide 2017-04-17 19:01:04 +02:00
tibbi
c23f15749d add flip menu items to the viewpager and editor activities 2017-04-17 18:41:11 +02:00
tibbi
9c9e7bec2b fix #231, properly handle some more image pick intents 2017-04-17 18:12:24 +02:00
tibbi
8849db924e show the refreshing icon at opening the gallery 2017-04-17 17:59:05 +02:00
tibbi
a397006529 use rgb_555 decoding for jpgs 2017-04-15 11:28:47 +02:00
tibbi
9a7f8ed228 update the video seekbar color depending on the primary color 2017-04-14 14:10:41 +02:00
tibbi
fcd9f1a94c add Portrait wallpapers and Properties dialog changes in release notes 2017-04-13 23:01:44 +02:00
tibbi
7e95356310 remove the photofragment clear function 2017-04-13 22:56:14 +02:00
tibbi
4e9e491f13 check for null resultdata data at third party intents 2017-04-12 23:32:54 +02:00
tibbi
0598d0f34c make sure subsampling views background is transparent if the image fails to load 2017-04-12 21:55:10 +02:00
tibbi
671e10087a avoid intializing mediaplayer with invalid surface 2017-04-12 21:35:51 +02:00
tibbi
a93d4be112 fix a typo at photo fragment visibility check 2017-04-12 20:08:34 +02:00
tibbi
57a076d65c use the extension function for formatting video time 2017-04-12 19:40:31 +02:00
tibbi
37c40b8de7 minor style edits 2017-04-12 19:32:31 +02:00
tibbi
47a10afbb7 show the button for temporarily displaying hidden folders at third party intents 2017-04-12 18:39:05 +02:00
tibbi
2b4d712912 shorten some model variable names 2017-04-10 21:04:19 +02:00
tibbi
7cc41bb86e add a try catch block around creating nomedia files on Android 4 2017-04-10 20:46:42 +02:00
tibbi
da67107b83 allow toggling between portrait and landscape aspect ratio at wallpaper picker 2017-04-10 20:35:56 +02:00
tibbi
15b39b501d use the file output stream creator from Commons lib 2017-04-09 22:41:53 +02:00
tibbi
49f7fc389a update commons to 2.16.3 2017-04-09 22:32:38 +02:00
tibbi
95d3701b80 make view_pager non nullable 2017-04-09 18:42:29 +02:00
tibbi
4c4bbb0320 properly show the media for Android 4.1 2017-04-08 18:21:44 +02:00
tibbi
eeaf854144 fix some errors at loading fullscreen images 2017-04-04 21:48:59 +02:00
tibbi
259f517a18 make "media" a global variable at getMediaAsyncTask 2017-04-04 21:40:12 +02:00
tibbi
9c0cecc76f use a thread pool executor for the asynctasks 2017-04-04 18:16:34 +02:00
tibbi
5d0ff30e67 remove some return statements 2017-04-04 18:12:07 +02:00
Tibor Kaputa
e54cadfbdc avoid deleting Downloads folder 2017-04-04 16:01:20 +02:00
tibbi
a2f1512588 fix directory sorting 2017-04-03 21:33:40 +02:00
tibbi
ebc6c2ef3d allow zooming in a lot more at fullscreen photos 2017-04-03 18:40:08 +02:00
tibbi
94258a57fa add cache signatures to thumbnails 2017-04-03 18:35:09 +02:00
tibbi
152a56c32b do not attempt loading thumbnails after being loaded from cache 2017-04-03 18:29:30 +02:00
tibbi
8545ab8430 add some null checks to data folder getter 2017-04-03 18:20:24 +02:00
tibbi
3e03deef90 show the keyboard at "Save as" dialog 2017-04-02 19:39:55 +02:00
tibbi
6ca3c30b9c zoom in more on double click 2017-04-02 09:23:09 +02:00
tibbi
d160b5b158 updating the release notes 2017-04-01 23:16:30 +02:00
tibbi
e2c37d9afa fix #217, #209, improving autorotation 2017-04-01 23:09:05 +02:00
tibbi
3cae9361d6 implement screen rotation by aspect ratio 2017-04-01 21:55:33 +02:00
tibbi
0296c383b9 add more screen rotating options 2017-04-01 21:17:49 +02:00
tibbi
576f2a431a use Subsampling at a couple more image formats 2017-04-01 19:31:11 +02:00
Justin Jacobs
6ff17351cc Use subsamplingScaleImageView for PNGs 2017-04-01 13:24:31 -04:00
tibbi
2759a476aa exclude ...Android/data folder by default, it usually contains garbage 2017-04-01 18:55:39 +02:00
tibbi
ed59c51b99 reimplement copy and move at folder and thumbnail views 2017-04-01 18:29:39 +02:00
tibbi
bc54d58dbe remove the redundant onCreate function of SimpleActivity 2017-04-01 18:14:28 +02:00
tibbi
aefa630c1a store copyMoveCallback a bit further at the process 2017-04-01 18:12:51 +02:00
tibbi
a963a13fc7 get the source path at copy/move from the first item 2017-04-01 18:08:49 +02:00
tibbi
8d1145e038 use a callback for copy/move result 2017-04-01 17:59:14 +02:00
tibbi
77d8bce189 move the copyMoveFilesTo into SimpleActivity 2017-04-01 17:32:13 +02:00
tibbi
57a0baa253 add the copy move dialog 2017-04-01 17:09:24 +02:00
tibbi
9a0cde9796 remove the leftovers of CopyDialog 2017-04-01 16:58:17 +02:00
tibbi
627ddeea0a add a helper function for getting the current path at viewpager activity 2017-04-01 16:33:30 +02:00
tibbi
dc2e621d6b split copy and move to 2 items 2017-04-01 16:18:47 +02:00
tibbi
aae7c39058 set a background to subsampled images to avoid glitches at too small images 2017-04-01 15:55:12 +02:00
tibbi
edf60b77b3 use subsampling image view only on the current image 2017-04-01 15:39:35 +02:00
tibbi
7a3acad04b use subsamplingScaleImageView for fullscreen images again 2017-04-01 12:00:32 +02:00
tibbi
599f93b458 add a arraylist size check at copy dialog 2017-04-01 09:23:34 +02:00
tibbi
d2afd2de94 avoid showing the Hide folder confirmation twice if initially hiding 2 2017-03-30 18:17:27 +02:00
tibbi
b231227813 update fastscroller handle color if it changed 2017-03-29 19:05:54 +02:00
tibbi
a2f2e57b85 do not load 2 images per side, aint nobody got memory for that 2017-03-28 22:03:00 +02:00
tibbi
45a56d6926 rotate the screen as needed if autorotate is enabled 2017-03-25 14:05:56 +01:00
tibbi
2540763480 check medium resolution at fullscreen media change 2017-03-25 12:41:20 +01:00
tibbi
96e661dbb9 remove some redundant viewpager variables 2017-03-25 10:47:40 +01:00
tibbi
dda66bf127 add a settings toggle for autorotating the screen 2017-03-23 21:02:32 +01:00
tibbi
25a46f18f4 refresh the thumbnails if Crop Thumbnails has changed 2017-03-23 20:56:18 +01:00
tibbi
e9115530ea take the Crop Thumbnails setting into consideration when displaying thumbnails 2017-03-23 20:52:48 +01:00
tibbi
a5faf7a0a5 add a settings checkbox for cropping thumbnails 2017-03-23 20:32:52 +01:00
tibbi
6782f7b208 fix #192, show the Settings menu button at more screens 2017-03-23 20:25:30 +01:00
tibbi
33667ff857 add some strings related to thumbnail croping and autorotating screen 2017-03-23 20:21:02 +01:00
tibbi
b4290375b8 use the new mimetype getter at Mediums 2017-03-23 18:38:41 +01:00
tibbi
ac63a8648d do not attempt transforming the fullscreen image if rotation is 0 degrees 2017-03-23 18:27:18 +01:00
tibbi
71051fe928 use the default file mimetype at sharing a file 2017-03-23 18:26:05 +01:00
tibbi
eb2ff336ce remove the photoViewAttacher, handle zoom differently 2017-03-22 23:45:20 +01:00
tibbi
bc73f0d807 check if hidden folders are temporarily shown in a couple more places 2017-03-22 23:38:34 +01:00
tibbi
e58ab7111c reuse the same crop image view at Edit and Set Wallpaper activities 2017-03-22 22:50:25 +01:00
tibbi
7ebfeeb66a add a device version check at SetWallpaper activity 2017-03-22 22:33:54 +01:00
tibbi
250771f21b temporarily show hidden folders if selected so 2017-03-22 21:46:30 +01:00
tibbi
9de1ba808d add the "Temporarily show hidden" button to release notes 2017-03-22 21:36:54 +01:00
tibbi
0c135b44ac add a menu button for temporarily showing hidden folders 2017-03-22 21:32:08 +01:00
tibbi
315d2197b8 allow zooming in more at fullscreen view 2017-03-22 21:08:41 +01:00
tibbi
2c48df109a minor edits 2017-03-19 19:02:59 +01:00
tibbi
69e67409fe fix #139, toggle gif animation at folder cover 2017-03-19 10:15:21 +01:00
tibbi
4098090704 fixed sorting constant imports on a couple more places 2017-03-19 09:58:50 +01:00
tibbi
e9b4291c88 update commons to 2.13.5 2017-03-19 09:56:43 +01:00
tibbi
a150e5da04 replace Picasso with Glide everywhere once again 2017-03-18 21:57:49 +01:00
tibbi
b1a20f51e0 update commons to 2.12.9 2017-03-18 19:48:03 +01:00
tibbi
fc1fd0f505 couple edits to the exclude/include icon 2017-03-18 18:34:46 +01:00
tibbi
4ee604962f update commons to 2.12.7 2017-03-18 17:22:27 +01:00
tibbi
efc7d99eb1 srsly 2017-03-18 16:08:16 +01:00
tibbi
525e44d2b1 fix a variable name 2017-03-18 16:03:23 +01:00
tibbi
76e18196b5 always check Whats new dialog at app launch 2017-03-18 13:47:38 +01:00
tibbi
e1ddcda524 preload just 1 fullscreen image per side, with more dynamic resolution 2017-03-18 12:42:13 +01:00
tibbi
092ea401b3 fix the pick_media intent sent from third party apps 2017-03-18 12:09:04 +01:00
tibbi
47418eba7e adding Picasso license 2017-03-18 11:18:41 +01:00
tibbi
bd9e5746cc add folder inclusion in the release notes 2017-03-18 10:49:57 +01:00
tibbi
d07db9fffa add exclude/include placeholders at their manage activities 2017-03-18 10:41:20 +01:00
tibbi
6cf993a263 update the included folders list after adding one 2017-03-17 23:53:51 +01:00
tibbi
08764e9db3 update the item count at thumbnails after delete 2017-03-17 23:42:24 +01:00
tibbi
4cfdb31a2d fix #52, ignore letter case when fetching parents 2017-03-17 23:37:46 +01:00
tibbi
10a742bacd scan the path of included folder, maybe it fixes it 2017-03-17 23:17:49 +01:00
tibbi
d61f1d7d1b add the included folders at the scaned ones 2017-03-17 23:15:20 +01:00
tibbi
a3777d0f73 list the included folders at the manager screen 2017-03-17 23:12:23 +01:00
tibbi
ff1f29b1f8 add a menu button for adding included folders 2017-03-17 23:01:53 +01:00
tibbi
dc98df713d add a setting button for managing included folders 2017-03-17 22:54:44 +01:00
tibbi
87b34b4386 implement the Excluded folder adding from the manager activity 2017-03-17 22:46:30 +01:00
tibbi
05fb1efe57 replace the "Remove all excluded folders" with an "Add folder" 2017-03-17 22:41:08 +01:00
tibbi
82a74ebd25 always show the Manage Excluded Folders setting item 2017-03-17 22:36:09 +01:00
tibbi
0728c1b9e1 check if Image first, that will be the most frequent 2017-03-17 22:04:02 +01:00
tibbi
4f1689965a reuse the function for loading directory and media thumbnails, dont copy paste 2017-03-17 22:02:24 +01:00
tibbi
61e6a8ef78 use Glide for video thumbnails 2017-03-17 21:42:53 +01:00
tibbi
723084b482 use Picasso for directory thumbnails too 2017-03-17 21:36:19 +01:00
tibbi
d22685b5ca load media thumbnails with Picasso 2017-03-17 21:22:57 +01:00
tibbi
07e15db08a filter out symbolic link folders earlier 2017-03-17 20:23:46 +01:00
tibbi
aa55dfbb15 increase the image load priority of initially opened images 2017-03-17 20:17:48 +01:00
tibbi
19d4ff53cb store the screen resolution at view pager activity 2017-03-17 20:09:11 +01:00
tibbi
ebd14626cb remove the string signatures from recyclerviews 2017-03-17 19:54:39 +01:00
tibbi
70afd83bd7 rotate the fullscreen image appropriately 2017-03-17 19:51:28 +01:00
tibbi
6a97a47d76 use Picasso for loading fullscreen images 2017-03-17 19:46:44 +01:00
tibbi
a6622ef9e3 improve gif loading 2017-03-16 21:07:49 +01:00
tibbi
858d66e728 fix #194, check for storage permission even if opening third party image 2017-03-16 20:45:39 +01:00
tibbi
d885f301cb filter out symbolic links as directories 2017-03-16 19:21:50 +01:00
tibbi
153c9ed62a remove glide loading priorities 2017-03-16 19:14:46 +01:00
tibbi
8ea1b02e0f stop loading the fullscreen images if the view is destroyed 2017-03-16 19:13:02 +01:00
tibbi
9d88f7bf7d remove Subsampling scale image view, its not worth it 2017-03-16 19:11:51 +01:00
tibbi
597ffd5a57 check if the destination file exists at move 2017-03-15 22:12:28 +01:00
tibbi
9f91e14a32 add the Glide load stopper to the directories view too 2017-03-15 21:16:27 +01:00
tibbi
ee6e221de0 use the previous way of creating foreground selectors of adapters 2017-03-15 21:14:55 +01:00
tibbi
8c207938aa refresh the thumbnails view after editing a file 2017-03-15 21:07:43 +01:00
tibbi
abedcba838 couple performance improvements to thumbnails loading 2017-03-15 20:57:20 +01:00
tibbi
63a4ee8e73 remove the beVisibleIf extension 2017-03-15 20:08:59 +01:00
tibbi
3fabc6a93f use the shared rename dialog for renaming files and folders 2017-03-14 23:25:22 +01:00
tibbi
5b26bbb410 reuse 2 strings from commons 2017-03-14 21:08:57 +01:00
tibbi
4bcdf68ff3 use the rename folder dialog from the Commons lib 2017-03-14 20:47:01 +01:00
tibbi
a5bac9311e tweaking some file related operations 2017-03-12 21:27:45 +01:00
tibbi
8ebdc91649 update commons to 2.9.9 2017-03-11 22:56:57 +01:00
tibbi
95cc4d1121 use an itemView.apply to shorten some adapters 2017-03-11 12:03:04 +01:00
tibbi
95ff1b1b95 using an Apply at sorting dialog 2017-03-11 11:14:54 +01:00
tibbi
ee32c1ab3a use the new radio group dialog for Show Media picking 2017-03-10 22:21:52 +01:00
tibbi
739e1c01a8 couple code style changes 2017-03-10 22:15:10 +01:00
Andrew Rabert
19fd54b25a Option for max brightness when viewing media 2017-03-10 00:58:06 -05:00
Tibor Kaputa
c80200c351 update release notes 2017-03-09 09:40:10 +01:00
Tibor Kaputa
f2ecf5325f get file uri the old way 2017-03-09 09:33:08 +01:00
tibbi
23696bff32 do not show the Edit button at long pressing video 2017-03-08 21:38:26 +01:00
tibbi
70a2d82aa4 do not zoom in that much at double tapping an image 2017-03-07 21:01:23 +01:00
tibbi
4c659df49d update commons to 2.9.0 2017-03-07 21:00:26 +01:00
tibbi
77ab6178d0 fix some file uri issues on android versions below 7 2017-03-07 18:55:42 +01:00
tibbi
d80a0db3cb check if the activity is still alive after cropping for wallpaper 2017-03-06 23:18:47 +01:00
tibbi
74af90eaa6 make sure theres no double slash at the beginning of exclude path, fix #183 2017-03-06 23:05:02 +01:00
tibbi
a6e62ddc1b add the nougat check back at thumbnail activity 2017-03-06 22:57:23 +01:00
Tibor Kaputa
94da492db0 add a helper function for the uris 2017-03-06 11:54:50 +01:00
Tibor Kaputa
eac2a37bad one more uri change 2017-03-06 11:52:41 +01:00
Tibor Kaputa
1c200cd2f5 fix some Android 7 file uri crashes 2017-03-06 11:51:13 +01:00
tibbi
80bfc9183f update the code style at some activity extensions 2017-03-05 23:34:23 +01:00
tibbi
f1d5baa8a8 try sticking the damn read_uri_permission to every intent 2017-03-05 23:09:29 +01:00
tibbi
ef538491e8 open Android Nougat videos in simple gallery 2017-03-05 00:33:47 +01:00
tibbi
ce5dc20a79 fix #172, show selected items count as "x / y" 2017-03-04 23:11:56 +01:00
tibbi
c494209523 declare some functions private 2017-03-04 23:00:02 +01:00
tibbi
a36ffb297a allow setting a default third party video player 2017-03-04 22:53:05 +01:00
tibbi
3619a32a9c allow setting the editor app as default, fix #164 2017-03-04 21:53:12 +01:00
tibbi
5a0b031d3f set the fastscrollbars color to primary color 2017-03-04 21:29:52 +01:00
tibbi
956ffafe9e add the fast scroll to directory view too 2017-03-04 20:26:43 +01:00
tibbi
2bc78212b9 add an initial fast scrollbar to thumbnail view 2017-03-04 19:29:24 +01:00
tibbi
99eb87ec8b do not animate gifs by default 2017-03-04 10:35:47 +01:00
tibbi
b94b803a40 fix a crash when excluding folder without parents 2017-03-04 10:34:46 +01:00
tibbi
c6de3a9e85 hide the Manage excluded folders in Settings, if nothing is excluded 2017-03-04 10:32:54 +01:00
tibbi
cf546e3c60 really exclude the selected folder 2017-03-04 10:28:02 +01:00
tibbi
f480ae6e14 get a list of parents at exclude folder dialog 2017-03-03 23:33:06 +01:00
tibbi
77d203214a create a new confirmation dialog for excluding folders 2017-03-03 22:29:08 +01:00
tibbi
7844bf5f9b added the new exclusion rules in release notes 2017-03-03 21:54:29 +01:00
tibbi
99376a3bb0 hide the subfolders of excluded folders too 2017-03-03 21:46:48 +01:00
tibbi
5064ca612f lets always show the exclude confirmation dialog 2017-03-03 21:29:51 +01:00
tibbi
05b6d71035 simplify a check at deleting from fullscreen 2017-03-01 23:32:05 +01:00
tibbi
f67ce86cf2 fix #168, do not autoplay gifs at thumbnails if chosen so 2017-03-01 23:21:20 +01:00
tibbi
ec11041cda add the gif toggling in release notes 2017-03-01 23:07:40 +01:00
tibbi
75816a1b77 added an option to toggle animating gifs at thumbnails 2017-03-01 23:05:14 +01:00
tibbi
97554c36ed add an extra check to avoid displaying hidden folders if shouldnt 2017-03-01 22:33:49 +01:00
tibbi
4164f6c980 change the way of displaying fullscreen images 2017-03-01 22:04:13 +01:00
tibbi
1af04a3e5d remove the thumbnail from photo fragment 2017-02-28 23:21:28 +01:00
tibbi
ad39c4d644 do not show the "Use only in this folder" sorting checkbox if showing all media 2017-02-28 23:20:23 +01:00
tibbi
787b7af996 use the copy/move source path as the initial path at Other Folder option 2017-02-28 22:13:33 +01:00
tibbi
4b104fc8d6 do not allow picking the source folder as the destination at copy/move 2017-02-28 22:07:43 +01:00
tibbi
9cae71b7ab show the destination picker at showing copy dialog right away 2017-02-28 21:17:35 +01:00
tibbi
e0454fcf06 add the custom folder sorting in release notes 2017-02-28 21:11:04 +01:00
tibbi
940ed8a43b implement custom sorting per folder 2017-02-28 21:06:17 +01:00
tibbi
8c236aaf5b remove the switch for same sorting of files and folders, never apply it 2017-02-28 20:46:12 +01:00
tibbi
a8eeac2f8b add a checkbox to sorting dialog for applying the selection to a folder only 2017-02-28 20:40:55 +01:00
tibbi
4ca455c761 group the media files at querying the content resolver 2017-02-27 23:29:19 +01:00
tibbi
638f4b4d45 stop loading images on pause 2017-02-27 22:14:24 +01:00
tibbi
9fdcea056d zoom in more on double tap 2017-02-27 20:31:17 +01:00
tibbi
46582a3d01 fix the icon color at manage folders screen 2017-02-27 20:20:38 +01:00
tibbi
f82b09470b simplify the hidden folder check 2017-02-27 20:04:27 +01:00
tibbi
f372d46b51 simplify the SD card permission check at some activities 2017-02-27 19:20:19 +01:00
tibbi
609e341b81 feed the Glide bitmap to subsamplingScaleImageview 2017-02-27 18:57:17 +01:00
tibbi
a94d027388 fix #167, actionbar back button not working 2017-02-27 18:41:20 +01:00
tibbi
e38ec1c5e3 hide .nomedia subfolders too 2017-02-26 23:17:56 +01:00
tibbi
d60ee0b387 show a Hide folder tooltip dialog at the first usage 2017-02-26 22:01:28 +01:00
tibbi
a198008c8e stop media fetching asynctasks on pause 2017-02-26 21:52:53 +01:00
tibbi
6c11d71a9d add a menu item for removing all excluded folders 2017-02-26 21:31:52 +01:00
tibbi
b4975a2bbd add a cross for removing excluded folders 2017-02-26 21:10:52 +01:00
tibbi
a3bf684aea list the excluded paths at excludedFolders activity 2017-02-26 20:38:18 +01:00
tibbi
6da347a55e add a new activity for managing excluded folders 2017-02-26 19:44:25 +01:00
tibbi
46f99fd1c0 add a settings button for managing excluded folders 2017-02-26 19:37:54 +01:00
tibbi
4572295698 add the exclusion functionality 2017-02-26 19:31:20 +01:00
tibbi
f354818b66 show an explanation dialog at first attempt to exclude a folder 2017-02-26 19:15:51 +01:00
tibbi
0a649df9c3 store if hide/exclude folder tooltip was shown in prefs 2017-02-26 18:32:47 +01:00
tibbi
1e37c47bd0 add menu items for excluding folders 2017-02-26 18:12:23 +01:00
tibbi
445f7a612a load a smaller preview at fullscreen photos first 2017-02-26 17:31:39 +01:00
tibbi
4311529664 small getMediaAsyncTask update 2017-02-26 17:28:21 +01:00
tibbi
169b9f45ca increase the load priority of the current fullscreen image 2017-02-26 17:21:49 +01:00
tibbi
7ad804f5f9 move directory grouping into a separate function 2017-02-26 12:30:42 +01:00
tibbi
ad8cd557ce filter wrong directories sooner 2017-02-26 12:26:32 +01:00
tibbi
e243de95d1 hide folders starting with a dot if hidden should be shown 2017-02-26 12:10:15 +01:00
tibbi
959b0862f5 update commons to 2.7.4 2017-02-25 18:59:39 +01:00
tibbi
b6b408e1f8 optimize the directory sorting related function 2017-02-25 17:30:06 +01:00
tibbi
7c4769701c store the sd card path at launching the app 2017-02-25 16:38:45 +01:00
tibbi
aab55cef62 tweaking the getdirectories asynctask 2017-02-25 11:35:34 +01:00
tibbi
b778e60781 tweak getdirectories to use the string extensions 2017-02-25 11:15:47 +01:00
tibbi
795fad2240 do not check immediately if .nomedia folders contain media, we will check later 2017-02-25 11:10:02 +01:00
tibbi
2cf58c2e1e update getmedia asynctask 2017-02-25 11:01:40 +01:00
tibbi
19093b989f more attempt to optimize the media fetching process 2017-02-24 23:41:27 +01:00
tibbi
513694c117 add a helper function for fast getting folders with media 2017-02-24 22:02:09 +01:00
tibbi
30c7b9b055 change the way we obtain images 2017-02-23 23:57:49 +01:00
tibbi
a8c5cc1fdd show folders with .nomedia if appropriate 2017-02-23 21:29:02 +01:00
tibbi
d03bdfc91a add folder un/hiding from thumbnail view 2017-02-23 20:14:00 +01:00
tibbi
f27afeb674 add nomedia adding/removing at directory view 2017-02-23 20:11:33 +01:00
tibbi
3c821961b3 add folder hiding in release notes 2017-02-22 19:18:01 +01:00
tibbi
667dc4bf2e replace fake folder hiding with .nomedia check 2017-02-22 19:13:18 +01:00
tibbi
2544c91859 update commons to 2.6.8 2017-02-22 18:32:03 +01:00
tibbi
814b0cc3b6 check if we are trying to rotate a photo fragment 2017-02-20 23:19:03 +01:00
tibbi
c0fcb48d9c use the fast documentfile getting at Renaming too 2017-02-20 23:11:32 +01:00
tibbi
b46da2f58a try speeding up the process of obtaining all images and videos 2017-02-20 21:59:55 +01:00
tibbi
07b2371b9c try a faster way of deleting SD card files 2017-02-20 21:57:41 +01:00
tibbi
5d04e1967f if a file is an image, do not check if its a video 2017-02-19 19:25:22 +01:00
tibbi
3d77834487 do not show the keyboard at Save as dialog 2017-02-18 21:38:38 +01:00
tibbi
bf952f71cf tweak the way files are deleted 2017-02-17 19:28:37 +01:00
tibbi
8dfa688f7d add an activity check at reloading viewpager 2017-02-15 21:33:25 +01:00
tibbi
a17e0f7a39 declare viewpager as nullable 2017-02-15 02:26:31 +01:00
tibbi
60cc462c6e handle saving on SD card after rotating 2017-02-13 23:57:14 +01:00
tibbi
d4bd291461 use proper error strings at out of memory toasts 2017-02-13 23:34:00 +01:00
tibbi
a4ca22f419 catch out of memory error at editor activity too 2017-02-13 23:31:24 +01:00
tibbi
00dc0c16d3 add simple file saving to viewpager activity 2017-02-13 23:30:47 +01:00
tibbi
9a9ce890ca add a Save as button for saving rotated images 2017-02-13 22:44:03 +01:00
tibbi
90a87615d9 show the rotate actionbar button only if the current item is an image 2017-02-13 21:06:47 +01:00
tibbi
964ffe360a add the image rotating functions 2017-02-13 20:57:47 +01:00
tibbi
83a47e9b8c prepare for rotating images in viewpager activity 2017-02-13 20:51:28 +01:00
tibbi
592c80d951 use the proper filepath at deleting from viewpager activity 2017-02-13 20:49:01 +01:00
tibbi
eb1ef6852e rename some photo fragment views 2017-02-13 20:16:33 +01:00
tibbi
5dac9d2e3c added image rotating and flipping in release notes 2017-02-12 23:43:05 +01:00
tibbi
e951b85570 add fullscreen actionbar menu items for rotating images 2017-02-12 23:38:22 +01:00
tibbi
b3342a8091 add in icon for rotating left 2017-02-12 21:09:04 +01:00
tibbi
82bd634830 add a null check 2017-02-12 20:00:58 +01:00
tibbi
0c2598d37b show error messages if deleting failed 2017-02-10 23:59:28 +01:00
tibbi
67a459ced7 added the column changing option to whats new 2017-02-10 23:50:36 +01:00
tibbi
07335fba67 add the column changing methods to media screen too 2017-02-10 23:47:48 +01:00
tibbi
7f3b02a765 added menu options for changing the column counts 2017-02-10 23:44:10 +01:00
tibbi
cbcd3cfa6a tweak the way files are deleted 2017-02-10 23:27:14 +01:00
tibbi
0e541f091c delete images on a background thread from viewpager too 2017-02-09 21:57:21 +01:00
tibbi
58ace8e59f url decode the document file uri before deleting, should fix SD delete issues 2017-02-09 21:46:43 +01:00
tibbi
099e13ea0c check lollipop sd permissions at deleting asap 2017-02-09 21:38:07 +01:00
tibbi
5a625a3388 add a null check to viewpager menu items 2017-02-09 21:03:47 +01:00
tibbi
f728ca2650 add an activity null check at toggling fullscreen 2017-02-09 20:51:42 +01:00
tibbi
77e32c2790 speed up checking if directories or images changed 2017-02-07 00:14:51 +01:00
tibbi
9a7361795f check if a Camera app is available before trying to launch it 2017-02-07 00:08:32 +01:00
tibbi
0f0b3cfc30 avoid VideoFragment implementing so many interfaces 2017-02-07 00:04:30 +01:00
tibbi
f2bcac6298 add the showmediapicker dialog 2017-02-06 23:55:42 +01:00
tibbi
762662a976 replace the media selection spinner in settings with text 2017-02-06 23:34:53 +01:00
tibbi
d6f77febfe update commons to 2.5.4 2017-01-25 22:02:20 +01:00
tibbi
2c4bbfb0e2 make sure there is an application with maps before sending the intent 2017-01-23 23:05:25 +01:00
tibbi
06ac24eca5 add hex code picking in Whats new 2017-01-23 20:02:35 +01:00
tibbi
b6ee141c9c remove a writeexif line when opening weird images, like K9 attachments 2017-01-23 19:33:44 +01:00
tibbi
90f7b0fb4c update version to 2.3.4 with Whats new update 2017-01-22 20:04:40 +01:00
tibbi
10670a8f0d wrap the whole exif part of photofragment in try catch 2017-01-22 18:58:04 +01:00
tibbi
9773a481c8 add some null checks to obtaining directories 2017-01-22 18:53:32 +01:00
tibbi
d1995d129a fix #138, add displaying photos on map, if theres coords available 2017-01-22 18:36:27 +01:00
tibbi
06e6f8a3f5 add a menu item for showing photo or video on map 2017-01-22 18:03:14 +01:00
tibbi
c4f49c56c9 use the main thread when deleting images from fullscreen view 2017-01-22 17:44:27 +01:00
tibbi
e13a37edf9 remove the Source field from the copy dialog 2017-01-16 20:45:07 +01:00
tibbi
876f81c0e7 add a null check before displaying properties dialog 2017-01-15 11:59:47 +01:00
tibbi
40ec71c5c2 remember scroll position when going from media to fullscreen mode 2017-01-15 11:51:18 +01:00
tibbi
c6c945eb36 cache 40 photos per folder 2017-01-15 11:46:21 +01:00
tibbi
bbd7cb17b3 add Exif additions to release notes 2017-01-14 23:53:49 +01:00
tibbi
6c7fc3683e change the way third party photos are shared 2017-01-14 19:58:39 +01:00
tibbi
c060a45edf properly open some special attachments, like k9 mail ones 2017-01-14 19:14:44 +01:00
tibbi
eed7be0f40 catch exceptions at trying to display fullscreen photos 2017-01-14 13:49:13 +01:00
tibbi
8b37560ed4 cache 30 images per folder for faster loading the second time 2017-01-14 13:04:22 +01:00
tibbi
a259a0240c make some activity variables nonstatic 2017-01-14 12:26:32 +01:00
tibbi
c2f268d004 show a spinner while loading directories for the first time 2017-01-14 12:18:37 +01:00
tibbi
c2741f6dcb move folder filtering to getParents() 2017-01-13 23:52:04 +01:00
tibbi
a48358bef3 filter out hidden folders asap, if appropriate 2017-01-13 23:49:56 +01:00
tibbi
289e82cc1e what a stupid condition 2017-01-13 23:41:27 +01:00
tibbi
c1f1e92c14 lets always use lastModified as dateTaken and hope nobody is using it 2017-01-13 23:38:56 +01:00
tibbi
ef28b40186 create a config context extension 2017-01-13 23:36:05 +01:00
tibbi
59096651d6 implement Show All at media view 2017-01-13 23:21:28 +01:00
tibbi
59bf41745a move some folder getting functions in context extensions 2017-01-13 23:09:27 +01:00
tibbi
ae5113b1f0 add some smaller helper functions for getting directories 2017-01-12 23:29:15 +01:00
tibbi
c09e472a14 rework the way of obtaining images and videos 2017-01-12 21:51:29 +01:00
tibbi
23d85f6ff9 switch to the new way of getting images again, with some tweak later 2017-01-11 18:47:49 +01:00
tibbi
d2ec946a3d updating commons to 2.3.4 2017-01-10 18:42:26 +01:00
tibbi
9d300b7da8 check for null crop rect at editing an image 2017-01-10 18:34:22 +01:00
tibbi
271fa72abb revert to the previous way of obtaining images 2017-01-10 18:22:39 +01:00
tibbi
a0ec0de5a4 couple threading fixes related to delete 2017-01-08 22:45:11 +01:00
tibbi
c81a54b9e3 adding photoview license 2017-01-07 19:59:31 +01:00
tibbi
544f92104a hide subsamplingscaleimageview if the image failed to load 2017-01-07 19:48:37 +01:00
tibbi
f41d75aca1 update the way we are getting images, so we get more of them 2017-01-07 19:44:05 +01:00
tibbi
80c9044eab rescan paths obtained from third parties 2017-01-07 17:27:41 +01:00
tibbi
926a45c72e small get directories style tweak 2017-01-07 16:10:38 +01:00
tibbi
0efdb071cc allow creating new folders at Copy or Save as dialogs 2017-01-07 16:08:15 +01:00
tibbi
92959d474c update commons to 2.2.0 2017-01-07 15:58:01 +01:00
tibbi
aaab1593c0 remove some redundant brackets 2017-01-07 12:27:08 +01:00