Home
last modified time | relevance | path

Searched refs:mSurface (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCompositionTextureView.java36 private Surface mSurface; field in CompositionTextureView
112 if (mSurface == null && surfaceTexture != null) { in isSurfaceTextureAvailable()
115 return (mSurface != null); in isSurfaceTextureAvailable()
119 if (mSurface != null) { in recreateSurface()
120 mSurface.release(); in recreateSurface()
122 mSurface = new Surface(surfaceTexture); in recreateSurface()
126 return mSurface; in getSurface()
DInputSurface.java46 private Surface mSurface; field in InputSurface
57 mSurface = surface; in InputSurface()
126 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, in createEGLSurface()
151 mSurface.release(); in release()
157 mSurface = null; in release()
187 return mSurface; in getSurface()
DOutputSurface.java53 private Surface mSurface; field in OutputSurface
116 mSurface = new Surface(mSurfaceTexture); in setup()
187 mSurface.release(); in release()
198 mSurface = null; in release()
215 return mSurface; in getSurface()
DMediaSyncTest.java75 private Surface mSurface = null; field in MediaSyncTest
128 if (mSurface != null) { in tearDown()
129 mSurface.release(); in tearDown()
130 mSurface = null; in tearDown()
415 mSurface = mMediaSync.createInputSurface(); in runPlayAV()
418 inputResourceId, mSurface, lastBufferTimestampUs) == false) { in runPlayAV()
534 private Surface mSurface = null; field in MediaSyncTest.Decoder
570 mSurface = surface; in setup()
592 mDecoder.configure(mediaFormat, mSurface, null, 0); in setup()
DRemoteVirtualDisplayService.java112 private Surface mSurface; field in RemoteVirtualDisplayService.VirtualDisplayPresentation
121 mSurface = surface; in VirtualDisplayPresentation()
132 TAG, mWidth, mHeight, 200, mSurface, 0); in createVirtualDisplay()
DEncodeVirtualDisplayWithCompositionTest.java601 private Surface mSurface; field in EncodeVirtualDisplayWithCompositionTest.GlCompositor
641 mSurface = surface; in startComposition()
661 mSurface = null; in stopComposition()
751 mEglHelper = new InputSurface(mSurface); in initGl()
908 private volatile Surface mSurface; field in EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow
966 mSurface = new Surface(mSurfaceTexture); in init()
979 if (mSurface != null) { in cleanup()
980 mSurface.release(); in cleanup()
981 mSurface = null; in cleanup()
1041 return mSurface; in getSurface()
[all …]
DAdaptivePlaybackTest.java846 TestSurface mSurface;
905 mSurface = surface;
906 Log.i(TAG, "configure(" + format + ", " + mSurface.getSurface() + ")");
907 mCodec.configure(format, mSurface.getSurface(), null /* crypto */, 0 /* flags */);
917 mCodec.setOutputSurface(mSurface.getSurface());
974 if (mSurface.getSurface() == null) {
985 mSurface.prepare();
987 mSurface.waitForDraw();
989 sum = mSurface.checksum();
1129 mSurface.release();
[all …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DSurfaceTextureRenderer.java87 private SurfaceTexture mSurface = null; field in SurfaceTextureRenderer
106 mSurface.updateTexImage(); in onDrawFrame()
108 mSurface.getTransformMatrix(mSTMatrix); in onDrawFrame()
220 if (mSurface != null) { in onSurfaceCreated()
221 mSurface.release(); in onSurfaceCreated()
223 mSurface = new SurfaceTexture(mTextureID); in onSurfaceCreated()
224 mSurface.setOnFrameAvailableListener(this); in onSurfaceCreated()
299 return mSurface; in getSurfaceTexture()
/cts/tests/tests/tv/src/android/media/tv/cts/
DStubTunerTvInputService.java85 private Surface mSurface; field in StubTunerTvInputService.StubSessionImpl
100 if (mCurrentIndex >= 0 && mSurface != null) { in updateSurfaceLocked()
102 Canvas c = mSurface.lockCanvas(null); in updateSurfaceLocked()
104 mSurface.unlockCanvasAndPost(c); in updateSurfaceLocked()
106 mSurface = null; in updateSurfaceLocked()
114 mSurface = surface; in onSetSurface()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionActivity.java49 protected volatile Surface mSurface; field in ProjectionActivity
67 … mService.startRendering(mSurface, mWidth, mHeight, metrics.densityDpi, mType.ordinal());
122 mSurface = new Surface(surface); in onSurfaceTextureAvailable()
142 mSurface.release(); in onSurfaceTextureDestroyed()
143 mSurface = null; in onSurfaceTextureDestroyed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaOutputSurface.java57 private Surface mSurface; field in CtsMediaOutputSurface
120 mSurface = new Surface(mSurfaceTexture); in setup()
191 mSurface.release(); in release()
202 mSurface = null; in release()
219 return mSurface; in getSurface()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java74 private Surface mSurface; field in VirtualDisplayTest
95 mSurface = mImageReader.getSurface(); in setUp()
108 mSurface = null; in tearDown()
121 WIDTH, HEIGHT, DENSITY, mSurface, 0); in testPrivateVirtualDisplay()
127 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplay()
145 WIDTH, HEIGHT, DENSITY, mSurface, in testPrivatePresentationVirtualDisplay()
152 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivatePresentationVirtualDisplay()
179 virtualDisplay.setSurface(mSurface); in testPrivateVirtualDisplayWithDynamicSurface()
180 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/
DGLPrimitiveActivity.java35 private volatile Surface mSurface = null; field in GLPrimitiveActivity
69 mSurface = holder.getSurface(); in onCreate()
136 setupBenchmark(mSurface, mBenchmark.ordinal(), mOffscreen); in run()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/
DGLGameActivity.java48 private volatile Surface mSurface = null; field in GLGameActivity
64 mSurface = holder.getSurface(); in onCreate()
128 mSurface, in run()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java231 private Surface mSurface = null; field in MockTvInputService.MockSessionImpl
280 Surface surface = mSurface; in draw()
326 mSurface = surface; in onSetSurface()