Commit graph

3192 commits

Author SHA1 Message Date
darthpaul
fe49035966 Merge remote-tracking branch 'origin/fix/rename_by_changing_case' into fix/rename_by_changing_case 2022-04-10 10:56:11 +01:00
darthpaul
cebc9cdfda change toast duration
- change the toast duration for when a user cannot renamed files in the root of the SD Card to Toast.LENGTH_LONG
2022-04-10 10:55:49 +01:00
Paul
bfd4b930ec
Merge branch 'master' into fix/rename_by_changing_case 2022-04-10 10:49:10 +01:00
darthpaul
e1d8f601d7 fix renaming
- show error message when a user tries to rename a file on the root of the SD Card in ViewPagerActivity and MediaAdapter
- in PickDirectoryDialog, use the Activity.isAStorageRootFolder method instead of String.isBasePath
2022-04-10 09:56:21 +01:00
Paul
0e6b935fc5
Merge branch 'master' into fix/editor-sdk30+ 2022-04-09 23:42:17 +01:00
darthpaul
8da45dcfbb sdk 30+ changes
- handle WRITE_STORAGE permission in EditActivity
- in PickDirectoryDialog replace error message when users select a restricted system directory to R.string.system_folder_restriction
- in SaveDialog
    - if path is a restricted path, automatically change it to {CURRENT_VOLUME}/Pictures directory.
    - if there is conflict and the file is direct child of the Download folder, show the user a prompt to grant WRITE request permission
- remove unused string R.string.copy_to_restricted_folder_message
- in NewPhotoEditActivity and NewVideoEditActivity, only delete SD Card file on conflict for devices running lower than SDK 30
- update commons module
2022-04-09 23:34:52 +01:00
tibbi
2ea542b461 force white menu items at viewpager activity 2022-04-04 23:20:29 +02:00
tibbi
7eac78411e adding some preparation for Material You theme 2022-04-04 15:58:05 +02:00
tibbi
75f8592940 adding a couple more Android 12 related fixes 2022-04-04 15:32:08 +02:00
darthpaul
52693adbe6 Update gallery with recent commons module 2022-03-31 04:46:09 +01:00
tibbi
0a03658978 do not show root folder at storage picker dialog 2022-03-23 22:15:09 +01:00
tibbi
7feffc9f61 updating the placeholder text for Android R+ 2022-03-20 20:41:45 +01:00
Tibor Kaputa
0d43373cb4
Merge pull request #2383 from KryptKode/fix/sdk30-saf-source-folder
sdk 30 changes
2022-03-19 22:19:05 +01:00
darthpaul
399c8e241d SDK 30 changes
- handle SAF dialog on ViewPagerActivity before refreshing screen
2022-03-19 20:30:59 +00:00
darthpaul
fa991847fb sdk 30 changes
- remove handleSAFDialogSdk30 for source paths since we have READ permission
2022-03-19 19:49:16 +00:00
tibbi
4a3e502484 moving MySquareImageView into commons 2022-03-18 17:33:44 +01:00
darthpaul
9a3d16354c update commons 2022-03-13 03:37:40 +00:00
darthpaul
fedc56846a SDK 30 changes
- show error when user tries to pick the root directory of any volume
- handle SAF for SDK 30 before copying/moving files
2022-03-13 03:17:42 +00:00
tibbi
360c3529ea refetch viewpager item position if it is -1 too 2022-03-01 12:08:15 +01:00
tibbi
61440e2f22 avoid refetching viewpager position after file deleting 2022-02-28 17:29:17 +01:00
tibbi
16e522cc03 adding a new string related to seeing ads during videos 2022-02-28 17:05:05 +01:00
tibbi
8cb4b9bc3b Merge branch 'ref/delete-animation' of https://github.com/KryptKode/Simple-Gallery 2022-02-25 23:04:24 +01:00
darthpaul
8af61d89bb Revert changes and handle recycler view animation with SDK-30 delete 2022-02-24 16:27:33 +00:00
darthpaul
bbcb41cf1f fix: show delete animation after file delete 2022-02-15 00:21:53 +00:00
tibbi
9529173e0a rescan path from third party intent if not in mediastore 2022-02-14 22:57:19 +01:00
tibbi
318664fca1 fix #2332, try showing an image asap at third party intents 2022-02-14 11:08:49 +01:00
tibbi
080e7e983d clear cached media at launching viewpager at third party intent 2022-02-14 10:48:19 +01:00
tibbi
4e1136df80 updating commons 2022-02-13 20:55:03 +01:00
tibbi
581dd43bd6 fix #1427, properly handle diacritics at sorting 2022-02-13 17:57:30 +01:00
tibbi
f3e76cfb50 fix sorting of folders with Group direct subfolders enabled 2022-02-13 17:02:28 +01:00
tibbi
80390c67f2 refresh items after sorting/filtering/grouping only if something changed 2022-02-13 16:42:21 +01:00
tibbi
5e548e0460 fix #2336, really delete files from the device after 30 days in the bin 2022-02-13 12:08:34 +01:00
tibbi
a1589b60f1 fix opening videos in the recycle bin directly 2022-02-13 11:59:54 +01:00
tibbi
3e3fb0c580 fix a glitch with the inability to display hidden files anymore 2022-02-13 11:02:51 +01:00
tibbi
9577a5e8e2 do not show the Temporarily show/hide hidden at the media screen either 2022-02-12 18:52:24 +01:00
tibbi
144409b7a9 adding more menu visibility changes 2022-02-12 18:12:16 +01:00
tibbi
cfbeb85b0d removing some settings and filepickers on Android 11+ 2022-02-12 18:02:29 +01:00
tibbi
032ca877ed merging General and Visibility setting sections 2022-02-12 17:54:44 +01:00
tibbi
ad9f39cea4 removing the FAQ item about showing specific folders only too 2022-02-12 17:51:36 +01:00
tibbi
fc365c3d36 so ye, lets remove some un/hide related menu items on Android 11+ 2022-02-12 17:48:36 +01:00
tibbi
de1a58e1b9 adding another string related to removing Manage Included Folders 2022-02-12 17:41:37 +01:00
tibbi
c08aa99a2a add some explanation about un/hiding no longer being available anywhere 2022-02-12 16:19:58 +01:00
tibbi
45c5ac9fe8 adding some keyboard hiding 2022-02-12 12:06:29 +01:00
tibbi
f6c6b402c6 properly fetch Favorite file sizes to avoid caching glitches 2021-12-25 21:02:45 +01:00
tibbi
51c15be895 updating commons 2021-12-19 21:25:57 +01:00
tibbi
f6178854ed Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2021-12-17 15:30:56 +01:00
Tibor Kaputa
040599dd12
Merge pull request #2292 from Aga-C/add-group-count
Added option to show file count in groups (#2281)
2021-12-17 15:30:51 +01:00
tibbi
edb25a6053 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2021-12-17 15:26:46 +01:00
tibbi
455fa7eb77 do not clear media on destroy 2021-12-17 12:27:37 +01:00
tibbi
d51fa1385a avoid refreshing favorite items unnecessarily 2021-12-17 12:25:32 +01:00
Agnieszka C
adf2fc26da Fixed unknown date taken (#2295) 2021-12-08 15:30:38 +01:00
Agnieszka C
dc3ed3aa2f Added option to show file count in groups (#2281) 2021-12-06 18:49:09 +01:00
Tibor Kaputa
05fa21a085
Update MediaAdapter.kt 2021-12-05 23:30:02 +01:00
Tibor Kaputa
8c0f047809
Update DirectoryAdapter.kt 2021-12-05 23:29:28 +01:00
Tibor Kaputa
a83765705d
adding an empty line 2021-12-05 23:28:01 +01:00
Ebrahim Byagowi
dd8cd61450 Apply project's code style to api version checks 2021-12-06 01:32:45 +03:30
Ebrahim Byagowi
0e1a1cfb90 Check for api version at the target instead marking with RequiresApi 2021-12-06 01:28:39 +03:30
Ebrahim Byagowi
55499815c3 Remove now obsolete suppress lint annotations
They are no longer needed as the update in Simple-Common project.
2021-12-06 01:15:34 +03:30
tibbi
d4bf065cb5 adding a new MediaStoreId field to Medium model 2021-12-05 21:18:57 +01:00
tibbi
39b8ce7a08 updating the bottom action Toggle visibility tooltip to show current state 2021-12-05 18:35:19 +01:00
tibbi
8ae32e5490 reverting the icon visibility change 2021-12-05 18:31:37 +01:00
Tibor Kaputa
1950f776a3
Merge pull request #2286 from sidhantailawadi/fix_toggle_hide_unhide_icon
Reverses the condition to show the toggle hide/unhide icon (#2280)
2021-12-05 18:29:39 +01:00
tibbi
2634e09f7f avoid fetching the files multiple times at first launch 2021-12-05 16:54:19 +01:00
tibbi
79f30475c6 avoid calling file.list() or listFiles() on Android 11+ 2021-12-05 16:34:39 +01:00
tibbi
24efdebb86 avoid refetching mediastore items unnecessarily 2021-12-05 16:24:35 +01:00
tibbi
dae13c0261 improve the performance of fetching Android 11+ files, use the MediaStore 2021-12-04 22:24:50 +01:00
sidhantailawadi
98ed5c1991 Reverses the condition to show the toggle hide/unhide icon (#2280) 2021-12-04 16:40:33 +05:30
Tibor Kaputa
510f48c413
Merge pull request #2258 from Aga-C/mark-favorite-items
Added stars to mark favorite items (#2102)
2021-12-02 23:17:49 +01:00
tibbi
ea620a06c1 minor code formatting 2021-12-01 10:30:23 +01:00
Tibor Kaputa
aea7252b16
Merge pull request #2257 from Aga-C/add-rotate-permission
Fixed missing permission for rotate on external memory (#2236)
2021-12-01 10:29:31 +01:00
tibbi
05a81e53c5 simplifying a path check at deleting folders 2021-11-30 16:05:16 +01:00
Agnieszka C
1f47af7826 Moved handleRotate to the separate method 2021-11-30 15:55:10 +01:00
Agnieszka C
cbb9bcc4e5 Hiding mark as favorite, smaller star icon, moved items on thumbnail 2021-11-30 15:49:00 +01:00
Agnieszka C
2d06a8b4dc Merge branch 'master' into mark-favorite-items 2021-11-30 13:48:58 +01:00
tibbi
009360580c use proper file thumbnail style at the Medium picker dialog 2021-11-30 13:12:05 +01:00
tibbi
904c2f57ab couple more dialog style updates 2021-11-30 12:22:22 +01:00
tibbi
006e367a1e redesigning the app settings 2021-11-30 11:41:59 +01:00
tibbi
06cc30a723 updating some icons + replacing some with vectors 2021-11-29 23:54:04 +01:00
tibbi
06b6416926 animate the thumbnail appearance only if animations arent disabled in the system 2021-11-29 22:55:14 +01:00
tibbi
657021b67e fixing a glitch with folder thumbnails at using search 2021-11-29 22:53:11 +01:00
tibbi
243f0ae988 adding some SearchActivity related fixes 2021-11-29 22:48:40 +01:00
tibbi
8887a57a6e correcting some placeholder and list visibility 2021-11-29 22:46:28 +01:00
tibbi
fba4b6fc3e we finally dont have to calculate content height and width 2021-11-29 22:11:02 +01:00
tibbi
a67e5ff86f properly handle margins between thumbnails, if selected so 2021-11-29 21:51:17 +01:00
tibbi
c17e6833e2 setup listLayoutManager too 2021-11-29 21:15:58 +01:00
tibbi
559469e7b8 add toggling between horizontal and vertical scrolling 2021-11-29 21:10:29 +01:00
tibbi
daf9834d39 implementing the media bubble text fetcher 2021-11-29 20:10:13 +01:00
tibbi
45fe153d54 adding bubble at folders fastscroller 2021-11-29 19:59:38 +01:00
tibbi
53eafb30c6 updating commons, lets just make it compilable for now 2021-11-29 19:17:48 +01:00
Agnieszka C
af3b44d470 Added stars to mark favorite items (#2102) 2021-11-07 19:44:02 +01:00
Agnieszka C
57020626db Fixed missing permission for rotate on external memory (#2236) 2021-11-06 10:41:14 +01:00
tibbi
e849c6f7c0 use MediaStore for fetching files on Android 11 2021-11-02 23:30:43 +01:00
tibbi
e1c5631c58 fixed a glitch with files not being sorted properly in some cases 2021-10-24 19:19:38 +02:00
tibbi
352dbe40bf catch all exceptions at toggling favorites 2021-10-24 18:35:31 +02:00
tibbi
c6640eaa9a adding a comment related to removing irrelevant cached files 2021-10-23 22:04:54 +02:00
tibbi
a6057f7fe4 be more agressive at deleting corrupt cached files 2021-10-23 21:54:42 +02:00
tibbi
ff6de731c9 fix #2080, make sure Favorites and Recycle bin has priority at refreshing 2021-10-21 14:23:57 +02:00
tibbi
811d5e88c5 fixed some glitches with favorites un/marking 2021-10-21 13:59:54 +02:00
tibbi
50e6b98d09 adding some recycle bin refreshing related improvements 2021-10-21 13:32:41 +02:00
tibbi
3e729ba6fe rescan favorites and recycle bin with higher priority on main screen 2021-10-21 12:02:35 +02:00
tibbi
eb909442e8 avoid scanning the recycle bin folder twice 2021-10-21 11:16:03 +02:00
tibbi
e69fed1981 simplifying a check in the sorting dialog 2021-10-12 23:18:26 +02:00
tibbi
ff6726b476 lets rescan files after some file operations, reverting #4d00682ec6 2021-10-09 17:38:38 +02:00
tibbi
f6a1ba1c74 moving file deletion handling into Commons 2021-10-08 22:16:30 +02:00
tibbi
841d770167 formatting some code style and imports in activities, no real change 2021-10-08 21:51:12 +02:00
tibbi
3781ee1f04 adding a helper function for fetching media store IDs from file paths 2021-10-08 21:48:34 +02:00
tibbi
e268927756 rescan files after editing 2021-10-08 20:30:54 +02:00
tibbi
48bf301e55 do not close the Upgraded From Free dialog on clicking outside of it 2021-10-03 19:32:32 +02:00
tibbi
21305a6d6d catch exceptions thrown at fixing date taken values 2021-09-09 15:37:26 +02:00
tibbi
4d00682ec6 avoid rescanning paths in some cases
This can make files not be recognized as media files in some other apps,
but rescanning can also too easily delete files. Let's try playing it
safe.
2021-08-30 22:38:29 +02:00
tibbi
d9194176ee catch errors thrown at updating a files favorite state 2021-08-29 23:25:42 +02:00
tibbi
2f15893cda fix #1673, make sure the proper file opens at third party intents 2021-08-29 23:00:30 +02:00
tibbi
03a3f5d187 moving a function a bit up 2021-08-29 22:55:19 +02:00
tibbi
1bbfd7484e make sure the bottom action Rotate button is visible only when appropriate 2021-08-20 14:01:49 +02:00
tibbi
8a88a69eea fix #2202, fix crashing at zooming heic files on some devices 2021-08-18 09:55:49 +02:00
tibbi
47f73e9f37 adding support for .apng files 2021-08-17 16:43:20 +02:00
tibbi
a39b4ee459 fix #2192, disable fullscreen bottom actions if invisible 2021-08-17 12:29:31 +02:00
tibbi
d40294a822 optimize settings cache calculation 2021-07-04 22:03:33 +02:00
tibbi
a233600d28 allow disabling fullscreen volume and brightness video gestures 2021-07-04 22:03:17 +02:00
tibbi
cf4f4b3627 fix #2167, show tooltips on long pressing the fullscreens bottom action buttons 2021-06-28 20:26:38 +02:00
tibbi
2bd6614b9b catch exceptions thrown at deleting media from db 2021-06-28 19:00:24 +02:00
tibbi
5c0f7d493e fix a glitch with loading huge png thumbnails on Android 11+ 2021-06-18 13:42:38 +02:00
tibbi
516f20856d adding a widget null check 2021-06-18 13:40:33 +02:00
Tibor Kaputa
e603663f0b
Update GalleryDatabase.kt 2021-06-18 10:00:46 +02:00
DaPa
dc72fc0de7 Avoid SQLite connection object leaking
- W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.simplemobiletools.gallery.pro/databases/gallery.db' was leaked!  Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.

Happens to me on Android 11 (Moto g 5G plus, with Google Photos disabled):
 - open Camera, then click on the small picture thumbnail from bottom-right corner which should open the Gallery app
 - in this scenario sometimes, the Simple Gallery was crashing and the above warning was seen in the logs...
 - no more crash after this patch: please review/test properly before incorporating!
2021-06-17 22:18:55 +03:00
tibbi
e7c63a8b52 fixing some compile errors 2021-06-16 23:12:48 +02:00
tibbi
b34d94b5ed updating commons 2021-05-17 10:43:20 +02:00
tibbi
53f3cfe02e initiate touchhelper at folders only when going to drag & drop 2021-05-14 20:01:47 +02:00
tibbi
7cbb533270 ignore the newApi at a fullscreen mode function 2021-05-14 10:26:32 +02:00
tibbi
b274f9ad57 fix a glitch at toggling fullscreen mode in split screen 2021-05-14 10:09:11 +02:00
tibbi
8d508bd883 don't always reenable swipeRefreshLayout after drag & drop 2021-05-13 22:53:33 +02:00
tibbi
a50be5ae6a removing a log statement 2021-05-13 21:54:37 +02:00
tibbi
da47c199d9 add some menu buttons for quickly moving a folder to the top or bottom 2021-05-13 21:53:29 +02:00
tibbi
3450c2e41d apply the custom sorting when appropriate 2021-05-13 19:29:55 +02:00
tibbi
552c98c270 add Custom sorting at the sorting dialog 2021-05-13 19:10:31 +02:00
tibbi
5dcad025bb store custom folder order in shared prefs 2021-05-13 18:56:09 +02:00
tibbi
fc2d42490a adding some widget related null checks 2021-05-13 14:50:54 +02:00
tibbi
4841666e18 stop pull-to-refresh while drag & dropping 2021-05-13 11:32:34 +02:00
tibbi
ec5fd3d088 add the reordering animation at drag and drop 2021-05-12 23:32:03 +02:00
tibbi
c73300ccd2 show the reordering drag handles when appropriate 2021-05-12 23:02:57 +02:00
tibbi
c84a2bfafe fix #2128, properly show recycle bin item size at the app settings 2021-05-11 15:01:36 +02:00
tibbi
762220533c removing a debug statement 2021-04-18 21:21:46 +02:00
tibbi
4a20695d77 use a better confirmation dialog text at clearing the recycle bin 2021-04-18 20:04:21 +02:00
tibbi
851fddc67a use the new way of querying contentresolver on api 30+ 2021-04-17 23:29:40 +02:00
tibbi
5202b77e8c updating commons 2021-04-17 22:51:15 +02:00
tibbi
0e36f653e5 handle max brightness at panoramas too 2021-03-31 11:50:48 +02:00
tibbi
bfda618d7f try setting speed as the file loading priority by default 2021-03-30 22:57:52 +02:00
tibbi
d068135a39 shortening some Picasso initialization code 2021-03-30 15:16:41 +02:00
Tibor Kaputa
ffa4c02f63
Merge pull request #2105 from connyduck/remove_okhttp
remove okhttp dependency from runtime classpath to save appsize
2021-03-29 23:15:32 +02:00
tibbi
80def97201 adding a threading crashfix 2021-03-29 23:09:12 +02:00
Konrad Pozniak
ab1d7e2ab1 remove okhttp dependency from runtime classpath to save appsize 2021-03-16 21:16:34 +01:00
tibbi
350bf0a7f6 reverting the coroutines thing, it is too unstable 2021-03-09 09:11:55 +01:00
tibbi
f4c788fa94 try setting higher thread priority at fetching cached folders 2021-03-08 22:59:08 +01:00
tibbi
ddbc78226e make sure the FixDateTaken callback gets called 2021-03-08 21:21:49 +01:00
Tibor Kaputa
3c10ef19bd
Merge branch 'master' into Use_suspend_functions_in_DateTakensDao 2021-03-08 20:58:52 +01:00
tibbi
463c0ed719 add animations to listviews 2021-03-07 22:59:57 +01:00
tibbi
fa41371209 use Down animation at closing fullscreen view with a gesture 2021-03-07 22:49:41 +01:00
tibbi
8b735f36d7 adding some GIF and SVG improvements 2021-03-07 22:43:06 +01:00
tibbi
b0c664842f splitting photo and video thumbnails to remove redundant views 2021-02-19 18:51:43 +01:00
tibbi
2cf4735767 moving some functions into background thread 2021-02-19 18:47:38 +01:00
tibbi
698448b847 properly update the colors onResume 2021-02-19 17:05:36 +01:00
tibbi
4f79d196d6 moving folder deletion and image orientation fetching to background threads 2021-02-19 16:29:47 +01:00
tibbi
46d298596a renaming the rounded corners transformer for picasso 2021-02-19 16:04:39 +01:00
tibbi
e940b6813b reordering the FAQ items, move the more asked questions at the top 2021-02-19 15:21:08 +01:00
tibbi
063d09c8fa moving the picasso loading function down, no real change 2021-02-18 21:03:25 +01:00
tibbi
2561c96c92 crop picasso thumbnails only if set so in the app settings 2021-02-18 21:02:59 +01:00
tibbi
15e7c72104 apply the rounded corners to images loaded by Picasso too 2021-02-18 20:59:38 +01:00
tibbi
6d46619cca properly handle Android 11 inability to load PNGs bigger than 10 MB 2021-02-18 20:42:08 +01:00
tibbi
0d5ac9906c adding some coloring related improvements 2021-02-18 19:46:24 +01:00
baron
02da4e4e32 Several fixes to make code work with platform 30 2021-02-18 18:18:02 +01:00
tibbi
cf3e27a25d adding a crashfix with zero division 2021-02-18 18:16:12 +01:00
tibbi
bb48612293 reordering some search related things, do not trigger search at opening 2021-02-15 22:29:04 +01:00
tibbi
d4110f182e fix #2053, add back the setting for toggling photo brightness, disable by default 2021-01-26 11:47:27 +01:00
tibbi
fde725e98e lets use the new GridDecoration only when needed, not by default 2021-01-21 11:03:40 +01:00
tibbi
bd60592188 simplify thumbnail spacing calculations 2021-01-21 10:52:15 +01:00
tibbi
c68f8522b8 adding some search related grid improvements 2021-01-20 23:37:28 +01:00
tibbi
7f2db07892 properly handle grid updating if a thumbnail gets deleted 2021-01-20 23:12:39 +01:00
tibbi
58a9150db0 update currently displayed media hashcode if something gets deleted 2021-01-20 22:49:45 +01:00
tibbi
ff4bca1251 allow interpreting grid decoration as string 2021-01-20 22:49:29 +01:00
tibbi
b8e63ae74e update media thumbnails grid decoration only when needed 2021-01-20 22:49:02 +01:00
tibbi
23dfea83e6 improve the scrollbar height calculation, take spacing into consideration 2021-01-20 12:28:02 +01:00
tibbi
8bd9ee1c95 fixing some grid spacing related glitches 2021-01-19 23:18:13 +01:00
tibbi
b5c993ed51 properly handle file thumbnails at search 2021-01-19 12:36:47 +01:00
tibbi
146cb1a052 add a null check at grid spacing decorator 2021-01-18 23:25:22 +01:00
tibbi
efe26e9c58 use proper grid position at thumbnails with grouping and section titles 2021-01-18 23:08:54 +01:00
tibbi
78a75fe873 refresh file thumbnails if the rounded corners setting changes 2021-01-18 19:48:42 +01:00
tibbi
92802b2923 add side margin if file thumbnails have rounded corners 2021-01-18 19:44:48 +01:00
tibbi
73cf37d463 use the currently shown directories 2021-01-18 19:33:40 +01:00
tibbi
83b0d7347f optimize .nomedia checks, avoid doing duplicate work 2021-01-18 18:53:51 +01:00
tibbi
1b5040ebcd highlight selected items at list views too 2021-01-18 13:31:27 +01:00
tibbi
9ff50cc48a fixing a glitch at caching nomedia folders 2021-01-18 12:40:39 +01:00
tibbi
876e10a202 prefill nomedia folders after fetching 2021-01-18 12:29:52 +01:00
tibbi
e59c061972 avoid checking cached folders hidden status unnecessarily 2021-01-18 12:17:44 +01:00
tibbi
a393e2afb6 allow setting rounded corners to file thumbnails 2021-01-18 11:49:04 +01:00
tibbi
cc7845d89e update thumbnail spacing on resume 2021-01-17 23:59:16 +01:00
tibbi
54fffd215f allow customizing the spacing at file thumbnails 2021-01-17 23:44:48 +01:00
tibbi
823309c35e change the way grid spacing is handled, make it more dynamic 2021-01-17 23:07:26 +01:00
tibbi
d0da7d589a moving some file thumbnail settings into a separate window 2021-01-17 19:10:57 +01:00
tibbi
28bbf5a728 renaming thumbnail style dialog to folder thumbnail style 2021-01-17 18:36:05 +01:00
tibbi
2d0a4c6250 fix #2043, replace the old ExifInterface with androidx ExifInterface 2021-01-17 11:50:34 +01:00
tibbi
42d3f18168 removing the vertical gesture related settings 2021-01-17 10:42:20 +01:00
tibbi
560aedfb6e allow clearing the app cache, related to #1504 2021-01-17 10:31:22 +01:00
tibbi
ce6e3315c0 animate column count changes 2021-01-16 23:47:02 +01:00
tibbi
440aea9eb8 use a more advanced cache key by using size too 2021-01-14 18:50:32 +01:00
tibbi
60e0a68c1c speed up fullscreen media showing a bit by providing files last modified too 2021-01-14 18:29:51 +01:00
tibbi
4339a42eb3 fetch last modified more often, it is needed at cache 2021-01-14 11:23:42 +01:00
tibbi
e86e6986c0 get MediaStore last modified values in more cases, not just on R+ 2021-01-14 11:03:24 +01:00
tibbi
a77580df50 improving the performance at media scrolling 2021-01-13 22:42:07 +01:00
tibbi
7957f28b97 speed up cached folder fetching by not checking .nomedia multiple times 2021-01-13 21:02:06 +01:00
Isira Seneviratne
8def34faf0 Convert DateTakensDao functions to suspend functions. 2020-12-06 07:34:24 +05:30
tibbi
15285e8c2c fixing a crash at fetching Date Taken values from our db 2020-12-05 23:27:49 +01:00
tibbi
49c809815f fix #1976, properly handle app protection at opening a default folder 2020-12-05 23:21:09 +01:00
tibbi
74777a7cb8 fix #1999, always use white color at the top items of fullscreen view 2020-12-05 22:58:49 +01:00
tibbi
10c5b678be adding a new faq item 2020-11-27 22:18:07 +01:00
tibbi
3e134c4e37 fixing some thumbnail coloring issues 2020-11-10 10:07:44 +01:00
tibbi
d4117fde5a adding thumbnail customization and default folder at Whats New 2020-11-09 16:48:33 +01:00
tibbi
564e56b20d moving the default folder related code up 2020-11-09 13:40:17 +01:00
tibbi
58a838f770 allow setting the Recycle bin and Favorites folders as defaults 2020-11-09 12:39:10 +01:00
Tibor Kaputa
78f40ebc9f
Merge pull request #1945 from roland-kister/master
Added default folder option
2020-11-08 23:01:27 +01:00
tibbi
425d1f77b5 use the local config variable at folders 2020-11-08 21:39:39 +01:00
tibbi
c2ee93e039 recreate the directory adapter if something thumbnail style related changes 2020-11-08 21:30:26 +01:00
tibbi
e37fe3ab37 add handling for limiting long folder titles to 1 line 2020-11-08 21:10:37 +01:00
tibbi
5573a4eb18 fixing some additional customization glitches 2020-11-08 21:05:50 +01:00
tibbi
650c04d3c3 adding a couple customization fixes 2020-11-08 20:44:58 +01:00
tibbi
9f12a3a6f1 use proper folder name with all settings 2020-11-08 20:20:35 +01:00
tibbi
042e50d8de properly handle exporting and importing thumbnail style related values 2020-11-08 20:04:39 +01:00
tibbi
b613ab02ab finishing up the thumbnail customizer dialog 2020-11-08 19:42:07 +01:00
tibbi
781adcfa10 renaming the directory thumbnail file, append square 2020-11-08 19:15:05 +01:00
tibbi
fe5cb84ccc show proper folder name at style sample 2020-11-08 18:41:55 +01:00
tibbi
5218f8f359 adding a sample image at thumbnail style customizatation dialog 2020-11-08 18:40:45 +01:00
tibbi
01efb1bf81 store the selected customization related values 2020-11-08 15:49:34 +01:00
tibbi
20ef1924a7 creating the thumbnail customization dialog 2020-11-08 15:31:56 +01:00
tibbi
b35b22d0eb preparing some folder customization things 2020-11-08 11:45:33 +01:00
Roland Kister
273ac6bd01 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery into master 2020-11-03 22:50:40 +01:00
Roland Kister
f817755a04 Changed config.defaultFolder to String 2020-11-03 22:48:51 +01:00
tibbi
4ab2b6a437 reverting to the previous UI of the main screen 2020-11-03 10:16:48 +01:00
tibbi
e9a878454c fixing some folder UI glitches 2020-11-02 13:35:14 +01:00
tibbi
46002b4358 use smaller rounded corners at list views 2020-11-02 13:22:30 +01:00
tibbi
e8dd9144c1 do not show file count on the main screen if it is disabled in settings 2020-11-02 12:51:54 +01:00
tibbi
4106df2b6c fix #1897, properly load zoomable images in some cases 2020-11-02 12:17:06 +01:00
tibbi
c7d4be1d9d fix the new UI with horizontal view too 2020-11-01 23:42:03 +01:00
tibbi
bcabc231e2 calculate the scrollview height properly for the scrollbar 2020-11-01 22:20:02 +01:00
tibbi
a7c1789a55 updating the main screens UI, use rounded corners at thumbnails 2020-11-01 21:58:18 +01:00
tibbi
8896730d8b catch exceptions thrown at fetching nomedia folders 2020-11-01 17:26:21 +01:00
tibbi
7093640f66 moving some grid/list view related things in Commons, no real change 2020-10-30 08:49:20 +01:00
tibbi
6ebf54c799 adding a new FAQ item about selecting multiple items 2020-10-28 21:59:23 +01:00
tibbi
4ef159e912 rely on noMedia files from MediaStore on a couple more places 2020-10-28 21:01:51 +01:00
tibbi
eb9ca5df77 fetch nomedia files from MediaStore, use them for quick check 2020-10-28 20:34:30 +01:00
tibbi
a4c590ddd3 insert created nomedia files into MediaStore manually 2020-10-28 20:06:34 +01:00
tibbi
ba4ba6a338 make sure to rescan some WhatsApp folders by default 2020-10-28 18:05:38 +01:00
tibbi
7c8cd2f1f3 removing the prompt about Simple Dialer, SMS Messenger and Voice Recorder 2020-10-28 18:05:26 +01:00
Roland Kister
70d68d1a4a Added default folder option 2020-10-26 09:15:53 +01:00
tibbi
ad049ecb0b wrap Date Taken value fetching in try/catch block 2020-10-24 10:06:21 +02:00
tibbi
a8f107c37f fix #1933, show wrong webp files as casual images 2020-10-10 22:29:25 +02:00
tibbi
a7b35e36b2 use thoe shorter version of cursor looping 2020-10-01 17:30:01 +02:00
tibbi
60b44c27be adding some try/catch blocks 2020-10-01 17:23:29 +02:00
tibbi
7e0ebaace9 properly fetch Date Taken values when needed 2020-09-27 21:22:30 +02:00
tibbi
a3a6ec95e5 updating commons to 5.30.17 2020-09-27 09:57:58 +02:00
tibbi
73b1d2147e fixing a glitch with some folders being invisible 2020-09-27 09:56:02 +02:00
tibbi
cbf831bd31 improve storage permission handling to fix an Android 11 issue 2020-09-25 22:38:26 +02:00
tibbi
e7cb91cd34 fix a glitch with animated webp files stucking 2020-09-25 21:36:06 +02:00
tibbi
f3c55e1df8 fix #1124, properly handle playing animated WebP files 2020-09-25 21:23:47 +02:00
tibbi
03a83f5341 delete invalid DB files in batches, not one by one 2020-09-25 14:39:34 +02:00
tibbi
8d7a5b1771 cache all Date Taken values at once, not folder by folder 2020-09-25 14:00:49 +02:00
tibbi
44f5bb5c1e get proper last modified at AsyncTask only if needed 2020-09-25 12:26:14 +02:00
tibbi
f815c626fc prefetch all Last Modified values, not folder by folder 2020-09-25 12:07:40 +02:00
tibbi
ff2cbbf533 optimize file fetching a bit 2020-09-24 23:13:38 +02:00
tibbi
8f58de5126 cache which folder has nomedia file, avoid checking it over and over 2020-09-23 23:17:44 +02:00
tibbi
662efb3207 lets use the new way of checking file lastmodified on Android 11+ only 2020-09-22 23:04:19 +02:00
tibbi
f856a48591 reaccepting the EXIF related pull request for some git messup 2020-09-22 15:13:59 +02:00
tibbi
6325121969 fix #1913, prefer the Last Modified value from mediastore, not our db 2020-09-16 21:09:10 +02:00
tibbi
d906ffe59a convert last_modified to milliseconds at fetching 2020-09-15 23:44:58 +02:00
tibbi
f034ad5786 improve the performance at checking file size too 2020-09-15 23:25:26 +02:00
tibbi
e4dc231589 user the own database of Last Modified values, like Date Takens 2020-09-15 22:59:53 +02:00
tibbi
54bb8232c5 store last_modified in a custom db with date_takens too 2020-09-15 22:26:26 +02:00
tibbi
68140085ff removing a redundant argument 2020-09-09 23:04:33 +02:00
Tibor Kaputa
59b1ee5e67
Merge pull request #1902 from Isira-Seneviratne/Remove_multidex_library
Remove multidex library.
2020-09-09 22:55:47 +02:00
tibbi
164518bb80 move folder distinction check further 2020-09-09 22:54:22 +02:00
tibbi
f38981be7b move the single folder visibility check a bit further in the process 2020-09-09 22:07:39 +02:00
tibbi
a049943c1e avoid checking folder visibility twice at fetching 2020-09-09 21:33:03 +02:00
tibbi
7e69c392a4 do not show Portrait files on Android 11 by default 2020-09-09 21:32:35 +02:00
Isira Seneviratne
f71429f667 Remove multidex library. 2020-08-31 07:42:45 +05:30
tibbi
2e6239c98e updating commons and gradle 2020-08-07 13:27:52 +02:00
tibbi
75e9093b26 recognize a new type of panoramic photos 2020-06-17 10:01:30 +02:00
tibbi
35e92f77e9 add file size to its signature too 2020-06-13 23:42:29 +02:00
tibbi
c3afe2b6d3 always show the sidebar info bubble at scrolling by handle 2020-06-12 22:08:52 +02:00
tibbi
32b9a5db08 fix #1859, properly handle some batch renaming with patterns 2020-06-12 21:38:18 +02:00
tibbi
6096dab7c9 some autoformat changes 2020-06-12 20:37:25 +02:00
tibbi
bb33cee722 properly cache fullscreen images 2020-06-12 13:06:16 +02:00
tibbi
49c1188023 update commons to 5.29.0 2020-06-07 17:46:21 +02:00
tibbi
6f25913558 scan the internal storage from time to time for new folders 2020-06-07 17:31:36 +02:00
tibbi
97b19fe169 do not close main screens Search on opening a folder 2020-06-07 16:33:14 +02:00
tibbi
8a8744fee7 do not close Search on Stop 2020-06-07 16:17:08 +02:00
tibbi
c5042bd89d use caching at the ImageDecoder for faster fullscreen image loading 2020-06-02 12:30:30 +02:00
tibbi
318275590c autoformating some files, no real change 2020-05-29 22:28:51 +02:00
tibbi
150aace3ca properly catch exceptions thrown in the background 2020-05-29 21:25:41 +02:00
tibbi
7605e90632 show Portrait photos by default on Android 10+ 2020-05-29 20:41:23 +02:00
tibbi
3c8ec82bc7 catching some exceptions thrown at inserting media in db 2020-05-17 11:37:55 +02:00
tibbi
668df3b8fb show a prompt mentioning our new apps 2020-05-17 11:23:52 +02:00
tibbi
6cdf9ac905 adding some WhatsApp folders at the everShownFolders, check them too 2020-05-17 10:18:37 +02:00