Commit graph

79 commits

Author SHA1 Message Date
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
Justin Jacobs
6ff17351cc Use subsamplingScaleImageView for PNGs 2017-04-01 13:24:31 -04: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
2540763480 check medium resolution at fullscreen media change 2017-03-25 12:41:20 +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
eb2ff336ce remove the photoViewAttacher, handle zoom differently 2017-03-22 23:45:20 +01:00
tibbi
315d2197b8 allow zooming in more at fullscreen view 2017-03-22 21:08:41 +01:00
tibbi
a150e5da04 replace Picasso with Glide everywhere once again 2017-03-18 21:57:49 +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
e1ddcda524 preload just 1 fullscreen image per side, with more dynamic resolution 2017-03-18 12:42:13 +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
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
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
70a2d82aa4 do not zoom in that much at double tapping an image 2017-03-07 21:01:23 +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
9fdcea056d zoom in more on double tap 2017-02-27 20:31:17 +01:00
tibbi
609e341b81 feed the Glide bitmap to subsamplingScaleImageview 2017-02-27 18:57:17 +01:00
tibbi
445f7a612a load a smaller preview at fullscreen photos first 2017-02-26 17:31:39 +01:00
tibbi
169b9f45ca increase the load priority of the current fullscreen image 2017-02-26 17:21:49 +01:00
tibbi
9a9ce890ca add a Save as button for saving rotated images 2017-02-13 22:44:03 +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
eb1ef6852e rename some photo fragment views 2017-02-13 20:16:33 +01:00
tibbi
f728ca2650 add an activity null check at toggling fullscreen 2017-02-09 20:51:42 +01:00