Revision 31d1b2fe
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/multiblur/MultiblurActivity.java | ||
---|---|---|
128 | 128 |
case R.id.multiblurDistanceSeek: //MultiblurSurfaceView view1 = (MultiblurSurfaceView) this.findViewById(R.id.multiblurSurfaceView); |
129 | 129 |
//view1.getRenderer().setDistance(progress); |
130 | 130 |
|
131 |
Distorted.setMagnify( progress<50 ? 0.018f*progress + 0.1f : 0.02f*progress );
|
|
131 |
Distorted.setMargin( progress );
|
|
132 | 132 |
|
133 | 133 |
break; |
134 | 134 |
case R.id.multiblurRangeSeek : MultiblurSurfaceView view2 = (MultiblurSurfaceView) this.findViewById(R.id.multiblurSurfaceView); |
Also available in: Unified diff
Progress with Magnify.