Searched defs:mSurface (Results 1 - 25 of 35) 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/
H A DCameraClient.h128 sp<IBinder> mSurface; member in class:android::CameraClient
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp46 mSurface = mSurfaceControl->getSurface();
47 ASSERT_TRUE(mSurface != NULL);
54 sp<Surface> mSurface; member in class:android::SurfaceTest
60 sp<ANativeWindow> anw(mSurface);
71 sp<ANativeWindow> anw(mSurface);
81 sp<ANativeWindow> anw(mSurface);
127 sp<ANativeWindow> anw(mSurface);
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DTunnelRenderer.h65 sp<Surface> mSurface; member in struct:android::TunnelRenderer
/frameworks/base/services/java/com/android/server/wm/
H A DStrictModeFlash.java32 Surface mSurface; field in class:StrictModeFlash
40 mSurface = new Surface(session, "StrictModeFlash",
46 mSurface.setLayerStack(display.getLayerStack());
47 mSurface.setLayer(WindowManagerService.TYPE_LAYER_MULTIPLIER * 101); // one more than Watermark? arbitrary.
48 mSurface.setPosition(0, 0);
49 mSurface.show();
64 c = mSurface.lockCanvas(dirty);
85 mSurface.unlockCanvasAndPost(c);
91 if (mSurface == null) {
96 mSurface
[all...]
H A DWatermark.java49 Surface mSurface; field in class:Watermark
116 mSurface = new Surface(session, "WatermarkSurface",
118 mSurface.setLayerStack(mDisplay.getLayerStack());
119 mSurface.setLayer(WindowManagerService.TYPE_LAYER_MULTIPLIER*100);
120 mSurface.setPosition(0, 0);
121 mSurface.show();
130 mSurface.setSize(dw, dh);
144 c = mSurface.lockCanvas(dirty);
173 mSurface.unlockCanvasAndPost(c);
H A DDragState.java48 Surface mSurface; field in class:DragState
71 mSurface = surface;
78 if (mSurface != null) {
79 mSurface.destroy();
81 mSurface = null;
298 mSurface.setPosition(x - mThumbOffsetX, y - mThumbOffsetY);
300 + mSurface + ": pos=(" +
/frameworks/base/core/java/android/view/
H A DGLES20TextureLayer.java31 private SurfaceTexture mSurface; field in class:GLES20TextureLayer
70 if (mSurface == null) {
71 mSurface = new SurfaceTexture(mTexture, false);
73 return mSurface;
77 if (mSurface != null) {
78 mSurface.release();
80 mSurface = surfaceTexture;
81 mSurface.attachToGLContext(mTexture);
87 GLES20Canvas.nUpdateTextureLayer(mLayer, width, height, isOpaque, mSurface);
H A DTextureView.java109 private SurfaceTexture mSurface; field in class:TextureView
226 mSurface.detachFromGLContext();
233 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface);
241 if (shouldRelease) mSurface.release();
242 mSurface = null;
316 if (mSurface != null) {
317 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
320 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
355 mSurface = mAttachInfo.mHardwareRenderer.createSurfaceTexture(mLayer);
357 nSetDefaultBufferSize(mSurface, getWidt
[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/native/include/gui/
H A DSurface.h99 sp<ISurface> mSurface; member in class:android::SurfaceControl
164 sp<ISurface> mSurface; member in class:android::Surface
/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/av/include/media/stagefright/
H A DCameraSource.h148 sp<Surface> 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/services/java/com/android/server/display/
H A DOverlayDisplayAdapter.java193 private Surface mSurface; field in class:OverlayDisplayAdapter.OverlayDisplayDevice
219 if (mSurface == null) {
220 mSurface = new Surface(mSurfaceTexture);
222 setSurfaceInTransactionLocked(mSurface);
225 if (mSurface != null) {
226 mSurface.destroy();
227 mSurface = null;
H A DWifiDisplayAdapter.java522 private Surface mSurface; field in class:WifiDisplayAdapter.WifiDisplayDevice
535 mSurface = surface;
539 mSurface = null;
550 setSurfaceInTransactionLocked(mSurface);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h168 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/services/java/com/android/server/power/
H A DElectronBeam.java82 private Surface mSurface; field in class:ElectronBeam
534 if (mSurface == null) {
542 mSurface = new Surface(mSurfaceSession,
551 mSurface.setLayerStack(mDisplayLayerStack);
552 mSurface.setSize(mDisplayWidth, mDisplayHeight);
556 mSurface.setPosition(0, 0);
557 mSurface.setMatrix(1, 0, 0, 1);
560 mSurface.setPosition(0, mDisplayWidth);
561 mSurface.setMatrix(0, -1, 1, 0);
564 mSurface
[all...]
/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/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/av/cmds/stagefright/
H A Dsf2.cpp50 mSurface(surface),
54 CHECK(!mDecodeAudio || mSurface == NULL);
112 if (mSurface != NULL) {
114 "native-window", new NativeWindowWrapper(mSurface));
241 sp<Surface> mSurface; member in struct:Controller

Completed in 3695 milliseconds

12