Project

General

Profile

« Previous | Next » 

Revision 80f37d1b

Added by Leszek Koltunski about 6 years ago

New 'Triblur' testapp.

Shows that the Blur effect doesn't fully work (probably it is the 'blitWithDepth' function which needs to be corrected)

View differences:

src/main/java/org/distorted/examples/TableOfContents.java
63 63
import org.distorted.examples.mirror.MirrorActivity;
64 64
import org.distorted.examples.blur.BlurActivity;
65 65
import org.distorted.examples.multiblur.MultiblurActivity;
66
import org.distorted.examples.triblur.TriblurActivity;
66 67
import org.distorted.examples.stencil.StencilActivity;
67 68
import org.distorted.examples.glow.GlowActivity;
68 69
import org.distorted.examples.movingglow.MovingGlowActivity;
......
349 350
      activityMapping.put(i++, MultiblurActivity.class);
350 351
   }
351 352

  
353
   {
354
      final Map<String, Object> item = new HashMap<>();
355
      item.put(ITEM_IMAGE, R.drawable.icon_example_triblur);
356
      item.put(ITEM_TITLE, (i+1)+". "+getText(R.string.example_triblur));
357
      item.put(ITEM_SUBTITLE, getText(R.string.example_triblur_subtitle));
358
      data.add(item);
359
      activityMapping.put(i++, TriblurActivity.class);
360
   }
361

  
352 362
   {
353 363
      final Map<String, Object> item = new HashMap<>();
354 364
      item.put(ITEM_IMAGE, R.drawable.icon_example_stencil);

Also available in: Unified diff