Home
last modified time | relevance | path

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

/cts/tests/tests/media/common/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()
/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()
DTextureViewTest.java368 SurfaceTexture surfaceTexture = textureView.getSurfaceTexture(); in testSDRFromSurfaceViewAndTextureView() local
369 Surface surface = new Surface(surfaceTexture); in testSDRFromSurfaceViewAndTextureView()
453 SurfaceTexture surfaceTexture = textureView.getSurfaceTexture(); in testCropRect() local
454 Surface surface = new Surface(surfaceTexture); in testCropRect()
/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/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/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/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DPreviewRecorder.java214 mCameraTexture.setOnFrameAvailableListener(surfaceTexture -> { in initPreviewRecorder()
218 if (surfaceTexture.isReleased()) { in initPreviewRecorder()
226 surfaceTexture.updateTexImage(); // update texture to the latest frame in initPreviewRecorder()
237 + " timestamp = " + surfaceTexture.getTimestamp() in initPreviewRecorder()
240 mFrameTimeStamps.add(surfaceTexture.getTimestamp()); in initPreviewRecorder()
242 + " timestamp = " + surfaceTexture.getTimestamp()); in initPreviewRecorder()
DCameraMuteToggleActivity.java185 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, in onSurfaceTextureAvailable() argument
187 mPreviewTexture = surfaceTexture; in onSurfaceTextureAvailable()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java802 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
810 SurfaceTexture surfaceTexture, int width, int height) {} in onSurfaceTextureSizeChanged() argument
813 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
818 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {} in onSurfaceTextureUpdated() argument
1038 private SurfaceTexture surfaceTexture; field in GLSurfaceViewFactory.GLSurfaceViewThread
1057 surfaceTexture = new SurfaceTexture(getTextureId()); in run()
1058 surfaceTexture.setOnFrameAvailableListener(this); in run()
1059 surface = new Surface(surfaceTexture); in run()
1068 surfaceTexture.release(); in run()
1087 surfaceTexture.updateTexImage(); in onFrameAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraGPURecordingTest.java136 SurfaceTexture surfaceTexture = mSurfaceTextureHolder.getSurfaceTexture(); in captureGpuEncoderPath() local
143 CaptureRequest.Builder previewRequest = createSessionAndCaptureRequest(surfaceTexture, in captureGpuEncoderPath()
178 + ((surfaceTexture.getTimestamp() - startWhen) / 1000000.0) in captureGpuEncoderPath()
180 mInputSurface.setPresentationTime(surfaceTexture.getTimestamp()); in captureGpuEncoderPath()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java205 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument
224 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java458 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, in onSurfaceTextureAvailable() argument
460 mPreviewTexture = surfaceTexture; in onSurfaceTextureAvailable()