/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 39 private Surface mSurface; field in class:VirtualDisplay 46 mSurface = surface; 60 return mSurface; 76 if (mSurface != surface) { 78 mSurface = surface; 111 + ", surface=" + mSurface + "}";
|
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 108 private SurfaceTexture mSurface; field in class:TextureView 237 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface); 245 if (shouldRelease) mSurface.release(); 246 mSurface = null; 327 if (mSurface != null) { 328 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 331 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight()); 361 mSurface = new SurfaceTexture(false); 362 mLayer.setSurfaceTexture(mSurface); 364 mSurface [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityView.java | 54 private Surface mSurface; field in class:ActivityView 115 if (mSurface != null) { 121 mActivityContainer.setSurface(mSurface, mWidth, mHeight, mMetrics.densityDpi); 153 " mSurface=" + mSurface); 159 " mSurface=" + mSurface); 163 return mSurface != null; 172 if (mSurface != null) { 188 if (mSurface ! [all...] |
/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 | 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/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/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 68 mSurface(EGL_NO_SURFACE), 108 mSurface = surface; 137 if (mSurface != EGL_NO_SURFACE) { 138 eglDestroySurface(mDisplay, mSurface); 139 mSurface = EGL_NO_SURFACE; 169 return mSurface; 192 EGLSurface surface = mSurface; 241 EGLBoolean success = eglSwapBuffers(mDisplay, mSurface); 247 mDisplay, mSurface, error); 250 mDisplay, mSurface, erro [all...] |
/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/base/services/core/java/com/android/server/wm/ |
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 | 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 | 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 | 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);
|
/frameworks/base/services/core/java/com/android/server/display/ |
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 | 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);
|
/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/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/media/mca/filterpacks/java/android/filterpacks/ui/ |
H A D | SurfaceTargetFilter.java | 50 private Surface mSurface; field in class:SurfaceTargetFilter 91 if (mSurface == null) { 237 mSurfaceId = mGlEnv.registerSurface(mSurface); 239 throw new RuntimeException("Could not register Surface: " + mSurface);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
H A D | CameraDeviceBinderTest.java | 69 private Surface mSurface; field in class:CameraDeviceBinderTest 149 mSurface = mImageReader.getSurface(); 165 /* ignored */30, mSurface); 167 request.addTarget(mSurface); 220 mSurface.release(); 239 mSurface); 243 mCameraUser.createStream(/* ignored */0, /* ignored */0, /* ignored */0, mSurface)); 261 mSurface); 265 mCameraUser.createStream(/* ignored */0, /* ignored */0, /* ignored */0, mSurface)); 290 builder.addTarget(mSurface); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | RenderTarget.java | 67 private EGLSurface mSurface; field in class:RenderTarget 195 if (currentSurface != null && !currentSurface.equals(mSurface)) { 198 mDisplaySurfaces.put(mContext, mSurface); 253 if (removeReferenceTo(mSurface)) { 254 mEgl.eglDestroySurface(mDisplay, mSurface); 255 mSurface = EGL10.EGL_NO_SURFACE; 291 return "RenderTarget(" + mDisplay + ", " + mContext + ", " + mSurface + ", " + mFbo + ")"; 353 mSurface = surface; 361 return mSurface; 364 return displaySurface != null ? displaySurface : mSurface; [all...] |
/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/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 87 sp<Surface> mSurface; member in class:android::BufferProducerThread 118 sp<ANativeWindow> anw(mSurface); 141 if (surface == mSurface) { 158 mSurface = surface; 190 if (mSurface == NULL) { 199 sp<ANativeWindow> anw(mSurface); 255 sp<Surface> mSurface; member in class:android::JTvInputHal::Connection 341 if (connection.mSurface == surface) { 346 if (connection.mSurface != NULL) { 348 if (Surface::isValid(connection.mSurface)) { [all...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | DisplaySinkService.java | 48 private Surface mSurface; field in class:DisplaySinkService 136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) { 140 mSurface = surface; 151 if (mSurface != null) { 160 mCodec.configure(format, mSurface, null, 0);
|