Home
last modified time | relevance | path

Searched refs:mSurface (Results 1 – 22 of 22) 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()
127 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, in createEGLSurface()
153 mSurface.release(); in release()
159 mSurface = null; in release()
191 return mSurface; in getSurface()
232 codec.setInputSurface(mSurface); in configure()
237 codec.setInputSurface(mSurface); in configure()
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.java78 private Surface mSurface = null; field in MediaSyncTest
132 if (mSurface != null) { in tearDown()
133 mSurface.release(); in tearDown()
134 mSurface = null; in tearDown()
481 mSurface = mMediaSync.createInputSurface(); in runPlayAV()
484 inputResourceId, mSurface, lastBufferTimestampUs, NO_TIMESTAMP) == false) { in runPlayAV()
592 private Surface mSurface = null; field in MediaSyncTest.Decoder
630 mSurface = surface; in setup()
653 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.java619 private Surface mSurface; field in EncodeVirtualDisplayWithCompositionTest.GlCompositor
659 mSurface = surface; in startComposition()
679 mSurface = null; in stopComposition()
769 mEglHelper = new InputSurface(mSurface); in initGl()
926 private volatile Surface mSurface; field in EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow
984 mSurface = new Surface(mSurfaceTexture); in init()
997 if (mSurface != null) { in cleanup()
998 mSurface.release(); in cleanup()
999 mSurface = null; in cleanup()
1059 return mSurface; in getSurface()
[all …]
DAdaptivePlaybackTest.java852 TestSurface mSurface;
911 mSurface = surface;
912 Log.i(TAG, "configure(" + format + ", " + mSurface.getSurface() + ")");
913 mCodec.configure(format, mSurface.getSurface(), null /* crypto */, 0 /* flags */);
923 mCodec.setOutputSurface(mSurface.getSurface());
980 if (mSurface.getSurface() == null) {
991 mSurface.prepare();
993 mSurface.waitForDraw();
995 sum = mSurface.checksum();
1137 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()
141 mSurface.release(); in onSurfaceTextureDestroyed()
142 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/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java56 private SurfaceTexture mSurface; field in TextureViewCtsActivity
141 while (mSurface == null) { in waitForSurface()
194 mSurface = surface; in onSurfaceTextureAvailable()
206 mSurface = null; in onSurfaceTextureDestroyed()
245 mSurface, null);
DSurfaceViewCtsActivity.java79 Surface mSurface; field in SurfaceViewCtsActivity.MockSurfaceView
180 mSurface = holder.getSurface(); in surfaceCreated()
DSurfaceViewTest.java169 assertTrue(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching()
175 assertFalse(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching()
DPixelCopyTest.java534 private Surface mSurface = null; field in PixelCopyTest.SurfaceTextureRule
538 mSurface = new Surface(mSurfaceTexture); in createIfNecessary()
543 return mSurface; in getSurface()
565 if (mSurface != null) mSurface.release(); in evaluate()
/cts/tests/openglperf2/src/android/opengl2/cts/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/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java48 private volatile Surface mSurface = null; field in GLGameActivity
64 mSurface = holder.getSurface(); in onCreate()
129 mSurface, in run()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_decoder_source.cpp202 mSurface = n; in prepare()
215 ALOGI("configure decoder. surface = %p", mSurface.get()); in prepare()
217 mDec.get(), mFormat.get(), mSurface.get(), NULL /* crypto */, 0); in prepare()
Dnative_media_source.h65 std::shared_ptr<ANativeWindow> mSurface; variable
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java248 private Surface mSurface = null; field in MockTvInputService.MockSessionImpl
298 Surface surface = mSurface; in draw()
344 mSurface = surface; in onSetSurface()
/cts/tools/dex-tools/dex/
Dclasses.out.dex41571 private android.view.Surface mSurface
41833 private android.view.Surface mSurface
84955 private int mSurface
86490 final android.view.Surface mSurface
86710 android.view.Surface mSurface
88434 private android.view.Surface mSurface
136292 private com.google.android.jsr239.EGLSurfaceImpl mSurface