Commit graph

111 commits

Author SHA1 Message Date
tibbi
f4d9ab0ff5 use the GlideDecoder at SubsamplingScaleImageView 2017-09-05 10:20:15 +02:00
tibbi
bfad77b597 minor code style updates 2017-09-01 15:17:11 +02:00
tibbi
01495680cb fix #333, add a switch for disabling video gestures 2017-09-01 11:51:11 +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
15c20ab758 add a volume slider at the video fragments right side 2017-08-06 16:44:00 +02:00
tibbi
3f1cfab633 properly handle launching videos in slideshows 2017-08-05 15:53:02 +02:00
tibbi
5c88ce9fa8 update PhotoView to 2.1.2 2017-07-09 19:47:54 +02:00
tibbi
5b5f81fda5 update Commons and Glide 2017-07-01 00:04:31 +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
e87cc4a86d add an extra check at initializing video media player at menu visibility change 2017-06-24 18:56:38 +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
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
5d2528b415 check for null mediaplayer at dragging video progress 2017-06-15 21:35:08 +02:00
tibbi
d2713635d5 add an additional null check at surfaceholder of video fragment 2017-05-31 23:20:34 +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
9d7834f294 add an aditional null check at videofragments 2017-05-26 09:38:35 +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
c0bb740c87 load 1 image per side initially at viewpager for faster loading 2017-05-20 19:27:54 +02:00
tibbi
8603661873 add a null check at setting video size 2017-05-19 20:51:30 +02:00
tibbi
2ba7ffeb63 remove a redundant code block 2017-05-14 12:56:20 +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
972916f6b2 update commons to 2.17.3 2017-04-24 22:47:47 +02:00
tibbi
cb9353c31a toggle fullscreen at clicking outside videos too 2017-04-17 20:31:59 +02:00
tibbi
0cecfb4a6f use a signature at loading fullscreen images with glide 2017-04-17 19:01:04 +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
7e95356310 remove the photofragment clear function 2017-04-13 22:56:14 +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
eeaf854144 fix some errors at loading fullscreen images 2017-04-04 21:48:59 +02:00
tibbi
ebc6c2ef3d allow zooming in a lot more at fullscreen photos 2017-04-03 18:40:08 +02:00
tibbi
6ca3c30b9c zoom in more on double click 2017-04-02 09:23:09 +02:00
tibbi
576f2a431a use Subsampling at a couple more image formats 2017-04-01 19:31:11 +02:00