/frameworks/base/core/java/android/hardware/display/ |
VirtualDisplay.java | 38 private Surface mSurface; 45 mSurface = surface; 59 return mSurface; 75 if (mSurface != surface) { 77 mSurface = surface; 110 + ", surface=" + mSurface + "}";
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
SurfaceTextureContainer.java | 30 private final Surface mSurface; 34 mSurface = new Surface(mSurfaceTexture); 42 return mSurface;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
SimpleCaptureStream.java | 29 private final Surface mSurface; 32 mSurface = surface; 40 return mSurface;
|
/frameworks/base/core/java/android/view/ |
TextureView.java | 110 private SurfaceTexture mSurface; 244 if (mSurface != null) { 248 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface); 256 mSurface.release(); 258 mSurface = null; 362 if (mSurface != null) { 363 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 366 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight()); 378 boolean createNewSurface = (mSurface == null); 381 mSurface = new SurfaceTexture(false) [all...] |
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
CustomSurfaceView.java | 42 private Surface mSurface; 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 == null [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
CompositionTextureView.java | 36 private Surface mSurface; 112 if (mSurface == null && surfaceTexture != null) { 115 return (mSurface != null); 119 if (mSurface != null) { 120 mSurface.release(); 122 mSurface = new Surface(surfaceTexture); 126 return mSurface;
|
InputSurface.java | 46 private Surface mSurface; 57 mSurface = surface; 126 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface, 151 mSurface.release(); 157 mSurface = null; 187 return mSurface;
|
OutputSurface.java | 53 private Surface mSurface; 116 mSurface = new Surface(mSurfaceTexture); 187 mSurface.release(); 198 mSurface = null; 215 return mSurface;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
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); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
CanvasTextureViewActivity.java | 72 private final TextureView mSurface; 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) {
|
HardwareCanvasTextureViewActivity.java | 74 private final Surface mSurface; 79 mSurface = new Surface(mView.getSurfaceTexture()); 93 final Canvas canvas = mSurface.lockHardwareCanvas(); 98 mSurface.unlockCanvasAndPost(canvas);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
ImageStreamImpl.java | 38 private final Surface mSurface; 45 mSurface = surface; 58 return mSurface;
|
/frameworks/native/libs/gui/tests/ |
MultiTextureConsumer_test.cpp | 42 mSurface = new Surface(producer); 43 mANW = mSurface.get(); 64 sp<Surface> mSurface; 108 mSurface->lock(&buffer, NULL); 110 mSurface->unlockAndPost();
|
/frameworks/native/services/surfaceflinger/ |
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, error) [all...] |
/frameworks/base/core/java/android/app/ |
ActivityView.java | 126 private Surface mSurface; 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 == null) [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
StubTunerTvInputService.java | 85 private Surface mSurface; 100 if (mCurrentIndex >= 0 && mSurface != null) { 102 Canvas c = mSurface.lockCanvas(null); 104 mSurface.unlockCanvasAndPost(c); 106 mSurface = null; 114 mSurface = surface;
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
RsYuv.java | 48 private Surface mSurface; 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/ |
StrictModeFlash.java | 38 private final Surface mSurface = new Surface(); 53 mSurface.copyFrom(ctrl); 71 c = mSurface.lockCanvas(dirty); 92 mSurface.unlockCanvasAndPost(c);
|
/hardware/intel/common/utils/ISV/include/ |
isv_bufmanager.h | 87 mSurface(-1), 104 mSurface(-1), 115 int32_t getSurface() { return mSurface; } 135 int32_t mSurface;
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
SurfaceTextureRenderer.java | 87 private SurfaceTexture mSurface = null; 106 mSurface.updateTexImage(); 108 mSurface.getTransformMatrix(mSTMatrix); 220 if (mSurface != null) { 221 mSurface.release(); 223 mSurface = new SurfaceTexture(mTextureID); 224 mSurface.setOnFrameAvailableListener(this); 299 return mSurface;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
ProjectionActivity.java | 49 protected volatile Surface mSurface; 67 mService.startRendering(mSurface, mWidth, mHeight, metrics.densityDpi, mType.ordinal()); 122 mSurface = new Surface(surface); 141 mSurface.release(); 142 mSurface = null;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
CtsMediaOutputSurface.java | 57 private Surface mSurface; 120 mSurface = new Surface(mSurfaceTexture); 191 mSurface.release(); 202 mSurface = null; 219 return mSurface;
|
/frameworks/native/cmds/flatland/ |
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; 385 mSurface(EGL_NO_SURFACE), 407 result = mGLHelper->createSurfaceTexture(w, h, &mGLConsumer, &mSurface, 455 mGLHelper->destroySurface(&mSurface); 475 result = doFrame(mSurface); [all...] |
/hardware/intel/common/utils/ISV/base/ |
isv_bufmanager.cpp | 39 ALOGV("%s: mSurface %d", __func__, mSurface); 40 mWorker->freeSurface(&mSurface); 57 if (STATUS_OK != mWorker->freeSurface(&mSurface)) { 58 ALOGE("%s: free surface %d failed.", __func__, mSurface); 66 if (mSurface != -1) 101 if (STATUS_OK != mWorker->allocSurface(&mWidth, &mHeight, mStride, mColorFormat, mGrallocHandle, &mSurface)) { 108 "mGrallocHandle %p, mSurface %d", 110 reinterpret_cast<void*>(mGrallocHandle), mSurface);
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/ |
SimpleTvInputService.java | 59 private Surface mSurface; 75 mSurface = surface; 140 mPlayer.setSurface(mSurface);
|