Home
last modified time | relevance | path

Searched refs:mSurfaceTexture (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DOutputSurface.java52 private SurfaceTexture mSurfaceTexture; field in OutputSurface
101 mSurfaceTexture = new SurfaceTexture(mTextureRender.getTextureId()); in setup()
114 mSurfaceTexture.setOnFrameAvailableListener(listener); in setup()
116 mSurface = new Surface(mSurfaceTexture); in setup()
199 mSurfaceTexture = null; in release()
253 mSurfaceTexture.updateTexImage(); in awaitNewImage()
281 mSurfaceTexture.updateTexImage(); in checkForNewImage()
289 mTextureRender.drawFrame(mSurfaceTexture); in drawImage()
294 mSurfaceTexture.updateTexImage(); in latchImage()
DVideoSurfaceView.java83 private SurfaceTexture mSurfaceTexture; field in VideoSurfaceView.VideoRender
99 mSurfaceTexture.updateTexImage(); in onDrawFrame()
104 mTextureRender.drawFrame(mSurfaceTexture); in onDrawFrame()
117 mSurfaceTexture = new SurfaceTexture(mTextureRender.getTextureId()); in onSurfaceCreated()
118 mSurfaceTexture.setOnFrameAvailableListener(this); in onSurfaceCreated()
120 Surface surface = new Surface(mSurfaceTexture); in onSurfaceCreated()
DEncodeVirtualDisplayWithCompositionTest.java1026 private volatile SurfaceTexture mSurfaceTexture; field in EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow
1083 mSurfaceTexture = new SurfaceTexture(mTextureId); in init()
1084 mSurfaceTexture.setDefaultBufferSize(mWidth, mHeight); in init()
1085 mSurface = new Surface(mSurfaceTexture); in init()
1086 mSurfaceTexture.setOnFrameAvailableListener(mCompositor); in init()
1102 if (mSurfaceTexture != null) { in cleanup()
1103 mSurfaceTexture.release(); in cleanup()
1104 mSurfaceTexture = null; in cleanup()
1124 mSurfaceTexture.updateTexImage(); in updateTexImageIfNecessary()
1125 mSurfaceTexture.getTransformMatrix(mSTMatrix); in updateTexImageIfNecessary()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaOutputSurface.java56 private SurfaceTexture mSurfaceTexture; field in CtsMediaOutputSurface
105 mSurfaceTexture = new SurfaceTexture(mTextureRender.getTextureId()); in setup()
118 mSurfaceTexture.setOnFrameAvailableListener(listener); in setup()
120 mSurface = new Surface(mSurfaceTexture); in setup()
203 mSurfaceTexture = null; in release()
257 mSurfaceTexture.updateTexImage(); in awaitNewImage()
285 mSurfaceTexture.updateTexImage(); in checkForNewImage()
293 mTextureRender.drawFrame(mSurfaceTexture); in drawImage()
298 mSurfaceTexture.updateTexImage(); in latchImage()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java84 SurfaceTexture mSurfaceTexture; field in CameraGLTest
145 mSurfaceTexture = new SurfaceTexture(mRenderer.getTextureID()); in initializeMessageLooper()
174 mSurfaceTexture = null; in terminateMessageLooper()
356 mCamera.setPreviewTexture(mSurfaceTexture);
365 mCamera.setPreviewTexture(mSurfaceTexture);
376 mCamera.setPreviewTexture(mSurfaceTexture);
401 mSurfaceTexture.setOnFrameAvailableListener(mSurfaceTextureCallback);
402 mCamera.setPreviewTexture(mSurfaceTexture);
419 mSurfaceTexture.setOnFrameAvailableListener(mSurfaceTextureCallback);
421 mCamera.setPreviewTexture(mSurfaceTexture);
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DRenderTarget.java77 private final SurfaceTexture mSurfaceTexture; field in RenderTarget
82 mSurfaceTexture = surfaceTexture; in RenderTarget()
84 mSurface = new Surface(mSurfaceTexture); in RenderTarget()
92 mSurfaceTexture.setDefaultBufferSize(width, height); in setDefaultSize()
130 sHandler.removeMessages(UPDATE_TEX_IMAGE, sink.mSurfaceTexture); in destroySink()
131 sink.mSurfaceTexture.setOnFrameAvailableListener(null); in destroySink()
132 sink.mSurfaceTexture.release(); in destroySink()
/cts/tests/tests/security/src/android/security/cts/
DRenderTarget.java80 private final SurfaceTexture mSurfaceTexture; field in RenderTarget
85 mSurfaceTexture = surfaceTexture; in RenderTarget()
87 mSurface = new Surface(mSurfaceTexture); in RenderTarget()
95 mSurfaceTexture.setDefaultBufferSize(width, height); in setDefaultSize()
133 sHandler.removeMessages(UPDATE_TEX_IMAGE, sink.mSurfaceTexture); in destroySink()
134 sink.mSurfaceTexture.setOnFrameAvailableListener(null); in destroySink()
135 sink.mSurfaceTexture.release(); in destroySink()
/cts/tests/tests/view/src/android/view/cts/
DGLProducerThread.java36 private final SurfaceTexture mSurfaceTexture; field in GLProducerThread
59 mSurfaceTexture = surfaceTexture; in GLProducerThread()
114 configs[0], mSurfaceTexture, null); in initGL()
DPixelCopyTest.java833 private SurfaceTexture mSurfaceTexture = null; field in PixelCopyTest.SurfaceTextureRule
837 mSurfaceTexture = new SurfaceTexture(false); in createIfNecessary()
838 mSurface = new Surface(mSurfaceTexture); in createIfNecessary()
868 if (mSurfaceTexture != null) mSurfaceTexture.release(); in evaluate()