Commit graph

273 commits

Author SHA1 Message Date
tibbi
e062872a29 recreate Subsampling Scale Imageview if some option related to it changed 2018-09-28 19:25:07 +02:00
tibbi
fe186bcabc adding a new Settings toggle for showing images in the highest possible quality 2018-09-28 19:03:35 +02:00
tibbi
e57ef1c7aa fix #908, reduce image quality even more on some devices 2018-09-22 18:54:26 +02:00
tibbi
e86c07895c set fullscreen max tilesize to 4096 2018-09-20 21:13:31 +02:00
tibbi
f95da6b83a set isSubsamplingVisible to false at some errors too 2018-09-20 13:55:45 +02:00
tibbi
1110c80b66 add a helper variable for checking subsampling view visibility 2018-09-20 13:52:24 +02:00
tibbi
1bae7ef7a6 use lower dpi on better device fullscreen images 2018-09-20 13:52:05 +02:00
tibbi
036641c0c4 calculate minimal tile dpi at fullscreen view dynamically 2018-09-05 22:13:31 +02:00
tibbi
16f828580f shortening some code 2018-09-05 20:47:13 +02:00
tibbi
27fb0404ca adding a crashfix at loading fullscreen images 2018-08-21 10:18:57 +02:00
tibbi
d590ac2dc2 do not use lower resolution images at fullscreen view before adding the zoomable 2018-08-20 21:39:04 +02:00
tibbi
8e9bbbe451 handle showing fullscreen svg files 2018-08-20 20:58:11 +02:00
tibbi
44f171bbf5 fix #900, handle one finger zooming toggle at PhotoView too 2018-08-14 12:27:39 +02:00
tibbi
f01410bb1e fix #911, try using Glide for image loading, if Picasso fails 2018-08-13 23:40:17 +02:00
tibbi
fe69f400ab remove the glide photoview clearing 2018-08-13 22:19:45 +02:00
tibbi
99f4a65dc1 wrap whole picasso loading in a try/catch block 2018-08-13 21:43:24 +02:00
tibbi
c708f183e2 encode percent sign at file paths too 2018-08-13 21:41:13 +02:00
tibbi
9aaee4e648 fix #904, properly show images with hashtag in their path 2018-08-13 21:37:06 +02:00
tibbi
5505594c29 properly load content:// uris at PhotoFragment 2018-08-08 22:53:09 +02:00
tibbi
d647bbb583 disable subsampling view at swiping away from it 2018-08-08 22:28:03 +02:00
tibbi
da70c220d2 fix #896, ignore fullscreen toggling at fading play/pause 2018-08-08 22:05:43 +02:00
tibbi
b58f808068 setup deep zoomable images only when appropriate 2018-08-08 16:59:27 +02:00
tibbi
c9a084c4e4 allow using the PhotoView zoom if loading Subsampling fails 2018-08-08 16:05:06 +02:00
tibbi
686cee83ed remeasure the screen if the width and height are set to 0 at fullscreen view 2018-08-07 20:14:57 +02:00
tibbi
8868b73d28 do not use half resolution at loading initial bitmap 2018-08-07 12:38:37 +02:00
tibbi
1fa54e6c1a add handling for rotating fullscreen images 2018-08-07 12:26:56 +02:00
tibbi
31f3396450 preload a smaller resolution fullscreen image first 2018-08-07 11:56:20 +02:00
tibbi
23dd5baaa4 use Picasso as a decoder for fullscreen SubsamplingScaleImageView images 2018-08-06 23:59:49 +02:00
tibbi
4bae35955d launch the zoomable imageview load at fullscreen views earlier 2018-08-05 12:05:28 +02:00
tibbi
7b2af9faeb fix #886, fade away both play/pause button after a few secs 2018-07-30 12:28:42 +02:00
tibbi
8d7366d228 fix #870, do not release exoPlayer on surface destroy 2018-07-26 12:56:14 +02:00
tibbi
ca5cd986f3 catch OutOfMemoryError at getting image orientation 2018-07-24 14:29:51 +02:00
tibbi
cce033f89c catch out of memory exceptions at checking if image is a panorama 2018-07-24 13:27:37 +02:00
tibbi
7b2a181942 use a background thread for setting video surface 2018-07-24 13:09:14 +02:00
tibbi
addae2045e delay loading the zoomable image at fullscreen mode to avoid laggy swipes 2018-07-18 17:26:37 +02:00
tibbi
3831800715 adding some null checks at handling video end 2018-07-18 14:44:52 +02:00
tibbi
ec20d67fff init exoplayer only if play is pressed 2018-07-18 12:11:05 +02:00
tibbi
bcae7cfd76 do not try setting up exoplayer if it is still null 2018-07-16 20:15:03 +02:00
tibbi
ece7872f8d fix #844, recognize another image panorama declaration 2018-07-15 16:27:16 +02:00
tibbi
5b040a699b do not show an error at exoplayer setup fail, just try reinitializing later 2018-07-15 11:17:21 +02:00
tibbi
274a50013e reinitialize exoplayer on becoming visible, if needed 2018-07-15 10:42:30 +02:00
tibbi
75219668b4 use the un/hide icons from Commons library 2018-07-12 14:31:47 +02:00
tibbi
fd79d8d3ec adding some crashfixes 2018-07-10 20:20:26 +02:00
tibbi
902bdb0255 use smaller play/pause/panorama icons with dynamic background 2018-07-06 12:42:07 +02:00
tibbi
393420ab2d use a background thread for releasing exoplayer 2018-07-06 11:52:00 +02:00
tibbi
376b9870e2 adding a null check at video seekbar usage 2018-07-05 11:13:01 +02:00
tibbi
5420321207 show the bottom gradient at video fragment only if bottom actions are disabled 2018-07-04 19:54:51 +02:00
tibbi
9614bd07c2 creating a PanoramaActivity for handling panoramas 2018-07-03 21:15:03 +02:00
tibbi
727c42f7bd show a panorama button over images if appropriate 2018-07-03 15:39:31 +02:00
tibbi
bb0b432d19 properly handle video content uri at exoplayer 2018-06-29 23:36:59 +02:00