├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── drawable │ │ │ │ ├── robot.png │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── item_rcy.xml │ │ │ │ ├── activity_list.xml │ │ │ │ └── activity_main.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── dell │ │ │ └── picturecache │ │ │ ├── adapter │ │ │ ├── TestAdapter.java │ │ │ └── RecyclerviewAdapter.java │ │ │ ├── ListActivity.java │ │ │ └── MainActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── dell │ │ │ └── picturecache │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── dell │ │ └── picturecache │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── lib_rhythm ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── style.xml │ │ │ └── drawable │ │ │ │ ├── add_realnameahtu.png │ │ │ │ └── anim_flag_iceland.gif │ │ ├── java │ │ │ └── com │ │ │ │ └── picture │ │ │ │ └── lib_rhythm │ │ │ │ ├── constant │ │ │ │ ├── GraphicalType.java │ │ │ │ ├── VisitType.java │ │ │ │ ├── AnimateType.java │ │ │ │ └── Watermark.java │ │ │ │ ├── cache │ │ │ │ ├── Callback.java │ │ │ │ ├── Cache.java │ │ │ │ ├── LruCache.java │ │ │ │ ├── LocalCache.java │ │ │ │ └── NetCache.java │ │ │ │ ├── transformation │ │ │ │ └── BlurTransformation.java │ │ │ │ ├── bean │ │ │ │ ├── WatermarkInfo.java │ │ │ │ └── TagInfo.java │ │ │ │ ├── animate │ │ │ │ └── AnimateManage.java │ │ │ │ ├── widgets │ │ │ │ ├── vague │ │ │ │ │ └── VagueView.java │ │ │ │ └── gif │ │ │ │ │ └── GifImageView.java │ │ │ │ ├── utils │ │ │ │ ├── Utils.java │ │ │ │ └── BitmapUtils.java │ │ │ │ ├── Rhythm.java │ │ │ │ └── RequestCreator.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── picture │ │ │ └── lib_rhythm │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── picture │ │ └── lib_rhythm │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── com └── lib │ └── pic_cache │ ├── maven-metadata.xml.md5 │ ├── 1.0.1 │ ├── pic_cache-1.0.1.aar.md5 │ ├── pic_cache-1.0.1.pom.md5 │ ├── pic_cache-1.0.1-sources.jar.md5 │ ├── pic_cache-1.0.1.aar.sha1 │ ├── pic_cache-1.0.1.pom.sha1 │ ├── pic_cache-1.0.1-sources.jar.sha1 │ ├── pic_cache-1.0.1.aar │ ├── pic_cache-1.0.1-sources.jar │ └── pic_cache-1.0.1.pom │ ├── maven-metadata.xml.sha1 │ └── maven-metadata.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea └── vcs.xml ├── gradle.properties ├── gradlew.bat ├── README.md └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /lib_rhythm/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':lib_rhythm' 2 | -------------------------------------------------------------------------------- /com/lib/pic_cache/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 60353d9bc1bbf2fce644780a501ed3c6 -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1.aar.md5: -------------------------------------------------------------------------------- 1 | 3e6b02e455cec30588c2b477fc4c4ec4 -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1.pom.md5: -------------------------------------------------------------------------------- 1 | 87d341b9a56314dc674ea6af40bfa0be -------------------------------------------------------------------------------- /com/lib/pic_cache/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 3b6fc5266f99d39f85e5546907ce734c54a8debd -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1-sources.jar.md5: -------------------------------------------------------------------------------- 1 | 4a11fd527f2c73555dbe78e8b992977e -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1.aar.sha1: -------------------------------------------------------------------------------- 1 | 2f6a7b89be74e8a8604ec40e90829dd18934aeb3 -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1.pom.sha1: -------------------------------------------------------------------------------- 1 | 7ed9a3693b9d931545bae85da6c30c98ae6a3bc0 -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1-sources.jar.sha1: -------------------------------------------------------------------------------- 1 | f173efdfe8f385d1af6fc74cbbe726bb4618e749 -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | PictureCache 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /lib_rhythm/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | lib_rhythm 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/robot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/drawable/robot.png -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/com/lib/pic_cache/1.0.1/pic_cache-1.0.1.aar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/com/lib/pic_cache/1.0.1/pic_cache-1.0.1-sources.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /lib_rhythm/src/main/res/drawable/add_realnameahtu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/lib_rhythm/src/main/res/drawable/add_realnameahtu.png -------------------------------------------------------------------------------- /lib_rhythm/src/main/res/drawable/anim_flag_iceland.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiangmingzhe/PictureCache/HEAD/lib_rhythm/src/main/res/drawable/anim_flag_iceland.gif -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /lib_rhythm/src/main/res/values/style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Nov 07 10:48:41 CST 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /com/lib/pic_cache/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.lib 4 | pic_cache 5 | 6 | 1.0.1 7 | 8 | 1.0.1 9 | 10 | 20191202022304 11 | 12 | 13 | -------------------------------------------------------------------------------- /lib_rhythm/src/main/java/com/picture/lib_rhythm/constant/GraphicalType.java: -------------------------------------------------------------------------------- 1 | package com.picture.lib_rhythm.constant; 2 | 3 | /** 4 | * Time:2019/11/14 5 | * Author:xmz-dell 6 | * Description: 7 | * 图片风格 8 | */ 9 | public enum GraphicalType { 10 | /** 11 | * 圆形 12 | */ 13 | CIRCLE, 14 | /** 15 | *椭圆 16 | */ 17 | OVAL, 18 | /** 19 | * 模糊特效 20 | */ 21 | VAGUE 22 | } 23 | -------------------------------------------------------------------------------- /lib_rhythm/src/main/java/com/picture/lib_rhythm/constant/VisitType.java: -------------------------------------------------------------------------------- 1 | package com.picture.lib_rhythm.constant; 2 | 3 | /** 4 | * Time:2019/11/14 5 | * Author:xmz-dell 6 | * Description: 7 | * 访问类型 8 | */ 9 | public enum VisitType { 10 | /** 11 | * http请求 12 | */ 13 | HTTP, 14 | /** 15 | * 资源ID 16 | */ 17 | RESOURCES, 18 | /** 19 | * 本地文件 20 | */ 21 | LOCAL, 22 | } 23 | -------------------------------------------------------------------------------- /lib_rhythm/src/main/java/com/picture/lib_rhythm/constant/AnimateType.java: -------------------------------------------------------------------------------- 1 | package com.picture.lib_rhythm.constant; 2 | 3 | /** 4 | * Time:2019/11/18 5 | * Author:xmz-dell 6 | * Description: 7 | */ 8 | public enum AnimateType { 9 | /** 10 | * 淡入淡出效果 11 | */ 12 | CROSS_FADE, 13 | /** 14 | * 无动画 15 | */ 16 | DONT_ANIMATE, 17 | /** 18 | * 自定义动画 19 | */ 20 | ANIMATE, 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /lib_rhythm/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib_rhythm/src/main/java/com/picture/lib_rhythm/cache/Callback.java: -------------------------------------------------------------------------------- 1 | package com.picture.lib_rhythm.cache; 2 | 3 | /** 4 | * Time:2019/11/7 5 | * Author:xmz-dell 6 | * Description: 7 | */ 8 | public interface Callback { 9 | void onSuccess(); 10 | 11 | void onError(); 12 | 13 | public static class EmptyCallback implements Callback { 14 | 15 | @Override public void onSuccess() { 16 | } 17 | 18 | @Override public void onError() { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /lib_rhythm/src/test/java/com/picture/lib_rhythm/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.picture.lib_rhythm; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/test/java/com/example/dell/picturecache/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.dell.picturecache; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /lib_rhythm/src/main/java/com/picture/lib_rhythm/constant/Watermark.java: -------------------------------------------------------------------------------- 1 | package com.picture.lib_rhythm.constant; 2 | 3 | /** 4 | * Time:2019/11/19 5 | * Author:xmz-dell 6 | * Description: 7 | */ 8 | public enum Watermark { 9 | /** 10 | * 左上角 11 | */ 12 | LEFT_TOP, 13 | /** 14 | * 右下角 15 | */ 16 | RIGHT_BOTTOM, 17 | 18 | /** 19 | * 右上角 20 | */ 21 | RIGHT_TOP, 22 | /** 23 | * 左下角 24 | */ 25 | LEFT_BOTTOM, 26 | /** 27 | * 中间 28 | */ 29 | CENTER, 30 | } 31 | -------------------------------------------------------------------------------- /com/lib/pic_cache/1.0.1/pic_cache-1.0.1.pom: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | com.lib 6 | pic_cache 7 | 1.0.1 8 | aar 9 | 10 | 11 | com.android.support 12 | appcompat-v7 13 | 28.0.0 14 | compile 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_rcy.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 14 | 19 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /lib_rhythm/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /lib_rhythm/src/androidTest/java/com/picture/lib_rhythm/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.picture.lib_rhythm; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.picture.lib_rhythm.test", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/dell/picturecache/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.example.dell.picturecache; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.example.dell.picturecache", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /lib_rhythm/src/main/java/com/picture/lib_rhythm/transformation/BlurTransformation.java: -------------------------------------------------------------------------------- 1 | package com.picture.lib_rhythm.transformation; 2 | 3 | import android.content.Context; 4 | 5 | /** 6 | * Time:2019/11/18 7 | * Author:xmz-dell 8 | * Description:高斯模糊实体类 9 | */ 10 | public class BlurTransformation { 11 | private int radius; 12 | private int scale; 13 | public BlurTransformation(int radius){ 14 | this.radius=radius; 15 | } 16 | public BlurTransformation(int radius,int scale){ 17 | this.radius=radius; 18 | this.scale=scale; 19 | } 20 | 21 | public int getRadius() { 22 | return radius; 23 | } 24 | 25 | public void setRadius(int radius) { 26 | this.radius = radius; 27 | } 28 | 29 | public int getScale() { 30 | return scale; 31 | } 32 | 33 | public void setScale(int scale) { 34 | this.scale = scale; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 |