Commit graph

231 commits

Author SHA1 Message Date
tibbi
bbdafef491 some more performance improvements 2016-12-04 18:07:26 +01:00
tibbi
c9c5f549be some updates to the way we get media from mediastore 2016-12-04 17:52:10 +01:00
tibbi
c9eb50944d small code style update 2016-12-04 16:59:21 +01:00
tibbi
d046cbc1ec allow swiping at opening an image for example from Downloads 2016-12-04 15:57:42 +01:00
tibbi
9fb2ec55d9 allow editing third party images 2016-12-04 15:47:46 +01:00
tibbi
a66d72abde allow changing the save path of edited image 2016-12-04 15:39:22 +01:00
tibbi
8ed6bff447 move Config and Constants into Helpers folder 2016-12-04 15:25:30 +01:00
tibbi
b04022d365 move the remaining Utils functions into extensions 2016-12-04 15:24:09 +01:00
tibbi
802789d1da move hasNavBar into an activity extension 2016-12-04 15:20:48 +01:00
tibbi
9ff47e6b6f use the filepickers getmimetype function instead of a custom one 2016-12-04 15:17:32 +01:00
tibbi
40e50dddc8 show the path at Save as dialog of editor 2016-12-04 13:20:37 +01:00
tibbi
5c12491fc1 add Set as wallpaper to photovideoactivity 2016-12-04 12:58:47 +01:00
tibbi
679deb424a add more action buttons to PhotoVideoActivity used by third parties 2016-12-04 12:25:54 +01:00
tibbi
72e56796b9 move OpenWith in extension 2016-12-04 12:07:22 +01:00
tibbi
56ba895302 move some constants outside of the constants object 2016-12-04 12:02:48 +01:00
tibbi
b3f285f7f4 move wallpaper setting to an extension 2016-12-04 12:00:19 +01:00
tibbi
f70eb2b2fc allow swiping between images if opened from third party app 2016-12-04 11:39:40 +01:00
tibbi
b0f3ac99a4 make sure dialogs are cancellable by clicking outside 2016-12-04 10:27:53 +01:00
tibbi
49247ee9f1 wrap the sorting dialog in a scrollview 2016-12-03 21:00:55 +01:00
tibbi
747e007fd0 removing a check from sorting, not sure why was it there 2016-12-03 18:32:30 +01:00
tibbi
421214057a add an extra check to prevent deleting directories with documentFile 2016-12-01 23:42:47 +01:00
tibbi
865df01f3a allow directory comparison end in result 0 2016-12-01 23:36:51 +01:00
tibbi
0ab0edd78a always try the simple way of deleting files too, like from internal storage 2016-11-30 23:22:10 +01:00
tibbi
5f64a02763 do not hide the system UI at initiating fullscreen photo/video 2016-11-30 23:15:22 +01:00
tibbi
66221ff82d update the medium comparison function, allow result 0 2016-11-30 23:09:48 +01:00
tibbi
75adc50906 update the Medium serialVersionUID 2016-11-30 22:52:27 +01:00
tibbi
c262755401 scan invalid files before sorting 2016-11-30 22:48:37 +01:00
tibbi
7c6ba51066 fix #66, totally hide the navigation bar at fullscreen mode 2016-11-22 23:18:45 +01:00
tibbi
9838cc1e2d replace some one function interfaces with anonymous functions 2016-11-22 23:12:15 +01:00
tibbi
119ecf2060 use android.app.AlertDialog for dialogs so they are styled properly 2016-11-22 20:52:14 +01:00
tibbi
a2bcfdbc7c update filepicker to 1.5.2 2016-11-22 20:52:01 +01:00
Tibor Kaputa
f7f211cddf fix showing selected items on Android 5 2016-11-22 10:49:42 +01:00
tibbi
1b587b3d10 allow null mime types 2016-11-21 18:23:09 +01:00
tibbi
746ccc2d96 enable caching of media thumbnails 2016-11-21 18:19:29 +01:00
tibbi
b5a1600dab simplify delete checking 2016-11-20 23:00:15 +01:00
tibbi
192d963986 make sure the proper items are marked at long click 2016-11-20 22:02:17 +01:00
tibbi
01bf9dcf74 add kotlin license 2016-11-20 19:01:17 +01:00
tibbi
adadf2efec adding "Right to Left Viewpager" License 2016-11-20 17:56:31 +01:00
tibbi
b725899d96 add the BigNerdRanch multiselector license 2016-11-20 17:49:36 +01:00
tibbi
f3fd84dab9 rely on selected state, not activated on long click 2016-11-20 17:33:04 +01:00
tibbi
ff9b61f95e pass Glide the activity instead of context 2016-11-20 13:49:13 +01:00
tibbi
732e703d88 do not lowercase deleted path urls + some safety checks 2016-11-19 22:59:44 +01:00
tibbi
7658651ebf remove an isphotovideo check 2016-11-19 22:12:27 +01:00
tibbi
dd47759014 allow deleting only photo and video files with the gallery 2016-11-19 22:06:02 +01:00
tibbi
93e37ec8e6 make obtaining photo and video asynchronous 2016-11-19 22:05:44 +01:00
tibbi
828b4f4256 handle swipe to refresh inline 2016-11-19 21:22:48 +01:00
tibbi
80a1d286e6 handle image clicks 2016-11-19 21:18:52 +01:00
tibbi
66ba8f735a add copy/move 2016-11-19 21:08:35 +01:00
tibbi
c58811a8ce update the getSelectedMedia function 2016-11-19 21:01:31 +01:00
tibbi
c93cfcc729 add file deletion 2016-11-19 20:27:29 +01:00
tibbi
3049e8f1e8 add Share functionality to images 2016-11-19 19:57:08 +01:00
tibbi
f1c5699fe6 add the Properties cab 2016-11-19 19:45:38 +01:00
tibbi
e635be89db allow selecting multiple media items 2016-11-19 19:38:05 +01:00
tibbi
0824c66784 change the media gridview to recyclerview 2016-11-19 19:20:50 +01:00
tibbi
c6a8ff4b2f cleaning up MediaActivity 2016-11-19 16:07:44 +01:00
tibbi
4d8b494c68 make sure we close the cursor 2016-11-19 15:36:36 +01:00
tibbi
f4db0c7898 remove Butterknife 2016-11-19 14:49:04 +01:00
tibbi
e14f002596 convert MediaActivity to kotlin, initial version 2016-11-19 14:46:07 +01:00
tibbi
4b5063a1b0 add a confirmation dialog before deleting from folders page and viewpager 2016-11-19 13:52:54 +01:00
Tibor Kaputa
7854f75f22 make fragment click listener nullable 2016-11-18 14:32:53 +01:00
tibbi
47d111c642 some code style edits 2016-11-17 19:47:54 +01:00
tibbi
accf45bc83 replace photoview license with Subsampling scale image view 2016-11-17 19:08:30 +01:00
tibbi
af970a459c refresh the folders list after copy too 2016-11-17 17:18:14 +01:00
tibbi
e5f9ea9627 fix Directory and media sorting 2016-11-17 17:05:43 +01:00
tibbi
fa4cadebb4 check if new file/dir names are valid 2016-11-17 16:23:49 +01:00
tibbi
83dc85e63b simplify sendsuccess at renaming dir 2016-11-17 16:11:11 +01:00
tibbi
06f7d8d29d do not try displaying empty files 2016-11-17 15:56:50 +01:00
tibbi
db04516773 use lowercase paths at deleting folders 2016-11-17 15:55:39 +01:00
tibbi
639c3d57c6 shortening a function 2016-11-17 15:20:04 +01:00
tibbi
f65b5013ab add delete handling 2016-11-17 15:02:59 +01:00
tibbi
18bad5106a properly store hidden folders 2016-11-17 14:14:19 +01:00
tibbi
8c57a00947 one minor style change 2016-11-17 14:00:58 +01:00
tibbi
c525a0ebc7 properly display the albums at album picker 2016-11-17 13:46:24 +01:00
tibbi
af246cdcf0 add dir copying/moving 2016-11-17 13:11:49 +01:00
tibbi
53aa8e86d7 remove fileproperties from mainactivity 2016-11-17 12:37:04 +01:00
tibbi
b759f71363 implement file properties dialog 2016-11-17 12:36:27 +01:00
tibbi
a842d4daf7 implement folder un/hiding 2016-11-17 12:02:04 +01:00
tibbi
4394e6074e display hide/unhide menu buttons when appropriate 2016-11-17 11:54:17 +01:00
tibbi
53ed959e63 show the edit cab on initial selection 2016-11-17 11:14:15 +01:00
tibbi
60596b7e5c use isActivated for selecting items 2016-11-17 11:12:58 +01:00
tibbi
06c3645bf9 allow renaming dirs 2016-11-17 11:07:00 +01:00
tibbi
cc7c6a1e24 make sure unselecting items work on all android versions 2016-11-17 10:45:52 +01:00
tibbi
258c49eeb8 allow selecting multiple directories 2016-11-17 10:35:51 +01:00
tibbi
06f345240a ditch the recyclerview parcelable state holder 2016-11-16 23:59:25 +01:00
tibbi
cd4d98d386 go to the selected directory on click 2016-11-16 23:57:27 +01:00
tibbi
6c4ec53cc1 replace directory baseadapter with recyclerview adapter 2016-11-16 23:50:46 +01:00
tibbi
9616e914b9 convert MainActivity to kotlin, part 1 2016-11-16 20:00:58 +01:00
tibbi
5592a040c3 decrease the mininum tile dpi to 100 at fullscreen images 2016-11-15 19:31:57 +01:00
tibbi
733d8e58d9 move the UI toggle functions out of extensions, as they arent 2016-11-14 23:14:35 +01:00
tibbi
35fb696d30 set the default mimetype to image/jpeg 2016-11-14 23:10:57 +01:00
Lonami Exo
bb346fbdc0 Fixed #57 and added auto-detect mime-type when setting wallpaper 2016-11-14 20:32:02 +01:00
tibbi
8e61e46a90 simplify the config creation 2016-11-14 18:55:48 +01:00
tibbi
c524044d11 crashfix at getRealPathFromURI 2016-11-14 18:22:42 +01:00
tibbi
930150416c convert Constants to kotlin 2016-11-13 23:13:41 +01:00
tibbi
4a2ecc15a0 convert VideoFragment to kotlin 2016-11-13 23:02:19 +01:00
tibbi
e2938a59ec some smaller adjustments here and there 2016-11-13 22:13:16 +01:00
tibbi
376089984c convert viewpagerfragment to kotlin 2016-11-13 22:06:39 +01:00
tibbi
aa36c42f13 convert PhotoFragment to kotlin 2016-11-13 22:00:33 +01:00
tibbi
8cc9c27416 convert ChangeSortingDialog to kotlin 2016-11-13 21:43:56 +01:00
tibbi
ed2f9117bb be incasesensitive when comparing directory paths 2016-11-13 11:55:24 +01:00