From 75cc605764f0bf3f72b5c95b14bfbc3a591462e9 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 22 Aug 2019 09:11:43 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/help/BlurTransformation.kt | 3 +++ app/src/main/java/io/legado/app/help/ReadBookConfig.kt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/src/main/java/io/legado/app/help/BlurTransformation.kt b/app/src/main/java/io/legado/app/help/BlurTransformation.kt index 7cf8de88b..9d60a9047 100644 --- a/app/src/main/java/io/legado/app/help/BlurTransformation.kt +++ b/app/src/main/java/io/legado/app/help/BlurTransformation.kt @@ -14,6 +14,9 @@ import com.bumptech.glide.load.resource.bitmap.BitmapTransformation import java.security.MessageDigest +/** + * 模糊 + */ class BlurTransformation(context: Context, private val radius: Int) : BitmapTransformation() { private val rs: RenderScript = RenderScript.create(context) diff --git a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt index cea83752d..d26f67bbd 100644 --- a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt +++ b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt @@ -13,6 +13,9 @@ import java.io.File import java.io.FileWriter import java.io.IOException +/** + * 阅读界面配置 + */ object ReadBookConfig { private val configList: ArrayList by lazy { val list: ArrayList = arrayListOf()