Android Open Source - android-stackblur Blur Process






From Project

Back to project page android-stackblur.

License

The source code is released under:

Apache License

If you think the Android project android-stackblur listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.enrique.stackblur;
//from  w w w  .j  a  v a  2s.  co  m
import android.graphics.Bitmap;

interface BlurProcess {
  /**
   * Process the given image, blurring by the supplied radius.
   * If radius is 0, this will return original
   * @param original the bitmap to be blurred
   * @param radius the radius in pixels to blur the image
   * @return the blurred version of the image.
   */
    public Bitmap blur(Bitmap original, float radius);
}




Java Source Code List

com.enrique.stackblur.BlurProcess.java
com.enrique.stackblur.JavaBlurProcess.java
com.enrique.stackblur.NativeBlurProcess.java
com.enrique.stackblur.RSBlurProcess.java
com.enrique.stackblur.StackBlurManager.java
com.example.stackblurdemo.BenchmarkActivity.java
com.example.stackblurdemo.MainActivity.java