/external/chromium_org/content/public/android/java/src/org/chromium/content/common/ |
SurfaceWrapper.java | 15 private final Surface mSurface; 18 mSurface = surface; 22 return mSurface; 33 mSurface.writeToParcel(out, 0);
|
/frameworks/base/core/java/android/hardware/display/ |
VirtualDisplay.java | 39 private Surface mSurface; 46 mSurface = surface; 60 return mSurface; 76 if (mSurface != surface) { 78 mSurface = surface; 111 + ", surface=" + mSurface + "}";
|
/frameworks/base/core/java/android/view/ |
TextureView.java | 108 private SurfaceTexture mSurface; 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.setDefaultBufferSize(getWidth(), getHeight()) [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 | 45 private Surface mSurface; 54 mSurface = surface; 106 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, configs[0], mSurface, 126 mSurface.release(); 132 mSurface = null; 162 return mSurface;
|
OutputSurface.java | 53 private Surface mSurface; 116 mSurface = new Surface(mSurfaceTexture); 187 mSurface.release(); 198 mSurface = null; 215 return mSurface;
|
/external/chromium_org/third_party/angle/util/ |
EGLWindow.cpp | 21 : mSurface(EGL_NO_SURFACE), 46 eglSwapBuffers(mDisplay, mSurface); 61 return mSurface; 136 mSurface = eglCreateWindowSurface(mDisplay, mConfig, osWindow->getNativeWindow(), surfaceAttributes); 137 if (mSurface == EGL_NO_SURFACE) 140 mSurface = eglCreateWindowSurface(mDisplay, mConfig, NULL, NULL); 162 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext); 179 if (mSurface != EGL_NO_SURFACE) 182 eglDestroySurface(mDisplay, mSurface); [all...] |
/frameworks/base/core/java/android/app/ |
ActivityView.java | 54 private Surface mSurface; 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 != null) [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) {
|
HardwareCanvasSurfaceViewActivity.java | 69 private final Surface mSurface; 74 mSurface = surface; 93 final Canvas canvas = mSurface.lockHardwareCanvas(); 98 mSurface.unlockCanvasAndPost(canvas);
|
HardwareCanvasTextureViewActivity.java | 74 private final Surface mSurface; 79 mSurface = new Surface(mView.getSurfaceTexture()); 93 final Canvas canvas = mSurface.lockHardwareCanvas(); 98 mSurface.unlockCanvasAndPost(canvas);
|
/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();
|
Surface_test.cpp | 54 mSurface = mSurfaceControl->getSurface(); 55 ASSERT_TRUE(mSurface != NULL); 62 sp<Surface> mSurface; 68 sp<ANativeWindow> anw(mSurface); 79 sp<ANativeWindow> anw(mSurface); 89 sp<ANativeWindow> anw(mSurface); 132 sp<ANativeWindow> anw(mSurface);
|
/frameworks/native/services/surfaceflinger/ |
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, error) [all...] |
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/ |
GLPrimitiveActivity.java | 35 private volatile Surface mSurface = null; 69 mSurface = holder.getSurface(); 147 setupFullPipelineBenchmark(mSurface, mOffscreen, workload); 150 setupPixelOutputBenchmark(mSurface, mOffscreen, workload); 153 setupShaderPerfBenchmark(mSurface, mOffscreen, workload); 156 setupContextSwitchBenchmark(mSurface, mOffscreen, workload);
|
/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/ |
EmulatorDisplayOverlay.java | 42 private final Surface mSurface = new Surface(); 69 mSurface.copyFrom(ctrl); 87 c = mSurface.lockCanvas(dirty); 98 mSurface.unlockCanvasAndPost(c);
|
StrictModeFlash.java | 35 private final Surface mSurface = new Surface(); 50 mSurface.copyFrom(ctrl); 68 c = mSurface.lockCanvas(dirty); 89 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;
|
/frameworks/base/services/core/java/com/android/server/display/ |
VirtualDisplayAdapter.java | 178 private Surface mSurface; 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 = surface [all...] |
/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); 142 mSurface.release(); 143 mSurface = null;
|
/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 | 37 ALOGV("%s: mSurface %d", __func__, mSurface); 38 mWorker->freeSurface(&mSurface); 55 if (STATUS_OK != mWorker->freeSurface(&mSurface)) { 56 ALOGE("%s: free surface %d failed.", __func__, mSurface); 64 if (mSurface != -1) 99 if (STATUS_OK != mWorker->allocSurface(&mWidth, &mHeight, mStride, mColorFormat, mGrallocHandle, &mSurface)) { 104 ALOGD_IF(ISV_BUFFER_MANAGER_DEBUG, "%s: mWidth %d, mHeight %d, mStride %d, mColorFormat %d, mGrallocHandle %p, mSurface %d", 105 __func__, mWidth, mHeight, mStride, mColorFormat, mGrallocHandle, mSurface);
|