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

12

/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.h55 sp<Surface> mSurface; member in class:android::PreviewRenderer
H A DVideoEditorPreviewController.h86 sp<Surface> mSurface; member in class:android::VideoEditorPreviewController
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h136 sp<IBinder> mSurface; member in class:android::CameraClient
/frameworks/base/services/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 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 DSurface_test.cpp53 mSurface = mSurfaceControl->getSurface();
54 ASSERT_TRUE(mSurface != NULL);
61 sp<Surface> mSurface; member in class:android::SurfaceTest
67 sp<ANativeWindow> anw(mSurface);
78 sp<ANativeWindow> anw(mSurface);
88 sp<ANativeWindow> anw(mSurface);
129 sp<ANativeWindow> anw(mSurface);
/frameworks/base/core/java/android/view/
H A DGLES20TextureLayer.java31 private SurfaceTexture mSurface; field in class:GLES20TextureLayer
75 if (mSurface == null) {
76 mSurface = new SurfaceTexture(mTexture);
78 return mSurface;
82 if (mSurface != null) {
83 mSurface.release();
85 mSurface = surfaceTexture;
86 mSurface.attachToGLContext(mTexture);
92 GLES20Canvas.nUpdateTextureLayer(mLayer, width, height, isOpaque, mSurface);
H A DTextureView.java109 private SurfaceTexture mSurface; field in class:TextureView
232 mSurface.detachFromGLContext();
239 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface);
247 if (shouldRelease) mSurface.release();
248 mSurface = null;
324 if (mSurface != null) {
325 mSurface.setDefaultBufferSize(getWidth(), getHeight());
328 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
363 mSurface = mAttachInfo.mHardwareRenderer.createSurfaceTexture(mLayer);
365 mSurface
[all...]
/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 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.h95 EGLDisplay mSurface; member in class:android::BootAnimation
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java58 private Surface mSurface; field in class:SurfaceTargetFilter
99 if (mSurface == null) {
245 mSurfaceId = mGlEnv.registerSurface(mSurface);
247 throw new RuntimeException("Could not register Surface: " + mSurface);
/frameworks/base/services/java/com/android/server/display/
H A DVirtualDisplayAdapter.java105 private Surface mSurface; field in class:VirtualDisplayAdapter.VirtualDisplayDevice
119 mSurface = surface;
126 if (mSurface != null) {
133 if (mSurface != null) {
134 mSurface.release();
135 mSurface = null;
142 if (mSurface != null) {
143 setSurfaceInTransactionLocked(mSurface);
H A DOverlayDisplayAdapter.java197 private Surface mSurface; field in class:OverlayDisplayAdapter.OverlayDisplayDevice
216 if (mSurface != null) {
217 mSurface.release();
218 mSurface = null;
226 if (mSurface == null) {
227 mSurface = new Surface(mSurfaceTexture);
229 setSurfaceInTransactionLocked(mSurface);
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DDisplaySinkService.java47 private Surface mSurface; field in class:DisplaySinkService
135 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) {
139 mSurface = surface;
150 if (mSurface != null) {
154 mCodec.configure(format, mSurface, null, 0);
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java47 private SurfaceTexture mSurface; field in class:RsYuv
58 mAllocationOut.setSurfaceTexture(mSurface);
60 if (mSurface != null) {
128 mSurface = surface;
135 mSurface = surface;
142 mSurface = surface;
/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.java68 private Surface mSurface; field in class:CameraDeviceBinderTest
118 mSurface = mImageReader.getSurface();
134 /* ignored */30, mSurface);
136 request.addTarget(mSurface);
187 mSurface.release();
206 mSurface);
210 mCameraUser.createStream(/* ignored */0, /* ignored */0, /* ignored */0, mSurface));
228 mSurface);
232 mCameraUser.createStream(/* ignored */0, /* ignored */0, /* ignored */0, mSurface));
257 builder.addTarget(mSurface);
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java59 private Surface mSurface; field in class:Camera2Source
129 mSurface.release();
172 mSurface = mAllocationIn.getSurface();
183 surfaces.add(mSurface);
188 mCaptureRequest.addTarget(mSurface);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h177 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;
/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;

Completed in 1275 milliseconds

12