From 9ee212b04050bf95d5b41faab6bc57af44ae74d7 Mon Sep 17 00:00:00 2001 From: John Carlson Date: Thu, 10 Sep 2015 12:20:58 -0500 Subject: [PATCH] Add documentation and bump the version number --- nativestackblur/build.gradle | 4 ++-- .../java/com/commit451/nativestackblur/NativeStackBlur.java | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/nativestackblur/build.gradle b/nativestackblur/build.gradle index 087a512..6192a00 100644 --- a/nativestackblur/build.gradle +++ b/nativestackblur/build.gradle @@ -7,8 +7,8 @@ android { defaultConfig { minSdkVersion 8 targetSdkVersion 23 - versionCode 1 - versionName "1.0" + versionCode 101 + versionName "1.0.1" } buildTypes { release { diff --git a/nativestackblur/src/main/java/com/commit451/nativestackblur/NativeStackBlur.java b/nativestackblur/src/main/java/com/commit451/nativestackblur/NativeStackBlur.java index 7b90b55..ece1909 100644 --- a/nativestackblur/src/main/java/com/commit451/nativestackblur/NativeStackBlur.java +++ b/nativestackblur/src/main/java/com/commit451/nativestackblur/NativeStackBlur.java @@ -5,12 +5,16 @@ import com.enrique.stackblur.NativeBlurProcess; /** + * Processes bitmaps using native StackBlur library * Created by John on 9/10/15. */ public class NativeStackBlur { /** - * Process the image using a native library + * Process the bitmap natively + * @param bitmap the bitmap to apply blur to + * @param radius the radius of the blur + * @return a blurred bitmap */ public static Bitmap process(Bitmap bitmap, int radius) { NativeBlurProcess blur = new NativeBlurProcess();