mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 17:09:15 +01:00
Update subsampling with some fixes
This commit is contained in:
parent
e045ca8538
commit
f7b94179a4
@ -98,7 +98,7 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
// Modified dependencies
|
// Modified dependencies
|
||||||
compile 'com.github.inorichi:subsampling-scale-image-view:e8b72cb'
|
compile 'com.github.inorichi:subsampling-scale-image-view:de3b472'
|
||||||
|
|
||||||
// Android support library
|
// Android support library
|
||||||
final support_library_version = '25.1.0'
|
final support_library_version = '25.1.0'
|
||||||
|
@ -20,15 +20,15 @@ abstract class BaseReader : BaseFragment() {
|
|||||||
*/
|
*/
|
||||||
const val IMAGE_DECODER = 0
|
const val IMAGE_DECODER = 0
|
||||||
|
|
||||||
/**
|
|
||||||
* Skia decoder.
|
|
||||||
*/
|
|
||||||
const val SKIA_DECODER = 1
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rapid decoder.
|
* Rapid decoder.
|
||||||
*/
|
*/
|
||||||
const val RAPID_DECODER = 2
|
const val RAPID_DECODER = 1
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Skia decoder.
|
||||||
|
*/
|
||||||
|
const val SKIA_DECODER = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -233,14 +233,14 @@ abstract class BaseReader : BaseFragment() {
|
|||||||
bitmapDecoderClass = IImageDecoder::class.java
|
bitmapDecoderClass = IImageDecoder::class.java
|
||||||
regionDecoderClass = IImageRegionDecoder::class.java
|
regionDecoderClass = IImageRegionDecoder::class.java
|
||||||
}
|
}
|
||||||
SKIA_DECODER -> {
|
|
||||||
bitmapDecoderClass = SkiaImageDecoder::class.java
|
|
||||||
regionDecoderClass = SkiaImageRegionDecoder::class.java
|
|
||||||
}
|
|
||||||
RAPID_DECODER -> {
|
RAPID_DECODER -> {
|
||||||
bitmapDecoderClass = RapidImageDecoder::class.java
|
bitmapDecoderClass = RapidImageDecoder::class.java
|
||||||
regionDecoderClass = RapidImageRegionDecoder::class.java
|
regionDecoderClass = RapidImageRegionDecoder::class.java
|
||||||
}
|
}
|
||||||
|
SKIA_DECODER -> {
|
||||||
|
bitmapDecoderClass = SkiaImageDecoder::class.java
|
||||||
|
regionDecoderClass = SkiaImageRegionDecoder::class.java
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user