1
0
mirror of https://github.com/wasabeef/glide-transformations.git synced 2025-06-28 20:35:54 +08:00

fix format

This commit is contained in:
wasabeef 2017-03-21 11:55:30 -07:00
parent 1a474cdd8c
commit 1264e01f6e

View File

@ -38,7 +38,7 @@ public class RSBlur {
rs = RenderScript.create(context);
rs.setMessageHandler(new RenderScript.RSMessageHandler());
input = Allocation.createFromBitmap(rs, bitmap, Allocation.MipmapControl.MIPMAP_NONE,
Allocation.USAGE_SCRIPT);
Allocation.USAGE_SCRIPT);
output = Allocation.createTyped(rs, input.getType());
blur = ScriptIntrinsicBlur.create(rs, Element.U8_4(rs));
@ -51,13 +51,13 @@ public class RSBlur {
rs.destroy();
}
if (input != null) {
input.destroy();
input.destroy();
}
if (output != null) {
output.destroy();
output.destroy();
}
if (blur != null) {
blur.destroy();
blur.destroy();
}
}