|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSurfaceView
org.openintents.samples.openglsensors.GLSurfaceViewNoThread
public class GLSurfaceViewNoThread
Holds the Open GL surface. This class also contains the GLThread class that takes care of graphics updates.
| Constructor Summary | |
|---|---|
GLSurfaceViewNoThread(Context context,
OpenGLSensors newOpenGLAccelerator)
The View constructor is a good place to allocate our OpenGL context |
|
| Method Summary | |
|---|---|
void |
holdAnimation()
Holds animation temporarily. |
void |
init()
|
void |
prepareAnimation()
|
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 GLSurfaceViewNoThread(Context context,
OpenGLSensors newOpenGLAccelerator)
| Method Detail |
|---|
public void init()
public void surfaceCreated(SurfaceHolder holder)
public void surfaceDestroyed(SurfaceHolder holder)
public void surfaceChanged(SurfaceHolder holder,
int format,
int w,
int h)
public void holdAnimation()
public void resumeAnimation()
public void prepareAnimation()
public void stopUseSensors()
public void startUseSensors()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||