|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSurfaceView
org.openintents.samples.openglsensors.GLSurfaceView
public class GLSurfaceView
Holds the Open GL surface. This class also contains the GLThread class that takes care of graphics updates.
| Constructor Summary | |
|---|---|
GLSurfaceView(Context context,
OpenGLSensors newOpenGLAccelerator)
The View constructor is a good place to allocate our OpenGL context |
|
| Method Summary | |
|---|---|
void |
holdAnimation()
Holds animation temporarily. |
void |
resumeAnimation()
Resumes animation. |
void |
startUseSensors()
|
void |
stopUseSensors()
|
void |
surfaceChanged(SurfaceHolder holder,
int format,
int w,
int h)
|
void |
surfaceCreated(SurfaceHolder holder)
|
void |
surfaceDestroyed(SurfaceHolder holder)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GLSurfaceView(Context context,
OpenGLSensors newOpenGLAccelerator)
| Method Detail |
|---|
public void surfaceCreated(SurfaceHolder holder)
public void surfaceDestroyed(SurfaceHolder holder)
public void surfaceChanged(SurfaceHolder holder,
int format,
int w,
int h)
public void startUseSensors()
public void stopUseSensors()
public void holdAnimation()
public void resumeAnimation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||