/cts/tests/tests/media/src/android/media/cts/ |
D | CompositionTextureView.java | 36 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()
|
D | InputSurface.java | 46 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()
|
D | OutputSurface.java | 53 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()
|
D | MediaSyncTest.java | 78 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()
|
D | RemoteVirtualDisplayService.java | 112 private Surface mSurface; field in RemoteVirtualDisplayService.VirtualDisplayPresentation 121 mSurface = surface; in VirtualDisplayPresentation() 132 TAG, mWidth, mHeight, 200, mSurface, 0); in createVirtualDisplay()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 619 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 …]
|
D | AdaptivePlaybackTest.java | 852 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/ |
D | SurfaceTextureRenderer.java | 87 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/ |
D | StubTunerTvInputService.java | 85 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/ |
D | ProjectionActivity.java | 49 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/ |
D | CtsMediaOutputSurface.java | 57 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/ |
D | VirtualDisplayTest.java | 74 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/ |
D | TextureViewCtsActivity.java | 56 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);
|
D | SurfaceViewCtsActivity.java | 79 Surface mSurface; field in SurfaceViewCtsActivity.MockSurfaceView 180 mSurface = holder.getSurface(); in surfaceCreated()
|
D | SurfaceViewTest.java | 169 assertTrue(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching() 175 assertFalse(mMockSurfaceView.mSurface.isValid()); in surfaceInvalidatedWhileDetaching()
|
D | PixelCopyTest.java | 534 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/ |
D | GLPrimitiveActivity.java | 35 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/ |
D | GLGameActivity.java | 48 private volatile Surface mSurface = null; field in GLGameActivity 64 mSurface = holder.getSurface(); in onCreate() 129 mSurface, in run()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_decoder_source.cpp | 202 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()
|
D | native_media_source.h | 65 std::shared_ptr<ANativeWindow> mSurface; variable
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputService.java | 248 private Surface mSurface = null; field in MockTvInputService.MockSessionImpl 298 Surface surface = mSurface; in draw() 344 mSurface = surface; in onSetSurface()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 41571 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
|