Revision 7af96b9f
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/multiblur/MultiblurActivity.java | ||
---|---|---|
125 | 125 |
{ |
126 | 126 |
switch (bar.getId()) |
127 | 127 |
{ |
128 |
case R.id.multiblurDistanceSeek: //MultiblurSurfaceView view1 = (MultiblurSurfaceView) this.findViewById(R.id.multiblurSurfaceView); |
|
129 |
//view1.getRenderer().setDistance(progress); |
|
130 |
|
|
131 |
Distorted.setMargin( progress ); |
|
132 |
|
|
128 |
case R.id.multiblurDistanceSeek: MultiblurSurfaceView view1 = (MultiblurSurfaceView) this.findViewById(R.id.multiblurSurfaceView); |
|
129 |
view1.getRenderer().setDistance(progress); |
|
133 | 130 |
break; |
134 | 131 |
case R.id.multiblurRangeSeek : MultiblurSurfaceView view2 = (MultiblurSurfaceView) this.findViewById(R.id.multiblurSurfaceView); |
135 | 132 |
view2.getRenderer().setRange(progress); |
136 |
|
|
137 |
view2.getRenderer().setDistance(progress); |
|
138 |
|
|
139 | 133 |
break; |
140 | 134 |
|
141 | 135 |
} |
Also available in: Unified diff
Progress with Stencils in postprocessing.