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/services/java/com/android/server/wm/
StrictModeFlash.java 32 Surface mSurface;
40 mSurface = new Surface(session, "StrictModeFlash",
46 mSurface.setLayerStack(display.getLayerStack());
47 mSurface.setLayer(WindowManagerService.TYPE_LAYER_MULTIPLIER * 101); // one more than Watermark? arbitrary.
48 mSurface.setPosition(0, 0);
49 mSurface.show();
64 c = mSurface.lockCanvas(dirty);
85 mSurface.unlockCanvasAndPost(c);
91 if (mSurface == null) {
96 mSurface.show()
    [all...]
Watermark.java 49 Surface mSurface;
116 mSurface = new Surface(session, "WatermarkSurface",
118 mSurface.setLayerStack(mDisplay.getLayerStack());
119 mSurface.setLayer(WindowManagerService.TYPE_LAYER_MULTIPLIER*100);
120 mSurface.setPosition(0, 0);
121 mSurface.show();
130 mSurface.setSize(dw, dh);
144 c = mSurface.lockCanvas(dirty);
173 mSurface.unlockCanvasAndPost(c);
ScreenRotationAnimation.java 46 Surface mSurface;
130 pw.print(prefix); pw.print("mSurface="); pw.print(mSurface);
222 mSurface = new SurfaceTrace(session, "FreezeSurface",
226 mSurface = new Surface(session, "FreezeSurface",
230 if (!mSurface.isValid()) {
232 mSurface = null;
235 mSurface.setLayerStack(mDisplay.getLayerStack());
236 mSurface.setLayer(FREEZE_LAYER + 1);
237 mSurface.setAlpha(0)
    [all...]
WindowStateAnimator.java 87 Surface mSurface;
403 if (mSurface != null) {
424 if (mSurface != null) {
427 mSurface.hide();
444 + mSurface);
466 Slog.i(TAG, "commitFinishDrawingLocked: mDrawState=READY_TO_SHOW " + mSurface);
624 if (mSurface == null) {
677 mSurface = new SurfaceTrace(
682 mSurface = new Surface(
690 + mSurface + " IN SESSION
    [all...]
  /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;
226 mSurface.detachFromGLContext();
233 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface);
241 if (shouldRelease) mSurface.release();
242 mSurface = null;
316 if (mSurface != null) {
317 nSetDefaultBufferSize(mSurface, getWidth(), getHeight());
320 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
355 mSurface = mAttachInfo.mHardwareRenderer.createSurfaceTexture(mLayer);
357 nSetDefaultBufferSize(mSurface, getWidth(), getHeight())
    [all...]
  /frameworks/av/services/camera/libcameraservice/
CameraClient.h 128 sp<IBinder> mSurface;
  /frameworks/native/libs/gui/tests/
Surface_test.cpp 46 mSurface = mSurfaceControl->getSurface();
47 ASSERT_TRUE(mSurface != NULL);
54 sp<Surface> mSurface;
60 sp<ANativeWindow> anw(mSurface);
71 sp<ANativeWindow> anw(mSurface);
81 sp<ANativeWindow> anw(mSurface);
127 sp<ANativeWindow> anw(mSurface);
  /frameworks/av/media/libstagefright/wifi-display/sink/
TunnelRenderer.h 65 sp<Surface> 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;
  /frameworks/native/include/gui/
Surface.h 99 sp<ISurface> mSurface;
164 sp<ISurface> mSurface;
  /frameworks/base/services/java/com/android/server/power/
ElectronBeam.java 82 private Surface mSurface;
534 if (mSurface == null) {
542 mSurface = new Surface(mSurfaceSession,
551 mSurface.setLayerStack(mDisplayLayerStack);
552 mSurface.setSize(mDisplayWidth, mDisplayHeight);
556 mSurface.setPosition(0, 0);
557 mSurface.setMatrix(1, 0, 0, 1);
560 mSurface.setPosition(0, mDisplayWidth);
561 mSurface.setMatrix(0, -1, 1, 0);
564 mSurface.setPosition(mDisplayWidth, mDisplayHeight)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
VideoSurfaceView.java 124 private SurfaceTexture mSurface;
147 mSurface.updateTexImage();
148 mSurface.getTransformMatrix(mSTMatrix);
234 mSurface = new SurfaceTexture(mTextureID);
235 mSurface.setOnFrameAvailableListener(this);
237 Surface surface = new Surface(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/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 193 private Surface mSurface;
219 if (mSurface == null) {
220 mSurface = new Surface(mSurfaceTexture);
222 setSurfaceInTransactionLocked(mSurface);
225 if (mSurface != null) {
226 mSurface.destroy();
227 mSurface = null;
  /sdk/traceview/src/com/android/traceview/
TimeLineView.java 61 private Surface mSurface;
225 mSurface = new Surface(composite);
227 mSurface.setLayoutData(gridData);
230 final ScrollBar vBar = mSurface.getVerticalBar();
235 Point dim = mSurface.getSize();
242 mSurface.redraw();
246 final ScrollBar hBar = mSurface.getHorizontalBar();
250 mSurface.setScaleFromHorizontalScrollBar(hBar.getSelection());
251 mSurface.redraw();
255 mSurface.addListener(SWT.Resize, new Listener()
    [all...]
  /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;
  /frameworks/av/include/media/stagefright/
CameraSource.h 148 sp<Surface> 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);

Completed in 1477 milliseconds

1 2