public abstract class

RenderScriptBlurFilter

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.filter.RenderScriptBlurFilter

Summary

Constants
int BLUR_MAX_RADIUS
Public Constructors
RenderScriptBlurFilter()
Public Methods
static void blurBitmap(Bitmap dest, Bitmap src, Context context, int radius)
Not-in-place intrinsic Gaussian blur filter using ScriptIntrinsicBlur and RenderScript.
static boolean canUseRenderScript()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int BLUR_MAX_RADIUS

Constant Value: 25 (0x00000019)

Public Constructors

public RenderScriptBlurFilter ()

Public Methods

public static void blurBitmap (Bitmap dest, Bitmap src, Context context, int radius)

Not-in-place intrinsic Gaussian blur filter using ScriptIntrinsicBlur and RenderScript. This require an Android versions >= 4.2.

Parameters
dest The Bitmap where the blurred image is written to.
src The Bitmap containing the original image.
context The Context necessary to use RenderScript
radius The radius of the blur with a supported range 0 < radius <= BLUR_MAX_RADIUS

public static boolean canUseRenderScript ()