Searched defs:mSurface (Results 26 - 50 of 68) sorted by relevance

123

/frameworks/base/core/java/android/app/
H A DActivityView.java55 private Surface mSurface; field in class:ActivityView
235 mSurface = mSurfaceView.getHolder().getSurface();
255 mSurface.release();
256 mSurface = null;
273 width, height, getBaseDisplayDensity(), mSurface, 0 /* flags */);
303 if (mSurface != null) {
304 mSurface.release();
305 mSurface = null;
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java40 public Surface mSurface = new Surface(); field in class:BaseSurfaceHolder
192 c = mSurface.lockHardwareCanvas();
194 c = mSurface.lockCanvas(dirty);
226 mSurface.unlockCanvasAndPost(canvas);
231 return mSurface;
/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java73 private Surface mSurface; field in class:VirtualDisplayTest
88 mSurface = mImageReader.getSurface();
102 mSurface = null;
114 WIDTH, HEIGHT, DENSITY, mSurface, 0);
137 WIDTH, HEIGHT, DENSITY, mSurface,
165 WIDTH, HEIGHT, DENSITY, mSurface,
218 WIDTH, HEIGHT, DENSITY, mSurface,
/frameworks/base/services/core/java/com/android/server/vr/
H A DVr2dDisplay.java99 private Surface mSurface; field in class:Vr2dDisplay
365 if (mSurface != surface && (surface == null || surface.isValid())) {
366 Log.i(TAG, "Setting the new surface from " + mSurface + " to " + surface);
370 if (mSurface != null) {
371 mSurface.release();
373 mSurface = surface;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java63 private Surface mSurface; field in class:Camera2Source
135 mSurface.release();
178 mSurface = mAllocationIn.getSurface();
189 surfaces.add(mSurface);
196 mCaptureRequest.addTarget(mSurface);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java138 private final SurfaceTexture mSurface; field in class:GLTextureViewActivity.RenderThread
149 mSurface = surface;
383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomSurfaceView.java42 private Surface mSurface; field in class:CustomSurfaceView
106 if (mSurface != null) {
107 mCanvas = mSurface.lockCanvas(null);
115 if (mSurface == null) {
119 mSurface.unlockCanvasAndPost(mCanvas);
130 if (mSurface != null) {
131 Canvas canvas = mSurface.lockCanvas(null);
146 mSurface.unlockCanvasAndPost(canvas);
157 if (mSurface == null) {
164 if (mSurface
[all...]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
H A DImageFlipRenderThread.java92 private final SurfaceTexture mSurface; field in class:ImageFlipRenderThread
102 mSurface = surface;
336 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp97 mSurface = new Surface(mProducer, true);
98 ASSERT_TRUE(mSurface != nullptr);
140 sp<Surface> mSurface; member in class:android::dvr::__anon1821::BufferHubQueueProducerTest
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java98 mSurface.updateTexImage();
100 mSurface.getTransformMatrix(mSTMatrix);
216 mSurface = new SurfaceTexture(mTextureID);
217 mSurface.setOnFrameAvailableListener(this);
337 private SurfaceTexture mSurface; field in class:MyRenderer
346 return mSurface;
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h168 EGLDisplay mSurface; member in class:android::BootAnimation
/frameworks/base/libs/hwui/renderthread/
H A DVulkanManager.h51 sk_sp<SkSurface> mSurface; member in struct:android::uirenderer::renderthread::VulkanSurface::ImageInfo
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraDeviceBinderTest.java73 private Surface mSurface; field in class:CameraDeviceBinderTest
183 mSurface = mImageReader.getSurface();
184 mOutputConfiguration = new OutputConfiguration(mSurface);
201 request.addTarget(mSurface);
253 mSurface.release();
340 builder.addTarget(mSurface);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLImpl.java29 private EGLSurfaceImpl mSurface = new EGLSurfaceImpl(-1); field in class:EGLImpl
143 if (mSurface.mEGLSurface != value)
144 mSurface = new EGLSurfaceImpl(value);
145 return mSurface;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java318 private SurfaceTexture mSurface; field in class:BlockingGLTextureView.RenderThread
338 if (mSurface == null) {
349 mSurface = surface;
363 if (mSurface != null) {
365 mSurface.updateTexImage();
370 mSurface = null;
398 if (mEglHelper.createSurface(mSurface)) {
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayAdapter.java588 private Surface mSurface; field in class:WifiDisplayAdapter.WifiDisplayDevice
601 mSurface = surface;
611 if (mSurface != null) {
612 mSurface.release();
613 mSurface = null;
625 if (mSurface != null) {
626 setSurfaceInTransactionLocked(mSurface);
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java188 mSurface.updateTexImage();
190 mSurface.getTransformMatrix(mSTMatrix);
191 long timestamp = mSurface.getTimestamp();
311 mSurface = new SurfaceTexture(mTextureID);
312 mSurface.setOnFrameAvailableListener(this);
314 mCamera.setPreviewTexture(mSurface);
499 private SurfaceTexture mSurface; field in class:CamRenderer
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h226 EGLSurface mSurface; member in class:android::DisplayDevice
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
H A DVrView.java56 private Surface mSurface; field in class:VrView
385 if (mSurface != null) {
386 mSurface.release();
388 mSurface = new Surface(mSurfaceTexture);
394 state.createOutputAllocation(mSurface, img_width, img_height);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DLocalPlayer.java66 private Surface mSurface; field in class:LocalPlayer
300 mSurface = surface;
306 mSurface = null;
326 if (mSurface != null) {
329 ICSMediaPlayer.setSurface(mMediaPlayer, mSurface);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DLocalPlayer.java66 private Surface mSurface; field in class:LocalPlayer
300 mSurface = surface;
306 mSurface = null;
326 if (mSurface != null) {
329 ICSMediaPlayer.setSurface(mMediaPlayer, mSurface);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.h163 sp<Surface> mSurface; member in struct:android::NuPlayer
/frameworks/base/core/java/android/view/
H A DTextureView.java110 private SurfaceTexture mSurface; field in class:TextureView
245 if (mSurface != null) {
249 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface);
257 mSurface.release();
259 mSurface = null;
363 if (mSurface != null) {
364 mSurface.setDefaultBufferSize(getWidth(), getHeight());
367 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
379 boolean createNewSurface = (mSurface == null);
382 mSurface
[all...]
/frameworks/base/media/java/android/media/
H A DImageReader.java253 mSurface = nativeGetSurface();
350 return mSurface;
600 if (mSurface != null) mSurface.release();
773 private final Surface mSurface; field in class:ImageReader
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java323 private SurfaceTexture mSurface; field in class:VideoDumpView.VideoDumpRenderer
380 mSurface.updateTexImage();
381 mSurface.getTransformMatrix(mSTMatrix);
575 mSurface = new SurfaceTexture(mTextureID);
576 mSurface.setOnFrameAvailableListener(this);
578 Surface surface = new Surface(mSurface);

Completed in 2536 milliseconds

123