/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/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 48 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/native/cmds/flatland/ |
H A D | Main.cpp | 290 mSurface(EGL_NO_SURFACE) { 300 &mGLConsumer, &mSurface, &mTexName); 333 if (mSurface != EGL_NO_SURFACE) { 334 mGLHelper->destroySurface(&mSurface); 342 return mRenderer->render(mSurface); 370 EGLSurface mSurface; member in class:Layer 385 mSurface(EGL_NO_SURFACE), 407 result = mGLHelper->createSurfaceTexture(w, h, &mGLConsumer, &mSurface, 455 mGLHelper->destroySurface(&mSurface); 475 result = doFrame(mSurface); 577 EGLSurface mSurface; member in class:BenchmarkRunner [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | MultiTextureConsumer_test.cpp | 42 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 D | Surface_test.cpp | 54 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/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/services/surfaceflinger/ |
H A D | DisplayDevice.h | 188 EGLSurface mSurface; member in class:android::DisplayDevice
|
/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) {
|
H A D | GLTextureViewActivity.java | 138 private final SurfaceTexture mSurface; field in class:GLTextureViewActivity.RenderThread 149 mSurface = surface; 383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null);
|
H A D | HardwareCanvasSurfaceViewActivity.java | 69 private final Surface mSurface; field in class:HardwareCanvasSurfaceViewActivity.RenderingThread 74 mSurface = surface; 93 final Canvas canvas = mSurface.lockHardwareCanvas(); 98 mSurface.unlockCanvasAndPost(canvas);
|
H A D | HardwareCanvasTextureViewActivity.java | 74 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);
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | FlashlightController.java | 67 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/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 318 private SurfaceTexture mSurface; field in class:BlockingGLTextureView.RenderThread 338 if (mSurface == null) { 349 mSurface = surface; 363 if (mSurface != null) { 365 mSurface.updateTexImage(); 370 mSurface = null; 398 if (mEglHelper.createSurface(mSurface)) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 3909 Surface mSurface; field in class:ActivityStackSupervisor.VirtualActivityContainer 3948 if (mSurface != null) { 3949 mSurface.release(); 3952 mSurface = surface; 3971 return mSurface != null && super.isAttachedLocked(); 3997 " mContainerState=" + mContainerState + " mSurface=" + mSurface); 3998 if (mDrawn && mSurface != null && mContainerState == CONTAINER_STATE_NO_SURFACE) { 3999 ((VirtualActivityDisplay) mActivityDisplay).setSurface(mSurface);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 88 private Surface mSurface; field in class:ColorFade 576 mSurface = new Surface(); 577 mSurface.copyFrom(mSurfaceControl); 594 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, 620 mSurface.release();
|
H A D | OverlayDisplayAdapter.java | 203 private Surface mSurface; field in class:OverlayDisplayAdapter.OverlayDisplayDevice 224 if (mSurface != null) { 225 mSurface.release(); 226 mSurface = null; 234 if (mSurface == null) { 235 mSurface = new Surface(mSurfaceTexture); 237 setSurfaceInTransactionLocked(mSurface);
|
H A D | VirtualDisplayAdapter.java | 178 private Surface mSurface; field in class:VirtualDisplayAdapter.VirtualDisplayDevice 197 mSurface = surface; 208 if (mSurface != null) { 215 if (mSurface != null) { 216 mSurface.release(); 217 mSurface = null; 242 setSurfaceInTransactionLocked(mSurface); 248 if (!mStopped && mSurface != surface) { 249 if ((mSurface != null) != (surface != null)) { 253 mSurface [all...] |
H A D | WifiDisplayAdapter.java | 587 private Surface mSurface; field in class:WifiDisplayAdapter.WifiDisplayDevice 600 mSurface = surface; 604 if (mSurface != null) { 605 mSurface.release(); 606 mSurface = null; 618 if (mSurface != null) { 619 setSurfaceInTransactionLocked(mSurface);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AccessibilityController.java | 625 private final Surface mSurface = new Surface(); field in class:AccessibilityController.DisplayMagnifier.MagnifiedViewport.ViewportWindow 651 mSurface.copyFrom(mSurfaceControl); 747 canvas = mSurface.lockCanvas(mDirtyRect); 767 mSurface.unlockCanvasAndPost(canvas); 779 mSurface.release();
|
H A D | CircularDisplayMask.java | 45 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 D | EmulatorDisplayOverlay.java | 42 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 D | FocusedStackFrame.java | 42 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 D | StrictModeFlash.java | 35 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 D | Watermark.java | 49 private final Surface mSurface = new Surface(); field in class:Watermark 121 mSurface.copyFrom(ctrl); 145 c = mSurface.lockCanvas(dirty); 174 mSurface.unlockCanvasAndPost(c);
|