«
Previous
|
Next
»
Revision 30f337e5
Added by Leszek Koltunski about 2 months ago
- ID 30f337e50a7d5d83c0419732cc2f896aeef67cee
- Parent c31aa527
src/main/java/org/distorted/examples/deform/DeformRenderer.java | ||
---|---|---|
40 | 40 |
import org.distorted.library.type.Static3D; |
41 | 41 |
import org.distorted.library.type.Static4D; |
42 | 42 |
|
43 |
import android.app.ActivityManager; |
|
44 |
import android.content.Context; |
|
45 |
import android.content.pm.ConfigurationInfo; |
|
46 | 43 |
import android.content.res.Resources; |
47 | 44 |
import android.graphics.Bitmap; |
48 | 45 |
import android.graphics.Canvas; |
... | ... | |
60 | 57 |
private static final int NUM_LINES = 10; |
61 | 58 |
private static final float QUOT = 0.6f; |
62 | 59 |
|
63 |
private final GLSurfaceView mView; |
|
64 | 60 |
private final Resources mResources; |
65 | 61 |
private final DistortedTexture mTexture; |
66 | 62 |
private final DistortedEffects mEffects; |
... | ... | |
83 | 79 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
84 | 80 |
|
85 | 81 |
DeformRenderer(GLSurfaceView view) |
86 |
{ |
|
87 |
mView = view; |
|
82 |
{ |
|
88 | 83 |
mResources = view.getResources(); |
89 | 84 |
|
90 | 85 |
mTexture = new DistortedTexture(); |
Also available in: Unified diff
Lint