Home
last modified time | relevance | path

Searched refs:surfaceTexture (Results 1 – 6 of 6) 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.java597 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
605 SurfaceTexture surfaceTexture, int width, int height) {} in onSurfaceTextureSizeChanged() argument
608 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
613 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {} in onSurfaceTextureUpdated() argument
814 private SurfaceTexture surfaceTexture; field in GLSurfaceViewFactory.GLSurfaceViewThread
831 surfaceTexture = new SurfaceTexture(getTextureId()); in run()
832 surfaceTexture.setOnFrameAvailableListener(this); in run()
833 surface = new Surface(surfaceTexture); in run()
846 surfaceTexture.updateTexImage(); in onFrameAvailable()
916 surfaceTexture.release(); in release()
/cts/tests/tests/textureview/src/android/textureview/cts/
DGLProducerThread.java58 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender, in GLProducerThread() argument
64 mSurfaceTexture = surfaceTexture; in GLProducerThread()
68 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs, in GLProducerThread() argument
70 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); in GLProducerThread()
73 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender, in GLProducerThread() argument
75 this(surfaceTexture, renderer, shouldRender, 0, delayMs, semaphore); in GLProducerThread()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTests.java80 SurfaceTexture surfaceTexture = null; in testErrors() local
84 surfaceTexture = new SurfaceTexture(false); in testErrors()
85 surface = new Surface(surfaceTexture); in testErrors()
114 if (surfaceTexture != null) surfaceTexture.release(); in testErrors()
117 surfaceTexture = null; in testErrors()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java188 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument
207 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java185 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in getDummySurface()