Searched defs:mSurface (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h138 sp<IBinder> mSurface; member in class:android::CameraClient
/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java35 private final Surface mSurface = new Surface(); field in class:StrictModeFlash
50 mSurface.copyFrom(ctrl);
68 c = mSurface.lockCanvas(dirty);
89 mSurface.unlockCanvasAndPost(c);
H A DCircularDisplayMask.java45 private final Surface mSurface = new Surface(); field in class:CircularDisplayMask
78 mSurface.copyFrom(ctrl);
98 c = mSurface.lockCanvas(dirty);
126 mSurface.unlockCanvasAndPost(c);
H A DEmulatorDisplayOverlay.java42 private final Surface mSurface = new Surface(); field in class:EmulatorDisplayOverlay
69 mSurface.copyFrom(ctrl);
87 c = mSurface.lockCanvas(dirty);
98 mSurface.unlockCanvasAndPost(c);
H A DFocusedStackFrame.java42 private final Surface mSurface = new Surface(); field in class:FocusedStackFrame
59 mSurface.copyFrom(ctrl);
71 c = mSurface.lockCanvas(mTmpDrawRect);
99 mSurface.unlockCanvasAndPost(c);
H A DWatermark.java49 private final Surface mSurface = new Surface(); field in class:Watermark
121 mSurface.copyFrom(ctrl);
145 c = mSurface.lockCanvas(dirty);
174 mSurface.unlockCanvasAndPost(c);
/frameworks/native/libs/gui/tests/
H A DMultiTextureConsumer_test.cpp42 mSurface = new Surface(producer);
43 mANW = mSurface.get();
64 sp<Surface> mSurface; member in class:android::MultiTextureConsumerTest
108 mSurface->lock(&buffer, NULL);
110 mSurface->unlockAndPost();
H A DSurface_test.cpp54 mSurface = mSurfaceControl->getSurface();
55 ASSERT_TRUE(mSurface != NULL);
62 sp<Surface> mSurface; member in class:android::SurfaceTest
68 sp<ANativeWindow> anw(mSurface);
79 sp<ANativeWindow> anw(mSurface);
89 sp<ANativeWindow> anw(mSurface);
132 sp<ANativeWindow> anw(mSurface);
/frameworks/base/core/java/android/hardware/display/
H A DVirtualDisplay.java39 private Surface mSurface; field in class:VirtualDisplay
46 mSurface = surface;
60 return mSurface;
76 if (mSurface != surface) {
78 mSurface = surface;
111 + ", surface=" + mSurface + "}";
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DCanvasTextureViewActivity.java72 private final TextureView mSurface; field in class:CanvasTextureViewActivity.RenderingThread
76 mSurface = surface;
90 final Canvas canvas = mSurface.lockCanvas(null);
95 mSurface.unlockCanvasAndPost(canvas);
98 if (x + 20.0f + speedX >= mSurface.getWidth() || x + speedX <= 0.0f) {
101 if (y + 20.0f + speedY >= mSurface.getHeight() || y + speedY <= 0.0f) {
H A DHardwareCanvasSurfaceViewActivity.java69 private final Surface mSurface; field in class:HardwareCanvasSurfaceViewActivity.RenderingThread
74 mSurface = surface;
93 final Canvas canvas = mSurface.lockHardwareCanvas();
98 mSurface.unlockCanvasAndPost(canvas);
H A DHardwareCanvasTextureViewActivity.java74 private final Surface mSurface; field in class:HardwareCanvasTextureViewActivity.RenderingThread
79 mSurface = new Surface(mView.getSurfaceTexture());
93 final Canvas canvas = mSurface.lockHardwareCanvas();
98 mSurface.unlockCanvasAndPost(canvas);
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/cmds/bootanimation/
H A DBootAnimation.h100 EGLDisplay mSurface; member in class:android::BootAnimation
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java50 private Surface mSurface; field in class:SurfaceTargetFilter
91 if (mSurface == null) {
237 mSurfaceId = mGlEnv.registerSurface(mSurface);
239 throw new RuntimeException("Could not register Surface: " + mSurface);
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DDisplaySinkService.java48 private Surface mSurface; field in class:DisplaySinkService
136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) {
140 mSurface = surface;
151 if (mSurface != null) {
160 mCodec.configure(format, mSurface, null, 0);
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java48 private Surface mSurface; field in class:RsYuv
59 mAllocationOut.setSurface(mSurface);
61 if (mSurface != null) {
129 mSurface = new Surface(surface);
136 mSurface = new Surface(surface);
143 mSurface = null;
/frameworks/av/include/media/stagefright/
H A DCameraSource.h157 sp<IGraphicBufferProducer> mSurface; member in class:android::CameraSource
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java40 public Surface mSurface = new Surface(); field in class:BaseSurfaceHolder
184 c = mSurface.lockCanvas(dirty);
215 mSurface.unlockCanvasAndPost(canvas);
220 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraDeviceBinderTest.java69 private Surface mSurface; field in class:CameraDeviceBinderTest
149 mSurface = mImageReader.getSurface();
165 /* ignored */30, mSurface);
167 request.addTarget(mSurface);
220 mSurface.release();
239 mSurface);
243 mCameraUser.createStream(/* ignored */0, /* ignored */0, /* ignored */0, mSurface));
261 mSurface);
265 mCameraUser.createStream(/* ignored */0, /* ignored */0, /* ignored */0, mSurface));
290 builder.addTarget(mSurface);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFlashlightController.java67 private Surface mSurface; field in class:FlashlightController
138 mSurface = new Surface(mSurfaceTexture);
140 outputs.add(mSurface);
199 builder.addTarget(mSurface);
221 if (mSurface != null) {
222 mSurface.release();
225 mSurface = null;
/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/native/services/surfaceflinger/
H A DDisplayDevice.h188 EGLSurface mSurface; member in class:android::DisplayDevice
/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;

Completed in 507 milliseconds

12