Home
last modified time | relevance | path

Searched refs:GLSurfaceView (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/native/opengl/tests/testPauseResume/
DREADME26 …/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfa…
27 …/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfa…
28 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:…
29 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.j…
30 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:110…
/frameworks/base/docs/html/training/graphics/opengl/
Denvironment.jd20 <li><a href="#glsurfaceview">Build a GLSurfaceView Object</a></li>
43 {@link android.opengl.GLSurfaceView} and a {@link android.opengl.GLSurfaceView.Renderer}. A {@link
44 android.opengl.GLSurfaceView} is a view container for graphics drawn with OpenGL and {@link
45 android.opengl.GLSurfaceView.Renderer} controls what is drawn within that view. For more information
49 <p>{@link android.opengl.GLSurfaceView} is just one way to incorporate OpenGL ES graphics into your
57 android.opengl.GLSurfaceView} and {@link android.opengl.GLSurfaceView.Renderer} in a simple
88 also add a {@link android.opengl.GLSurfaceView}.</p>
91 {@link android.opengl.GLSurfaceView} as its primary view:</p>
96 private GLSurfaceView mGLView;
102 // Create a GLSurfaceView instance and set it
[all …]
Dtouch.jd38 {@link android.opengl.GLSurfaceView} to override the {@link
39 android.opengl.GLSurfaceView#onTouchEvent onTouchEvent()} to listen for touch events.</p>
47 {@link android.opengl.GLSurfaceView#onTouchEvent onTouchEvent()} method in your
48 {@link android.opengl.GLSurfaceView} class. The example implementation below shows how to listen for
95 android.opengl.GLSurfaceView#requestRender requestRender()} to tell the
99 the data changes using the {@link android.opengl.GLSurfaceView#setRenderMode setRenderMode()}
106 <strong>setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);</strong>
118 public class MyGLRenderer implements GLSurfaceView.Renderer {
Dmotion.jd75 {@link android.opengl.GLSurfaceView#RENDERMODE_WHEN_DIRTY GLSurfaceView.RENDERMODE_WHEN_DIRTY}
84 android.opengl.GLSurfaceView#requestRender requestRender()} from the {@link
85 android.opengl.GLSurfaceView} container:</p>
92 <strong>//setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);</strong>
Dprojection.jd43 the width and height of the {@link android.opengl.GLSurfaceView} where they are displayed. Without
47 android.opengl.GLSurfaceView.Renderer#onSurfaceChanged
56 {@link android.opengl.GLSurfaceView}, or might change dynamically based on user actions or your
61 your {@link android.opengl.GLSurfaceView}.</p>
67 android.opengl.GLSurfaceView.Renderer#onSurfaceChanged onSurfaceChanged()}
68 method of your {@link android.opengl.GLSurfaceView.Renderer} class. The following example code
69 takes the height and width of the {@link android.opengl.GLSurfaceView} and uses it to populate a
92 with a camera view transformation in the {@link android.opengl.GLSurfaceView.Renderer#onDrawFrame
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
DGenImageAct.java21 import android.opengl.GLSurfaceView;
26 private GLSurfaceView mGLView;
58 class MyGLSurfaceView extends GLSurfaceView {
70 setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY); in MyGLSurfaceView()
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestView.java36 import android.opengl.GLSurfaceView;
54 class TestView extends GLSurfaceView {
69 private class Renderer implements GLSurfaceView.Renderer {
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualActivity.java21 import android.opengl.GLSurfaceView;
29 GLSurfaceView mGLView;
35 mGLView = (GLSurfaceView) root.findViewById(R.id.gl1); in onCreate()
DGLDualGL2View.java42 import android.opengl.GLSurfaceView;
55 class GLDualGL2View extends GLSurfaceView {
81 private static class ContextFactory implements GLSurfaceView.EGLContextFactory {
104 private static class ConfigChooser implements GLSurfaceView.EGLConfigChooser {
285 private static class Renderer implements GLSurfaceView.Renderer {
DTriangleRenderer.java27 import android.opengl.GLSurfaceView;
31 public class TriangleRenderer implements GLSurfaceView.Renderer{
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIView.java36 import android.opengl.GLSurfaceView;
54 class GLJNIView extends GLSurfaceView {
69 private class Renderer implements GLSurfaceView.Renderer {
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DDemoPresentation.java25 import android.opengl.GLSurfaceView;
43 private GLSurfaceView mSurfaceView;
66 mSurfaceView = (GLSurfaceView)findViewById(R.id.surface_view); in onCreate()
DCubeRenderer.java22 import android.opengl.GLSurfaceView;
28 public class CubeRenderer implements GLSurfaceView.Renderer {
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java164 public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback { class
213 public GLSurfaceView(Context context) { in GLSurfaceView() method in GLSurfaceView
222 public GLSurfaceView(Context context, AttributeSet attrs) { in GLSurfaceView() method in GLSurfaceView
986 public EglHelper(WeakReference<GLSurfaceView> glSurfaceViewWeakRef) { in EglHelper()
1019 GLSurfaceView view = mGLSurfaceViewWeakRef.get(); in start()
1075 GLSurfaceView view = mGLSurfaceViewWeakRef.get(); in createSurface()
1114 GLSurfaceView view = mGLSurfaceViewWeakRef.get(); in createGL()
1158 GLSurfaceView view = mGLSurfaceViewWeakRef.get(); in destroySurfaceImp()
1171 GLSurfaceView view = mGLSurfaceViewWeakRef.get(); in finish()
1204 private WeakReference<GLSurfaceView> mGLSurfaceViewWeakRef;
[all …]
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java20 import android.opengl.GLSurfaceView;
39 class TestFramerateView extends GLSurfaceView {
67 private class Renderer implements GLSurfaceView.Renderer {
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
DClearActivity.java29 import android.opengl.GLSurfaceView;
53 private GLSurfaceView mGLView;
56 class ClearGLSurfaceView extends GLSurfaceView {
66 class ClearRenderer implements GLSurfaceView.Renderer {
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java36 import android.opengl.GLSurfaceView;
57 class GLPerfView extends GLSurfaceView {
78 private static class ContextFactory implements GLSurfaceView.EGLContextFactory {
101 private static class ConfigChooser implements GLSurfaceView.EGLConfigChooser {
282 private static class Renderer implements GLSurfaceView.Renderer {
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java36 import android.opengl.GLSurfaceView;
57 class GL2JNIView extends GLSurfaceView {
78 private static class ContextFactory implements GLSurfaceView.EGLContextFactory {
101 private static class ConfigChooser implements GLSurfaceView.EGLConfigChooser {
282 private static class Renderer implements GLSurfaceView.Renderer {
/frameworks/base/docs/html/guide/topics/graphics/
Dopengl.jd33 <li>{@link android.opengl.GLSurfaceView}</li>
34 <li>{@link android.opengl.GLSurfaceView.Renderer}</li>
86 graphics with the OpenGL ES API: {@link android.opengl.GLSurfaceView} and {@link
87 android.opengl.GLSurfaceView.Renderer}. If your goal is to use OpenGL in your Android application,
92 <dt><strong>{@link android.opengl.GLSurfaceView}</strong></dt>
95 this class by creating an instance of {@link android.opengl.GLSurfaceView} and adding your
96 {@link android.opengl.GLSurfaceView.Renderer Renderer} to it. However, if you want to capture
97 touch screen events, you should extend the {@link android.opengl.GLSurfaceView} class to
101 <dt><strong>{@link android.opengl.GLSurfaceView.Renderer}</strong></dt>
103 android.opengl.GLSurfaceView}. You must provide an implementation of this interface as a
[all …]
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java20 import android.opengl.GLSurfaceView;
47 class GL2JavaView extends GLSurfaceView {
56 private static class Renderer implements GLSurfaceView.Renderer {
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java29 import android.opengl.GLSurfaceView;
30 import android.opengl.GLSurfaceView.Renderer;
58 private GLSurfaceView mGLSurfaceView;
104 mGLSurfaceView = new GLSurfaceView(context); in TiledImageView()
107 mGLSurfaceView.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY); in TiledImageView()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java28 import android.opengl.GLSurfaceView;
53 mGLSurfaceView = new GLSurfaceView(this); in onCreate()
99 private GLSurfaceView mGLSurfaceView;
114 class GLES20TriangleRenderer implements GLSurfaceView.Renderer {
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java40 import android.opengl.GLSurfaceView;
60 class TestView extends GLSurfaceView {
226 private class Renderer implements GLSurfaceView.Renderer {
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java20 import android.opengl.GLSurfaceView;
47 class TestLatencyView extends GLSurfaceView {
84 private class Renderer implements GLSurfaceView.Renderer {
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java33 import android.opengl.GLSurfaceView;
46 public class MyGLSurfaceView extends GLSurfaceView {
80 class MyRenderer implements GLSurfaceView.Renderer, SurfaceTexture.OnFrameAvailableListener {

12