| java.lang.Object | |
| ↳ | com.facebook.imagepipeline.filter.RenderScriptBlurFilter |
| 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
| |||||||||||
Not-in-place intrinsic Gaussian blur filter using ScriptIntrinsicBlur and RenderScript. This require an Android versions >= 4.2.
| 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
|