HomeSort by relevance Sort by last modified time
    Searched refs:mSurface (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /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...]
  /external/chromium_org/third_party/angle/samples/angle/sample_util/
SampleApplication.cpp 18 : mSurface(EGL_NO_SURFACE),
56 eglSwapBuffers(mWindow->getDisplay(), mSurface);
71 return mSurface;
178 mSurface = eglCreateWindowSurface(mWindow->getDisplay(), mConfig, mWindow->getNativeWindow(), surfaceAttributes);
179 if (mSurface == EGL_NO_SURFACE)
182 mSurface = eglCreateWindowSurface(mWindow->getDisplay(), mConfig, NULL, NULL);
203 eglMakeCurrent(mWindow->getDisplay(), mSurface, mSurface, mContext);
218 eglDestroySurface(mWindow->getDisplay(), mSurface);
219 mSurface = 0
    [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;
112 mSurface = new Surface(mSurfaceTexture);
183 mSurface.release();
194 mSurface = null;
211 return mSurface;
  /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) {
  /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);
CircularDisplayMask.java 45 private final Surface mSurface = new Surface();
78 mSurface.copyFrom(ctrl);
100 c = mSurface.lockCanvas(dirty);
126 mSurface.unlockCanvasAndPost(c);
  /frameworks/base/services/core/java/com/android/server/display/
VirtualDisplayAdapter.java 147 private Surface mSurface;
165 mSurface = surface;
175 if (mSurface != null) {
182 if (mSurface != null) {
183 mSurface.release();
184 mSurface = null;
209 setSurfaceInTransactionLocked(mSurface);
215 if (!mStopped && mSurface != surface) {
216 if ((mSurface != null) != (surface != null)) {
220 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...]
  /external/chromium_org/third_party/angle/tests/angle_tests/
ANGLETest.cpp 41 eglSwapBuffers(mDisplay, mSurface);
281 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mNativeWindow, NULL);
282 if(mSurface == EGL_NO_SURFACE)
285 mSurface = eglCreateWindowSurface(mDisplay, mConfig, NULL, NULL);
306 eglMakeCurrent(mDisplay, mSurface, mSurface, mContext);
318 eglDestroySurface(mDisplay, mSurface);
  /frameworks/base/core/java/com/android/internal/view/
BaseSurfaceHolder.java 40 public Surface mSurface = new Surface();
184 c = mSurface.lockCanvas(dirty);
215 mSurface.unlockCanvasAndPost(canvas);
220 return mSurface;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
SurfaceTargetFilter.java 50 private Surface mSurface;
91 if (mSurface == null) {
237 mSurfaceId = mGlEnv.registerSurface(mSurface);
239 throw new RuntimeException("Could not register Surface: " + mSurface);

Completed in 405 milliseconds

1 2 3 4