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

/frameworks/base/graphics/java/android/renderscript/
H A DRenderScriptGL.java33 private Surface mSurface; field in class:RenderScriptGL
39 mSurface = null;
53 mSurface = sur;
57 nContextSetSurface(w, h, mSurface);
/frameworks/base/services/camera/libcameraservice/
H A DCameraService.cpp344 if (mSurface != 0 && !mUseOverlay) {
352 mSurface.get());
494 if (surface->asBinder() == mSurface->asBinder()) {
498 if (mSurface != 0) {
499 LOG1("clearing old preview surface %p", mSurface.get());
506 mSurface->unregisterBuffers();
509 mSurface = surface;
516 } else if (mSurface != 0) {
536 status_t result = mSurface->registerBuffers(buffers);
557 if (mSurface
[all...]
H A DCameraService.h177 sp<ISurface> mSurface; member in class:android::CameraService::Client
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java40 public Surface mSurface = new Surface(); field in class:BaseSurfaceHolder
176 c = mSurface.lockCanvas(frame);
207 mSurface.unlockCanvasAndPost(canvas);
212 return mSurface;
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLImpl.java30 private EGLSurfaceImpl mSurface = new EGLSurfaceImpl(-1); field in class:EGLImpl
129 if (mSurface.mEGLSurface != value)
130 mSurface = new EGLSurfaceImpl(value);
131 return mSurface;
/frameworks/base/libs/surfaceflinger_client/
H A DSurface.cpp110 : mClient(client), mSurface(surface),
131 mSurface.clear();
151 return lhs->mSurface->asBinder() == rhs->mSurface->asBinder();
247 sur = control->mSurface;
328 mSurface(surface->mSurface),
342 mSurface = interface_cast<ISurface>(ref);
361 sur = surface->mSurface;
390 if (surface->mSurface
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceView.java95 final Surface mSurface = new Surface(); field in class:SurfaceView
255 mWinFrame, mContentInsets, mVisibleInsets, mConfiguration, mSurface);
413 mSurface.setCompatibleDisplayMetrics(res.getDisplayMetrics(), mTranslator);
499 mVisibleInsets, mConfiguration, mSurface);
504 if (localLOGV) Log.i(TAG, "New surface: " + mSurface
561 mSurface.release();
762 c = mSurface.lockCanvas(frame);
793 mSurface.unlockCanvasAndPost(canvas);
798 return mSurface;
H A DViewRoot.java176 private final Surface mSurface = new Surface(); field in class:ViewRoot
462 mSurface.setCompatibleDisplayMetrics(resources.getDisplayMetrics(),
756 attachInfo.mSurface = mSurface;
935 boolean hadSurface = mSurface.isValid();
957 + " surface=" + mSurface);
983 if (mSurface.isValid()) {
1000 } else if (!mSurface.isValid()) {
1013 TAG, "Relayout returned: frame=" + frame + ", surface=" + mSurface);
1026 if (mSurface
[all...]
H A DView.java9295 Surface mSurface; field in class:View.AttachInfo
/frameworks/base/libs/rs/
H A DrsContext.cpp171 eglQuerySurface(mEGL.mDisplay, mEGL.mSurface, EGL_WIDTH, &mEGL.mWidth);
172 eglQuerySurface(mEGL.mDisplay, mEGL.mSurface, EGL_HEIGHT, &mEGL.mHeight);
338 eglSwapBuffers(rsc->mEGL.mDisplay, rsc->mEGL.mSurface);
493 if (mEGL.mSurface != NULL) {
497 ret = eglDestroySurface(mEGL.mDisplay, mEGL.mSurface);
500 mEGL.mSurface = NULL;
517 mEGL.mSurface = eglCreateWindowSurface(mEGL.mDisplay, mEGL.mConfig, mWndSurface, NULL);
519 if (mEGL.mSurface == EGL_NO_SURFACE) {
523 ret = eglMakeCurrent(mEGL.mDisplay, mEGL.mSurface, mEGL.mSurface, mEG
[all...]
H A DrsContext.h97 bool checkDriver() const {return mEGL.mSurface != 0;}
180 EGLSurface mSurface; member in struct:android::renderscript::Context::__anon250
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h93 EGLDisplay mSurface; member in class:android::BootAnimation
H A DBootAnimation.cpp241 mSurface = surface;
270 eglDestroySurface(mDisplay, mSurface);
288 eglSwapBuffers(mDisplay, mSurface);
328 EGLBoolean res = eglSwapBuffers(mDisplay, mSurface);
426 eglSwapBuffers(mDisplay, mSurface);
480 eglSwapBuffers(mDisplay, mSurface);
/frameworks/base/include/media/
H A DPVPlayer.h78 sp<ISurface> mSurface; member in class:android::PVPlayer
/frameworks/base/services/surfaceflinger/DisplayHardware/
H A DDisplayHardware.cpp216 mSurface = surface;
318 EGLSurface surface = mSurface;
355 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext);
H A DDisplayHardware.h99 EGLSurface mSurface; member in class:android::DisplayHardware
/frameworks/base/include/surfaceflinger/
H A DSurface.h103 const sp<ISurface>& getISurface() const { return mSurface; }
120 sp<ISurface> mSurface; member in class:android::SurfaceControl
276 sp<ISurface> mSurface; member in class:android::Surface
/frameworks/base/services/java/com/android/server/
H A DWindowManagerService.java2014 + ", surface=" + win.mSurface);
2021 TAG, "Remove " + win + ": mSurface=" + win.mSurface
2035 if (win.mSurface != null && !mDisplayFrozen && mPolicy.isScreenOn()) {
2176 if ((w != null) && (w.mSurface != null)) {
2182 w.mSurface.setTransparentRegionHint(region);
2359 if (win.mSurface != null && !win.mDrawPending
2433 if (win.mSurface != null) {
2469 if (win.mSurface == null || (win.getAttrs().flags
2479 } else if (win.mSurface !
5839 Surface mSurface; field in class:WindowManagerService.WindowState
10061 Surface mSurface; field in class:WindowManagerService.Watermark
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java71 private Surface mSurface; field in class:MediaRecorder
116 mSurface = sv;
H A DMediaPlayer.java504 private Surface mSurface; // accessed by native methods field in class:MediaPlayer
536 * Update the MediaPlayer ISurface. Call after updating mSurface.
589 mSurface = sh.getSurface();
591 mSurface = null;
/frameworks/base/services/surfaceflinger/
H A DLayerBuffer.cpp63 mSurface = new SurfaceLayerBuffer(mFlinger, this);
82 return mSurface;
87 mSurface.clear();
H A DLayer.h214 sp<Surface> mSurface; member in class:android::Layer
H A DLayerBuffer.h214 sp<Surface> mSurface; member in class:android::LayerBuffer
H A DLayer.cpp128 return mSurface;
170 mSurface = new SurfaceLayer(mFlinger, this);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java531 mVisibleInsets, mConfiguration, mSurfaceHolder.mSurface);
533 if (DEBUG) Log.v(TAG, "New surface: " + mSurfaceHolder.mSurface
549 if (!mSurfaceHolder.mSurface.isValid()) {
794 mSurfaceHolder.mSurface.release();

Completed in 4144 milliseconds