Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSurfaceTransaction.java50 private final SurfaceControl mSurface; field in SurfaceTransaction.SurfaceProperties
53 mSurface = surface; in SurfaceProperties()
61 mTransaction.setAlpha(mSurface, alpha); in setAlpha()
70 mTransaction.setMatrix(mSurface, matrix, mTmpValues); in setMatrix()
79 mTransaction.setWindowCrop(mSurface, windowCrop); in setWindowCrop()
88 mTransaction.setLayer(mSurface, relativeLayer); in setLayer()
97 mTransaction.setCornerRadius(mSurface, radius); in setCornerRadius()
106 mTransaction.setShadowRadius(mSurface, radius); in setShadowRadius()
115 mTransaction.show(mSurface); in setShow()
DBaseDepthController.java81 protected SurfaceControl mSurface; field in BaseDepthController
148 if (mSurface == null) { in applyDepthAndBlur()
152 if (!mSurface.isValid()) { in applyDepthAndBlur()
172 .setBackgroundBlurRadius(mSurface, mCurrentBlur) in applyDepthAndBlur()
173 .setOpaque(mSurface, isSurfaceOpaque); in applyDepthAndBlur()
209 if (mSurface != surface || mWaitingOnSurfaceValidity) {
210 mSurface = surface;
212 + "\n\tmSurface: " + mSurface);
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/
DVirtualDisplayView.java74 if (mSurface != null) {
75 Log.d(TAG, "Releasing old surface (" + mSurface + ")");
76 mSurface.release();
79 mSurface = holder.getSurface();
87 mSurface = null;
100 private Surface mSurface; field in VirtualDisplayView
178 if (mSurface == null) { in createVirtualDisplay()
224 getWidth(), getHeight(), (int) metrics.xdpi, mSurface, flags); in createVirtualDisplay()
270 if (mSurface != null) { in release()
272 mSurface.release(); in release()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DMediaAnimationController.java36 private Surface mSurface; field in MediaAnimationController
101 mSurface = null; in attachView()
151 if (mMediaPlayer != null && mSurface == null) { in setSurface()
152 mSurface = new Surface(surfaceTexture); in setSurface()
153 mMediaPlayer.setSurface(mSurface); in setSurface()
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DGlWrapper.cpp263 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize()
264 if (mSurface == EGL_NO_SURFACE) { in initialize()
280 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize()
319 eglDestroySurface(mDisplay, mSurface); in shutdown()
322 mSurface = EGL_NO_SURFACE; in shutdown()
439 if (eglSwapBuffers(mDisplay, mSurface) == EGL_FALSE) { in renderImageToScreen()
/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/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/modules/Virtualization/libs/android_display_backend/
Dcrosvm_android_display_client.cpp44 mSurface = std::make_unique<Surface>(surface->release()); in setSurface()
57 mSurface = nullptr; in removeSurface()
70 mSurfaceReady.wait(lk, [this] { return mSurface != nullptr; }); in getSurface()
71 return mSurface.get(); in getSurface()
83 std::unique_ptr<Surface> mSurface; member in __anon1991e2cc0111::DisplayService
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DGlWrapper.cpp245 mSurface = eglCreateWindowSurface(mDisplay, egl_config, mWindow, nullptr); in initialize()
246 if (mSurface == EGL_NO_SURFACE) { in initialize()
262 if (!eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)) { in initialize()
299 eglDestroySurface(mDisplay, mSurface); in shutdown()
302 mSurface = EGL_NO_SURFACE; in shutdown()
428 eglSwapBuffers(mDisplay, mSurface); in renderImageToScreen()
/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/Car/SystemUI/src/com/android/systemui/car/wm/activity/blurredbackground/
DBlurredSurfaceRenderer.java58 private Surface mSurface; field in BlurredSurfaceRenderer
96 mSurface = new Surface(mSurfaceTexture); in onSurfaceCreated()
161 mSurface.attachAndQueueBufferWithColorSpace( in captureScreenshot()
168 mSurface.release(); in captureScreenshot()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoStreamGraphRtpTx.cpp29 mSurface = nullptr; in VideoStreamGraphRtpTx()
139 mSurface = nullptr; in update()
162 if (pConfig->getVideoMode() != VideoConfig::VIDEO_MODE_PAUSE_IMAGE && mSurface == nullptr) in update()
215 if (pConfig->getVideoMode() != VideoConfig::VIDEO_MODE_PAUSE_IMAGE && mSurface == nullptr) in start()
260 mSurface = surface; in setSurface()
DVideoStreamGraphRtpRx.cpp29 mSurface = nullptr; in VideoStreamGraphRtpRx()
189 if (mSurface == nullptr) in start()
247 mSurface = surface; in setSurface()
/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/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/TV/interactive/SampleTvInteractiveAppService/src/com/android/tv/samples/sampletvinteractiveappservice/
DTiasSessionImpl.java86 private Surface mSurface; field in TiasSessionImpl
193 if (mSurface != null) { in onRelease()
194 mSurface.release(); in onRelease()
195 mSurface = null; in onRelease()
208 if (mSurface != null) { in onSetSurface()
209 mSurface.release(); in onSetSurface()
212 mSurface = surface; in onSetSurface()
222 if (mSurface != null) { in onSurfaceChanged()
223 updateSurface(mSurface, width, height); in onSurfaceChanged()
/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/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/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/
DVideoStreamGraphRtpRx.h37 ANativeWindow* mSurface;
DVideoStreamGraphRtpTx.h39 ANativeWindow* mSurface; variable
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java497 private SurfaceTexture mSurface; field in CameraAppUI
680 if (mSurface == null || mTextureView == null) { in setDefaultBufferSizeToViewDimens()
684 mSurface.setDefaultBufferSize(mTextureView.getWidth(), mTextureView.getHeight()); in setDefaultBufferSizeToViewDimens()
1686 return mSurface; in getSurfaceTexture()
1705 mSurface = surface; in onSurfaceTextureAvailable()
1717 mSurface = surface; in onSurfaceTextureSizeChanged()
1727 mSurface = null; in onSurfaceTextureDestroyed()
1737 mSurface = surface; in onSurfaceTextureUpdated()
/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputService.java91 private Surface mSurface; field in SampleTunerTvInputService.TvInputSessionImpl
151 this.mSurface = surface; in onSetSurface()
273 mMediaCodec.configure(VIDEO_FORMAT, mSurface, null, 0);

12