public final c a(ArrayList arraylist, d d, a a1) { d = new c(); int i = EffectParameter.b(arraylist, "Fade"); Log.e("ex1", (new StringBuilder("fade = ")).append(i).toString()); if (a1.n == com.photo.effect.Type.EffectApplyTypeRenderScript) { d.a = RenderScriptOp.a((RenderScript)a1.j, (Allocation)a1.k, (Allocation)a1.l, i); } else if (a1.n == com.photo.effect.Type.EffectApplyTypeNative) { arraylist = a1.d; java.nio.ByteBuffer bytebuffer = a1.e; Point point = a1.i; int j = point.x; int k = point.y; boolean flag = a1.f; int l = a1.g; Log.e("ex1", (new StringBuilder("interruptable = ")).append(flag).toString()); Log.e("ex1", (new StringBuilder("taskId = ")).append(l).toString()); Log.e("ex1", (new StringBuilder("width = ")).append(j).toString()); Log.e("ex1", (new StringBuilder("height = ")).append(k).toString()); ImageOp.seafoamlightcross4buf(arraylist, bytebuffer, j, k, j, k, i, flag, l); d.a = true; return d; } return d; }
public final c a(ArrayList arraylist, d d, a a1) { int i = EffectParameter.b(arraylist, "Point size"); int j = EffectParameter.b(arraylist, "Contrast"); int k = EffectParameter.b(arraylist, "Fade"); Log.e("ex1", (new StringBuilder("radius = ")).append(i).toString()); Log.e("ex1", (new StringBuilder("contrast = ")).append(j).toString()); Log.e("ex1", (new StringBuilder("fade = ")).append(k).toString()); arraylist = new c(); if (a1.n == com.photo.effect.Type.EffectApplyTypeRenderScript) { arraylist.a = EffectsFactory.access$2400((RenderScript)a1.j, (Allocation)a1.k, (Allocation)a1.l, i, j, k); } else if (a1.n == com.photo.effect.Type.EffectApplyTypeNative) { d = a1.d; java.nio.ByteBuffer bytebuffer = a1.e; Point point = a1.i; int l = point.x; int i1 = point.y; boolean flag = a1.f; int j1 = a1.g; Log.e("ex1", (new StringBuilder("interruptable = ")).append(flag).toString()); Log.e("ex1", (new StringBuilder("taskId = ")).append(j1).toString()); Log.e("ex1", (new StringBuilder("width = ")).append(l).toString()); Log.e("ex1", (new StringBuilder("height = ")).append(i1).toString()); ImageOp.halftonedots4buf(d, bytebuffer, l, i1, l, i1, i, j, k, flag, j1); arraylist.a = true; return arraylist; } return arraylist; }