/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 38 private Surface mSurface; field in class:VirtualDisplay 45 mSurface = surface; 59 return mSurface; 75 if (mSurface != surface) { 77 mSurface = surface; 110 + ", surface=" + mSurface + "}";
|
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 110 private SurfaceTexture mSurface; field in class:TextureView 245 if (mSurface != null) { 249 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface); 257 mSurface.release(); 259 mSurface = null; 363 if (mSurface != null) { 364 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 367 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight()); 379 boolean createNewSurface = (mSurface == null); 382 mSurface [all...] |
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomSurfaceView.java | 42 private Surface mSurface; field in class:CustomSurfaceView 106 if (mSurface != null) { 107 mCanvas = mSurface.lockCanvas(null); 115 if (mSurface == null) { 119 mSurface.unlockCanvasAndPost(mCanvas); 130 if (mSurface != null) { 131 Canvas canvas = mSurface.lockCanvas(null); 146 mSurface.unlockCanvasAndPost(canvas); 157 if (mSurface == null) { 164 if (mSurface [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | OutputConfiguration.java | 200 mSurface = surface; 247 mSurface = null; 290 if (mSurface != null) { 302 mSurface = surface; 318 this.mSurface = other.mSurface; 341 mSurface = surface; 345 mConfiguredSize = SurfaceUtils.getSurfaceSize(mSurface); 346 mConfiguredFormat = SurfaceUtils.getSurfaceFormat(mSurface); 347 mConfiguredDataspace = SurfaceUtils.getSurfaceDataspace(mSurface); 488 private Surface mSurface; field in class:OutputConfiguration [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 | 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);
|
H A D | HardwareCanvasSurfaceViewActivity.java | 106 private final Surface mSurface; field in class:HardwareCanvasSurfaceViewActivity.RenderingThread 111 mSurface = surface; 130 final Canvas canvas = mSurface.lockHardwareCanvas(); 135 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 | 56 mSurface = mSurfaceControl->getSurface(); 57 ASSERT_TRUE(mSurface != NULL); 64 sp<Surface> mSurface; member in class:android::SurfaceTest 70 sp<ANativeWindow> anw(mSurface); 81 sp<ANativeWindow> anw(mSurface); 91 sp<ANativeWindow> anw(mSurface); 136 sp<ANativeWindow> anw(mSurface);
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 92 mSurface(EGL_NO_SURFACE), 139 mSurface = eglSurface; 174 if (mSurface != EGL_NO_SURFACE) { 175 eglDestroySurface(mDisplay, mSurface); 176 mSurface = EGL_NO_SURFACE; 210 return mSurface; 238 eglSetSwapRectangleANDROID(mDisplay, mSurface, 309 EGLBoolean success = eglSwapBuffers(mDisplay, mSurface); 315 mDisplay, mSurface, error); 318 mDisplay, mSurface, erro [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityView.java | 126 private Surface mSurface; field in class:ActivityView 185 if (mSurface != null && (visibility == View.GONE || mLastVisibility == View.GONE)) { 187 final Surface surface = (visibility == View.GONE) ? null : mSurface; 215 " mSurface=" + mSurface); 221 " mSurface=" + mSurface); 225 return mSurface != null; 232 if (mSurface == null) { 246 if (mSurface [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 | StrictModeFlash.java | 38 private final Surface mSurface = new Surface(); field in class:StrictModeFlash 53 mSurface.copyFrom(ctrl); 71 c = mSurface.lockCanvas(dirty); 92 mSurface.unlockCanvasAndPost(c);
|
H A D | CircularDisplayMask.java | 48 private final Surface mSurface = new Surface(); field in class:CircularDisplayMask 82 mSurface.copyFrom(ctrl); 103 c = mSurface.lockCanvas(dirty); 131 mSurface.unlockCanvasAndPost(c);
|
H A D | EmulatorDisplayOverlay.java | 45 private final Surface mSurface = new Surface(); field in class:EmulatorDisplayOverlay 72 mSurface.copyFrom(ctrl); 90 c = mSurface.lockCanvas(dirty); 103 mSurface.unlockCanvasAndPost(c);
|
/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/services/core/java/com/android/server/display/ |
H A D | VirtualDisplayAdapter.java | 180 private Surface mSurface; field in class:VirtualDisplayAdapter.VirtualDisplayDevice 201 mSurface = surface; 217 if (mSurface != null) { 218 mSurface.release(); 219 mSurface = null; 251 setSurfaceInTransactionLocked(mSurface); 257 if (!mStopped && mSurface != surface) { 258 if ((mSurface != null) != (surface != null)) { 262 mSurface = surface; 338 mInfo.state = 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/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/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);
|
/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/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/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;
|