Home
last modified time | relevance | path

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

/packages/services/Car/evs/sampleDriver/
DGlWrapper.cpp272 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mFlingerSurface.get(), nullptr); in initialize()
273 if (mSurface == EGL_NO_SURFACE) { in initialize()
290 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize()
330 eglDestroySurface(mDisplay, mSurface); in shutdown()
333 mSurface = EGL_NO_SURFACE; in shutdown()
462 eglSwapBuffers(mDisplay, mSurface); in renderImageToScreen()
DGlWrapper.h60 EGLSurface mSurface; variable
/packages/apps/Gallery2/src/com/android/photos/views/
DBlockingGLTextureView.java318 private SurfaceTexture mSurface; field in BlockingGLTextureView.RenderThread
338 if (mSurface == null) { in checkSurface()
349 mSurface = surface; in setSurface()
363 if (mSurface != null) { in render()
365 mSurface.updateTexImage(); in render()
370 mSurface = null; in finish()
398 if (mEglHelper.createSurface(mSurface)) { in handleMessageLocked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DVideoPreference.java57 private Surface mSurface; field in VideoPreference
134 mSurface = new Surface(surfaceTexture); in onBindViewHolder()
135 mMediaPlayer.setSurface(mSurface); in onBindViewHolder()
229 if (mSurface != null) { in initMediaPlayer()
230 mMediaPlayer.setSurface(mSurface); in initMediaPlayer()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java135 private Surface mSurface; field in MpegTsPlayer
202 mSurface = surface; in setSurface()
208 return mSurface; in getSurface()
213 mSurface = null; in blockingClearSurface()
364 mSurface = null; in release()
611 mVideoRenderer, MediaCodecVideoTrackRenderer.MSG_SET_SURFACE, mSurface); in pushSurface()
614 mVideoRenderer, MediaCodecVideoTrackRenderer.MSG_SET_SURFACE, mSurface); in pushSurface()
/packages/apps/Settings/src/com/android/settings/widget/
DVideoPreference.java59 private Surface mSurface; field in VideoPreference
143 mSurface = new Surface(surfaceTexture); in onBindViewHolder()
144 mMediaPlayer.setSurface(mSurface); in onBindViewHolder()
238 if (mSurface != null) { in initMediaPlayer()
239 mMediaPlayer.setSurface(mSurface); in initMediaPlayer()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java94 private Surface mSurface; field in ZappingTimeTest
221 if (mSurface != null) { in tearDown()
222 mSurface.release(); in tearDown()
248 mSurface = new Surface(surfaceTexture); in testZappingWithPacketMissing()
295 mSurface = new Surface(surfaceTexture); in zappingTimeTest()
356 mPlayer.setSurface(mSurface); in onStateChanged()
DZappingTimeTestExoV2.java101 private Surface mSurface; field in ZappingTimeTestExoV2
248 if (mSurface != null) { in tearDown()
249 mSurface.release(); in tearDown()
275 mSurface = new Surface(surfaceTexture); in testZappingWithPacketMissing()
322 mSurface = new Surface(surfaceTexture); in zappingTimeTest()
383 mPlayer.setSurface(mSurface); in onStateChanged()
/packages/apps/Camera2/src/com/android/camera/burst/
DSurfaceTextureContainer.java30 private final Surface mSurface; field in SurfaceTextureContainer
34 mSurface = new Surface(mSurfaceTexture); in SurfaceTextureContainer()
42 return mSurface; in getSurface()
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DSimpleCaptureStream.java29 private final Surface mSurface; field in SimpleCaptureStream
32 mSurface = surface; in SimpleCaptureStream()
40 return mSurface; in bind()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DImageStreamImpl.java38 private final Surface mSurface; field in ImageStreamImpl
45 mSurface = surface; in ImageStreamImpl()
58 return mSurface; in bind()
DManagedImageReader.java78 private final Surface mSurface; field in ManagedImageReader
92 mSurface = surface; in ManagedImageReader()
109 ticketPool, imageStream, imageStreamController, mImageDistributor, mSurface); in createUnallocatedStream()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java196 SurfaceTexture mSurface; field in SendUi
530 mSurface = null; in dismiss()
669 mFireflyRenderer.start(mSurface, mSurfaceWidth, mSurfaceHeight); in onAnimationEnd()
718 mSurface = surface; in onSurfaceTextureAvailable()
731 mSurface = null; in onSurfaceTextureDestroyed()
DFireflyRenderer.java96 SurfaceTexture mSurface; field in FireflyRenderer
133 mSurface = surface; in start()
316 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); in initGL()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java99 private Surface mSurface = null; field in TestTvInputService.SimpleSessionImpl
176 mSurface = null; in onRelease()
185 mSurface = surface; in onSetSurface()
319 currentSurface = mSurface; in run()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java496 private SurfaceTexture mSurface; field in CameraAppUI
679 if (mSurface == null || mTextureView == null) { in setDefaultBufferSizeToViewDimens()
683 mSurface.setDefaultBufferSize(mTextureView.getWidth(), mTextureView.getHeight()); in setDefaultBufferSizeToViewDimens()
1685 return mSurface; in getSurfaceTexture()
1704 mSurface = surface; in onSurfaceTextureAvailable()
1716 mSurface = surface; in onSurfaceTextureSizeChanged()
1726 mSurface = null; in onSurfaceTextureDestroyed()
1736 mSurface = surface; in onSurfaceTextureUpdated()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java58 private final Surface mSurface; field in ColorsGLRenderer
75 mSurface = surface; in ColorsGLRenderer()
177 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null); in initGL()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java221 private SurfaceTexture mSurface; field in QrCamera.DecodingTask
224 mSurface = surface; in DecodingTask()
229 if (!initCamera(mSurface)) { in doInBackground()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java231 private SurfaceTexture mSurface; field in QrCamera.DecodingTask
234 mSurface = surface; in DecodingTask()
239 if (!initCamera(mSurface)) { in doInBackground()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java196 private volatile Surface mSurface; field in TunerSessionWorkerExoV2
381 mSurface = surface; in setSurface()
559 if (!mReportedDrawnToSurface && mSurface != null && mPlayerStarted) { in onRenderedFirstFrame()
1290 mPlayer.setSurface(mSurface); in handleMessageSetSurface()
1681 Surface surface = mSurface; in startPlayback()
1749 if (mChannelBlocked || mSurface == null || (mChannel == null && mRecordingId == null)) { in resetPlayback()
DTunerSessionWorker.java197 private volatile Surface mSurface; field in TunerSessionWorker
381 mSurface = surface; in setSurface()
558 if (mSurface != null && mPlayerStarted) { in onDrawnToSurface()
1357 mPlayer.setSurface(mSurface); in handleMessageSetSurface()
1759 Surface surface = mSurface; in startPlayback()
1816 if (mChannelBlocked || mSurface == null || (mChannel == null && mRecordingId == null)) { in resetPlayback()