Home
last modified time | relevance | path

Searched refs:mSurface (Results 1 – 20 of 20) 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/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java134 private Surface mSurface; field in MpegTsPlayer
201 mSurface = surface; in setSurface()
207 return mSurface; in getSurface()
212 mSurface = null; in blockingClearSurface()
363 mSurface = null; in release()
610 mVideoRenderer, MediaCodecVideoTrackRenderer.MSG_SET_SURFACE, mSurface); in pushSurface()
613 mVideoRenderer, MediaCodecVideoTrackRenderer.MSG_SET_SURFACE, mSurface); in pushSurface()
/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/Settings/src/com/android/settings/widget/
DVideoPreference.java59 private Surface mSurface; field in VideoPreference
141 mSurface = new Surface(surfaceTexture); in onBindViewHolder()
142 mMediaPlayer.setSurface(mSurface); in onBindViewHolder()
236 if (mSurface != null) { in initMediaPlayer()
237 mMediaPlayer.setSurface(mSurface); in initMediaPlayer()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java83 private Surface mSurface; field in ZappingTimeTest
188 if (mSurface != null) { in tearDown()
189 mSurface.release(); in tearDown()
215 mSurface = new Surface(surfaceTexture); in testZappingWithPacketMissing()
262 mSurface = new Surface(surfaceTexture); in zappingTimeTest()
323 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/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/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/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java229 private SurfaceTexture mSurface; field in QrCamera.DecodingTask
232 mSurface = surface; in DecodingTask()
237 if (!initCamera(mSurface)) { in doInBackground()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java191 private volatile Surface mSurface; field in TunerSessionWorkerExoV2
355 mSurface = surface; in setSurface()
533 if (mSurface != null && mPlayerStarted) { in onDrawnToSurface()
1309 mPlayer.setSurface(mSurface); in handleMessageSetSurface()
1715 Surface surface = mSurface; in startPlayback()
1772 if (mChannelBlocked || mSurface == null || (mChannel == null && mRecordingId == null)) { in resetPlayback()
DTunerSessionWorker.java192 private volatile Surface mSurface; field in TunerSessionWorker
355 mSurface = surface; in setSurface()
527 if (mSurface != null && mPlayerStarted) { in onDrawnToSurface()
1299 mPlayer.setSurface(mSurface); in handleMessageSetSurface()
1701 Surface surface = mSurface; in startPlayback()
1758 if (mChannelBlocked || mSurface == null || (mChannel == null && mRecordingId == null)) { in resetPlayback()