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

1 2

  /frameworks/av/libvideoeditor/lvpp/
PreviewRenderer.h 55 sp<Surface> mSurface;
VideoEditorPreviewController.h 86 sp<Surface> mSurface;
  /frameworks/base/core/java/android/view/
GLES20TextureLayer.java 31 private SurfaceTexture mSurface;
70 if (mSurface == null) {
71 mSurface = new SurfaceTexture(mTexture, false);
73 return mSurface;
77 if (mSurface != null) {
78 mSurface.release();
80 mSurface = surfaceTexture;
81 mSurface.attachToGLContext(mTexture);
87 GLES20Canvas.nUpdateTextureLayer(mLayer, width, height, isOpaque, mSurface);
TextureView.java 109 private SurfaceTexture mSurface;
232 mSurface.detachFromGLContext();
239 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface);
247 if (shouldRelease) mSurface.release();
248 mSurface = null;
324 if (mSurface != null) {
325 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
328 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
363 mSurface = mAttachInfo.mHardwareRenderer.createSurfaceTexture(mLayer);
365 nSetDefaultBufferSize(mSurface, getWidth(), getHeight())
    [all...]
  /frameworks/av/services/camera/libcameraservice/
CameraClient.h 135 sp<IBinder> mSurface;
  /frameworks/native/libs/gui/tests/
Surface_test.cpp 52 mSurface = mSurfaceControl->getSurface();
53 ASSERT_TRUE(mSurface != NULL);
60 sp<Surface> mSurface;
66 sp<ANativeWindow> anw(mSurface);
77 sp<ANativeWindow> anw(mSurface);
87 sp<ANativeWindow> anw(mSurface);
127 sp<ANativeWindow> anw(mSurface);
  /cts/tests/tests/media/src/android/media/cts/
InputSurface.java 47 private Surface mSurface;
56 mSurface = surface;
108 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, configs[0], mSurface,
130 mSurface.release();
137 mSurface = null;
160 return mSurface;
OutputSurface.java 67 private Surface mSurface;
126 mSurface = new Surface(mSurfaceTexture);
196 mSurface.release();
209 mSurface = null;
230 return 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;
  /development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
MyGLSurfaceView.java 86 mSurface.updateTexImage();
88 mSurface.getTransformMatrix(mSTMatrix);
204 mSurface = new SurfaceTexture(mTextureID);
205 mSurface.setOnFrameAvailableListener(this);
325 private SurfaceTexture mSurface;
334 return mSurface;
  /frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
MyGLSurfaceView.java 98 mSurface.updateTexImage();
100 mSurface.getTransformMatrix(mSTMatrix);
216 mSurface = new SurfaceTexture(mTextureID);
217 mSurface.setOnFrameAvailableListener(this);
337 private SurfaceTexture mSurface;
346 return mSurface;
  /frameworks/base/cmds/bootanimation/
BootAnimation.h 95 EGLDisplay mSurface;
  /frameworks/base/services/java/com/android/server/wm/
StrictModeFlash.java 34 private final Surface mSurface = new Surface();
49 mSurface.copyFrom(ctrl);
67 c = mSurface.lockCanvas(dirty);
88 mSurface.unlockCanvasAndPost(c);
Watermark.java 49 private final Surface mSurface = new Surface();
121 mSurface.copyFrom(ctrl);
145 c = mSurface.lockCanvas(dirty);
174 mSurface.unlockCanvasAndPost(c);
  /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/base/services/java/com/android/server/display/
OverlayDisplayAdapter.java 194 private Surface mSurface;
220 if (mSurface == null) {
221 mSurface = new Surface(mSurfaceTexture);
223 setSurfaceInTransactionLocked(mSurface);
226 if (mSurface != null) {
227 mSurface.destroy();
228 mSurface = null;
  /frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
GL2CameraEye.java 188 mSurface.updateTexImage();
190 mSurface.getTransformMatrix(mSTMatrix);
191 long timestamp = mSurface.getTimestamp();
311 mSurface = new SurfaceTexture(mTextureID);
312 mSurface.setOnFrameAvailableListener(this);
314 mCamera.setPreviewTexture(mSurface);
499 private SurfaceTexture mSurface;
  /packages/apps/Gallery2/src/com/android/photos/views/
BlockingGLTextureView.java 315 private SurfaceTexture mSurface;
335 if (mSurface == null) {
346 mSurface = surface;
360 if (mSurface != null) {
362 mSurface.updateTexImage();
367 mSurface = null;
390 if (mEglHelper.createSurface(mSurface)) {
  /frameworks/av/include/media/stagefright/
CameraSource.h 157 sp<IGraphicBufferProducer> 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 58 private Surface mSurface;
99 if (mSurface == null) {
245 mSurfaceId = mGlEnv.registerSurface(mSurface);
247 throw new RuntimeException("Could not register Surface: " + mSurface);
  /frameworks/base/opengl/java/com/google/android/gles_jni/
EGLImpl.java 29 private EGLSurfaceImpl mSurface = new EGLSurfaceImpl(-1);
143 if (mSurface.mEGLSurface != value)
144 mSurface = new EGLSurfaceImpl(value);
145 return mSurface;
  /frameworks/native/services/surfaceflinger/
DisplayDevice.h 172 EGLSurface mSurface;
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
RsYuv.java 47 private SurfaceTexture mSurface;
58 mAllocationOut.setSurfaceTexture(mSurface);
60 if (mSurface != null) {
128 mSurface = surface;
135 mSurface = surface;
142 mSurface = surface;
  /frameworks/base/services/java/com/android/server/power/
ElectronBeam.java 85 private Surface mSurface;
526 mSurface = new Surface();
527 mSurface.copyFrom(mSurfaceControl);
543 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface,
569 mSurface.release();

Completed in 335 milliseconds

1 2