Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 public final View a(android.view.ViewGroup.LayoutParams layoutparams) {
   a(1, 2, 0, 0);
   LinearLayout linearlayout =
       (LinearLayout)
           ((LayoutInflater) a.getSystemService("layout_inflater")).inflate(0x7f0300ce, null);
   m.a(a, linearlayout, layoutparams);
   layoutparams = new g();
   layoutparams.a = (SeekBar) linearlayout.findViewById(0x7f100450);
   layoutparams.b = (TextView) linearlayout.findViewById(0x7f10044e);
   layoutparams.c = (TextView) linearlayout.findViewById(0x7f10044f);
   layoutparams.d = EffectParameter.a(b, "Offset");
   d.add(layoutparams);
   layoutparams = new f();
   layoutparams.a = (RadioGroup) linearlayout.findViewById(0x7f10044a);
   ArrayList arraylist = new ArrayList(2);
   arraylist.add(Integer.valueOf(0x7f10044b));
   arraylist.add(Integer.valueOf(0x7f10044c));
   layoutparams.b = arraylist;
   arraylist = new ArrayList(2);
   arraylist.add("Horizontal");
   arraylist.add("Vertical");
   layoutparams.c = arraylist;
   layoutparams.d = EffectParameter.a(b, "FlipMode");
   e.add(layoutparams);
   layoutparams = new f();
   layoutparams.a = (RadioGroup) linearlayout.findViewById(0x7f10044d);
   arraylist = new ArrayList(2);
   arraylist.add(Integer.valueOf(0x7f100250));
   arraylist.add(Integer.valueOf(0x7f100251));
   layoutparams.b = arraylist;
   arraylist = new ArrayList(2);
   arraylist.add("Mode1");
   arraylist.add("Mode2");
   layoutparams.c = arraylist;
   layoutparams.d = EffectParameter.a(b, "Mode");
   e.add(layoutparams);
   b();
   return linearlayout;
 }