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

1 2 3 4 5 6 7

  /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;
245 if (mSurface != null) {
249 shouldRelease = mListener.onSurfaceTextureDestroyed(mSurface);
257 mSurface.release();
259 mSurface = null;
363 if (mSurface != null) {
364 mSurface.setDefaultBufferSize(getWidth(), getHeight());
367 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight());
379 boolean createNewSurface = (mSurface == null);
382 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;
127 mEGLSurface = EGL14.eglCreateWindowSurface(mEGLDisplay, mConfigs[0], mSurface,
153 mSurface.release();
159 mSurface = null;
191 return mSurface;
232 codec.setInputSurface(mSurface);
237 codec.setInputSurface(mSurface);
OutputSurface.java 53 private Surface mSurface;
116 mSurface = new Surface(mSurfaceTexture);
187 mSurface.release();
198 mSurface = null;
215 return mSurface;
  /frameworks/base/services/tests/servicestests/src/com/android/server/wm/
TaskSnapshotSurfaceTest.java 56 private TaskSnapshotSurface mSurface;
64 mSurface = new TaskSnapshotSurface(sWm, new Window(), new Surface(), snapshot, "Test",
80 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 100, 200));
90 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 200, 100));
100 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 100, 100));
111 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 100, 100));
121 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 200, 200));
128 assertEquals(new Rect(0, 0, 100, 90), mSurface.calculateSnapshotCrop());
134 assertEquals(new Rect(0, 10, 100, 90), mSurface.calculateSnapshotCrop());
140 assertEquals(new Rect(10, 0, 100, 100), mSurface.calculateSnapshotCrop())
    [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);
  /frameworks/base/libs/hwui/tests/common/
TestContext.h 48 LOG_ALWAYS_FATAL_IF(mSurface.get(),
67 sp<Surface> mSurface;
TestContext.cpp 66 if (!mSurface.get()) {
69 return mSurface;
88 mSurface = mSurfaceControl->getSurface();
99 mSurface = new Surface(producer);
  /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/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/tests/java_api/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/libs/hwui/renderthread/
Frame.h 50 EGLSurface mSurface;
  /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/base/core/java/com/android/internal/view/
BaseSurfaceHolder.java 40 public Surface mSurface = new Surface();
192 c = mSurface.lockHardwareCanvas();
194 c = mSurface.lockCanvas(dirty);
226 mSurface.unlockCanvasAndPost(canvas);
231 return mSurface;

Completed in 2428 milliseconds

1 2 3 4 5 6 7