FileDocCategorySizeDatePackage
GenImageAct.javaAPI DocAndroid 5.1 API2226Thu Mar 12 22:22:54 GMT 2015com.android.rs.genimage

GenImageAct

public class GenImageAct extends android.app.Activity

Fields Summary
private android.opengl.GLSurfaceView
mGLView
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        // Create a GLSurfaceView instance and set it
        // as the ContentView for this Activity
        mGLView = new MyGLSurfaceView(this);
        setContentView(mGLView);
    
protected voidonPause()

        super.onPause();
        // The following call pauses the rendering thread.
        // If your OpenGL application is memory intensive,
        // you should consider de-allocating objects that
        // consume significant memory here.
        mGLView.onPause();
    
protected voidonResume()

        super.onResume();
        // The following call resumes a paused rendering thread.
        // If you de-allocated graphic objects for onPause()
        // this is a good place to re-allocate them.
        mGLView.onResume();