/frameworks/base/core/java/android/view/ |
H A D | GLES20TextureLayer.java | 31 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 D | TextureView.java | 109 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...] |
H A D | SurfaceView.java | 96 final Surface mSurface = new Surface(); // Current surface in use field in class:SurfaceView 428 mSurface.setCompatibilityTranslator(mTranslator); 504 if (DEBUG) Log.i(TAG, "Cur surface: " + mSurface); 549 if (mSurface.isValid()) { 558 mSurface.transferFrom(mNewSurface); 560 if (visible && mSurface.isValid()) { 781 c = mSurface.lockCanvas(dirty); 812 mSurface.unlockCanvasAndPost(canvas); 817 return mSurface;
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 32 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 D | Watermark.java | 49 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 D | ScreenRotationAnimation.java | 46 Surface mSurface; field in class:ScreenRotationAnimation 130 pw.print(prefix); pw.print("mSurface="); pw.print(mSurface); 222 mSurface = new SurfaceTrace(session, "FreezeSurface", 226 mSurface = new Surface(session, "FreezeSurface", 230 if (!mSurface.isValid()) { 232 mSurface = null; 235 mSurface.setLayerStack(mDisplay.getLayerStack()); 236 mSurface.setLayer(FREEZE_LAYER + 1); 237 mSurface [all...] |
H A D | WindowStateAnimator.java | 87 Surface mSurface; field in class:WindowStateAnimator 403 if (mSurface != null) { 424 if (mSurface != null) { 427 mSurface.hide(); 444 + mSurface); 466 Slog.i(TAG, "commitFinishDrawingLocked: mDrawState=READY_TO_SHOW " + mSurface); 624 if (mSurface == null) { 677 mSurface = new SurfaceTrace( 682 mSurface = new Surface( 690 + mSurface [all...] |
H A D | DragState.java | 48 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/av/libvideoeditor/lvpp/ |
H A D | PreviewRenderer.cpp | 45 : mSurface(surface), 52 ANativeWindow* anw = mSurface.get(); 80 native_window_api_disconnect(mSurface.get(), NATIVE_WINDOW_API_CPU); 100 if ((err = native_window_dequeue_buffer_and_wait(mSurface.get(), 133 if ((err = mSurface->ANativeWindow::queueBuffer(mSurface.get(), mBuf, -1)) != 0) {
|
H A D | PreviewRenderer.h | 55 sp<Surface> mSurface; member in class:android::PreviewRenderer
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | CanvasTextureViewActivity.java | 72 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) {
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 53 : mClient(client), mSurface(surface), 72 mSurface.clear(); 92 return lhs->mSurface->asBinder() == rhs->mSurface->asBinder(); 178 sur = control->mSurface; 205 mSurface(surface->mSurface), 209 if (mSurface != NULL) { 210 st = mSurface->getSurfaceTexture(); 218 mSurface [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 46 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/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 83 mSurface(EGL_NO_SURFACE), 98 if (mSurface != EGL_NO_SURFACE) { 99 eglDestroySurface(mDisplay, mSurface); 100 mSurface = EGL_NO_SURFACE; 121 return mSurface; 143 mSurface = surface; 196 EGLSurface surface = mSurface; 214 success = eglSwapBuffers(mDisplay, mSurface); 221 success = eglSwapBuffers(mDisplay, mSurface); 226 success = eglSwapBuffers(mDisplay, mSurface); [all...] |
/frameworks/base/services/java/com/android/server/power/ |
H A D | ElectronBeam.java | 82 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/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 40 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 D | OverlayDisplayAdapter.java | 193 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;
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 98 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/av/media/libstagefright/wifi-display/sink/ |
H A D | TunnelRenderer.h | 65 sp<Surface> mSurface; member in struct:android::TunnelRenderer
|
H A D | TunnelRenderer.cpp | 357 mSurface = mSurfaceControl->getSurface(); 358 CHECK(mSurface != NULL); 375 mSurfaceTex != NULL ? mSurfaceTex : mSurface->getSurfaceTexture()); 387 mSurface.clear();
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
H A D | SurfaceTargetFilter.java | 58 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/opengl/java/com/google/android/gles_jni/ |
H A D | EGLImpl.java | 29 private EGLSurfaceImpl mSurface = new EGLSurfaceImpl(-1); field in class:EGLImpl 143 if (mSurface.mEGLSurface != value) 144 mSurface = new EGLSurfaceImpl(value); 145 return mSurface;
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
H A D | GL2CameraEye.java | 188 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/include/gui/ |
H A D | Surface.h | 99 sp<ISurface> mSurface; member in class:android::SurfaceControl 164 sp<ISurface> mSurface; member in class:android::Surface
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 95 EGLDisplay mSurface; member in class:android::BootAnimation
|