Home
last modified time | relevance | path

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

/cts/tests/media/src/android/mediav2/cts/
DOutputSurface.java54 private SurfaceTexture mSurfaceTexture; field in OutputSurface
107 mSurfaceTexture = new SurfaceTexture(mTextureRender.getTextureId()); in setup()
120 mSurfaceTexture.setOnFrameAvailableListener(listener); in setup()
122 mSurface = new Surface(mSurfaceTexture); in setup()
195 mSurfaceTexture.release(); in release()
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/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/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()
DEncodeVirtualDisplayWithCompositionTestImpl.java961 private volatile SurfaceTexture mSurfaceTexture; field in EncodeVirtualDisplayWithCompositionTestImpl.GlCompositor.GlWindow
1018 mSurfaceTexture = new SurfaceTexture(mTextureId); in init()
1019 mSurfaceTexture.setDefaultBufferSize(mWidth, mHeight); in init()
1020 mSurface = new Surface(mSurfaceTexture); in init()
1021 mSurfaceTexture.setOnFrameAvailableListener(mCompositor); in init()
1037 if (mSurfaceTexture != null) { in cleanup()
1038 mSurfaceTexture.release(); in cleanup()
1039 mSurfaceTexture = null; in cleanup()
1059 mSurfaceTexture.updateTexImage(); in updateTexImageIfNecessary()
1060 mSurfaceTexture.getTransformMatrix(mSTMatrix); in updateTexImageIfNecessary()
[all …]
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java87 SurfaceTexture mSurfaceTexture; field in CameraGLTest
155 mSurfaceTexture = new SurfaceTexture(mRenderer.getTextureID()); in initializeMessageLooper()
184 mSurfaceTexture = null; in terminateMessageLooper()
365 mCamera.setPreviewTexture(mSurfaceTexture);
374 mCamera.setPreviewTexture(mSurfaceTexture);
385 mCamera.setPreviewTexture(mSurfaceTexture);
410 mSurfaceTexture.setOnFrameAvailableListener(mSurfaceTextureCallback);
411 mCamera.setPreviewTexture(mSurfaceTexture);
428 mSurfaceTexture.setOnFrameAvailableListener(mSurfaceTextureCallback);
430 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/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java89 private SurfaceTexture mSurfaceTexture = null; field in CameraExtensionSessionTest
106 if (mSurfaceTexture != null) { in tearDown()
107 mSurfaceTexture.release(); in tearDown()
108 mSurfaceTexture = null; in tearDown()
118 if (mSurfaceTexture != null) { in updatePreviewSurfaceTexture()
123 mSurfaceTexture = getAvailableSurfaceTexture(WAIT_FOR_COMMAND_TO_COMPLETE_MS, textureView); in updatePreviewSurfaceTexture()
124 assertNotNull("Failed to acquire valid preview surface texture!", mSurfaceTexture); in updatePreviewSurfaceTexture()
142 mSurfaceTexture.getClass()); in testBasicExtensionLifecycle()
144 mSurfaceTexture.setDefaultBufferSize(maxSize.getWidth(), maxSize.getHeight()); in testBasicExtensionLifecycle()
147 new Surface(mSurfaceTexture)); in testBasicExtensionLifecycle()
[all …]
/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.java977 private SurfaceTexture mSurfaceTexture = null; field in PixelCopyTest.SurfaceTextureRule
981 mSurfaceTexture = new SurfaceTexture(false); in createIfNecessary()
982 mSurface = new Surface(mSurfaceTexture); in createIfNecessary()
1012 if (mSurfaceTexture != null) mSurfaceTexture.release(); in evaluate()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...