Home
last modified time | relevance | path

Searched refs:surfaceTexture (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCompositionTextureView.java111 SurfaceTexture surfaceTexture = getSurfaceTexture(); in isSurfaceTextureAvailable() local
112 if (mSurface == null && surfaceTexture != null) { in isSurfaceTextureAvailable()
113 recreateSurface(surfaceTexture); in isSurfaceTextureAvailable()
118 private synchronized void recreateSurface(SurfaceTexture surfaceTexture) { in recreateSurface() argument
122 mSurface = new Surface(surfaceTexture); in recreateSurface()
DDecodeAccuracyTestBase.java797 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
805 SurfaceTexture surfaceTexture, int width, int height) {} in onSurfaceTextureSizeChanged() argument
808 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
813 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {} in onSurfaceTextureUpdated() argument
1028 private SurfaceTexture surfaceTexture; field in GLSurfaceViewFactory.GLSurfaceViewThread
1047 surfaceTexture = new SurfaceTexture(getTextureId()); in run()
1048 surfaceTexture.setOnFrameAvailableListener(this); in run()
1049 surface = new Surface(surfaceTexture); in run()
1062 surfaceTexture.updateTexImage(); in onFrameAvailable()
1123 surfaceTexture.release(); in release()
/cts/tests/tests/view/src/android/view/cts/
DGLProducerThread.java52 private GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, in GLProducerThread() argument
59 mSurfaceTexture = surfaceTexture; in GLProducerThread()
63 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs, in GLProducerThread() argument
65 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); in GLProducerThread()
68 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender, in GLProducerThread() argument
70 this(surfaceTexture, renderer, shouldRender, 0, delayMs, semaphore); in GLProducerThread()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRenderTarget.java81 private RenderTarget(SurfaceTexture surfaceTexture, int glTexId) { in RenderTarget() argument
82 mSurfaceTexture = surfaceTexture; in RenderTarget()
186 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument
187 Message.obtain(sHandler, UPDATE_TEX_IMAGE, surfaceTexture).sendToTarget(); in onFrameAvailable()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_ASurfaceTextureTest.cpp31 static void basicTests(JNIEnv* env, jclass, jobject surfaceTexture) { in basicTests() argument
50 ASurfaceTexture* ast = ASurfaceTexture_fromSurfaceTexture(env, surfaceTexture); in basicTests()
/cts/tests/tests/security/src/android/security/cts/
DRenderTarget.java84 private RenderTarget(SurfaceTexture surfaceTexture, int glTexId) { in RenderTarget() argument
85 mSurfaceTexture = surfaceTexture; in RenderTarget()
189 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument
191 Message.obtain(sHandler, UPDATE_TEX_IMAGE, surfaceTexture).sendToTarget(); in onFrameAvailable()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java195 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument
214 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument