HomeSort by relevance Sort by last modified time
    Searched refs:mSurfaceTexture (Results 1 - 21 of 21) sorted by null

  /frameworks/base/graphics/java/android/renderscript/
RSTextureView.java 40 private SurfaceTexture mSurfaceTexture;
77 mSurfaceTexture = surface;
80 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
90 mSurfaceTexture = surface;
93 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
103 mSurfaceTexture = surface;
118 mSurfaceTexture = surface;
161 if (mSurfaceTexture != null) {
162 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight());
186 if (mSurfaceTexture != null)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
SurfaceTextureScreenNail.java 37 private SurfaceTexture mSurfaceTexture;
48 mSurfaceTexture = new SurfaceTexture(mExtTexture.getId());
49 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight);
50 mSurfaceTexture.setOnFrameAvailableListener(this);
72 return mSurfaceTexture;
81 releaseSurfaceTexture(mSurfaceTexture);
82 mSurfaceTexture = null;
93 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight);
111 mSurfaceTexture.updateTexImage();
112 mSurfaceTexture.getTransformMatrix(mTransform)
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
GpuVideoTrackDecoder.java 56 private final SurfaceTexture mSurfaceTexture; // Access guarded by mFrameMonitor.
72 mSurfaceTexture = new SurfaceTexture(mTextureSource.getTextureId());
73 mSurfaceTexture.detachFromGLContext();
74 mSurfaceTexture.setOnFrameAvailableListener(new OnFrameAvailableListener() {
89 Surface surface = new Surface(mSurfaceTexture);
127 mSurfaceTexture.attachToGLContext(mTextureSource.getTextureId());
128 mSurfaceTexture.updateTexImage();
129 mSurfaceTexture.detachFromGLContext();
140 mSurfaceTexture.attachToGLContext(targetTexture.getTextureId());
141 mSurfaceTexture.getTransformMatrix(mTransformMatrix)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
VideoSurfaceView.java 81 private SurfaceTexture mSurfaceTexture;
97 mSurfaceTexture.updateTexImage();
102 mTextureRender.drawFrame(mSurfaceTexture);
115 mSurfaceTexture = new SurfaceTexture(mTextureRender.getTextureId());
116 mSurfaceTexture.setOnFrameAvailableListener(this);
118 Surface surface = new Surface(mSurfaceTexture);
OutputSurface.java 52 private SurfaceTexture mSurfaceTexture;
97 mSurfaceTexture = new SurfaceTexture(mTextureRender.getTextureId());
110 mSurfaceTexture.setOnFrameAvailableListener(this);
112 mSurface = new Surface(mSurfaceTexture);
187 //mSurfaceTexture.release();
195 mSurfaceTexture = null;
249 mSurfaceTexture.updateTexImage();
277 mSurfaceTexture.updateTexImage();
285 mTextureRender.drawFrame(mSurfaceTexture);
EncodeVirtualDisplayWithCompositionTest.java     [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
SurfaceTextureSource.java 116 private SurfaceTexture mSurfaceTexture;
183 mSurfaceTexture = new SurfaceTexture(mMediaFrame.getTextureId());
185 mSurfaceTexture.setOnFrameAvailableListener(onFrameAvailableListener);
187 mSourceListener.onSurfaceTextureSourceReady(mSurfaceTexture);
216 mSurfaceTexture.updateTexImage();
218 mSurfaceTexture.getTransformMatrix(mFrameTransform);
230 output.setTimestamp(mSurfaceTexture.getTimestamp());
240 mSurfaceTexture.release();
241 mSurfaceTexture = null;
CameraSource.java 79 private SurfaceTexture mSurfaceTexture;
156 mSurfaceTexture = new SurfaceTexture(mCameraFrame.getTextureId());
158 mCamera.setPreviewTexture(mSurfaceTexture);
165 mSurfaceTexture.setOnFrameAvailableListener(onCameraFrameAvailableListener);
191 mSurfaceTexture.updateTexImage();
194 mSurfaceTexture.getTransformMatrix(mCameraTransform);
206 long timestamp = mSurfaceTexture.getTimestamp();
224 mSurfaceTexture.release();
225 mSurfaceTexture = null;
SurfaceTextureTarget.java 62 private SurfaceTexture mSurfaceTexture;
115 if (mSurfaceTexture == null) {
165 if (mSurfaceTexture == null) {
167 throw new RuntimeException("Could not register SurfaceTexture: " + mSurfaceTexture);
170 mSurfaceTexture, mScreenWidth, mScreenHeight);
172 throw new RuntimeException("Could not register SurfaceTexture: " + mSurfaceTexture);
179 // may not set the mSurfaceTexture again on the filter. In some cases, the app
197 if (mSurfaceTexture == null) {
201 mSurfaceTexture = null;
MediaSource.java 107 private SurfaceTexture mSurfaceTexture;
219 mSurfaceTexture = new SurfaceTexture(mMediaFrame.getTextureId());
295 mSurfaceTexture.updateTexImage();
300 mSurfaceTexture.getTransformMatrix(surfaceTransform);
343 long timestamp = mSurfaceTexture.getTimestamp();
367 mSurfaceTexture.release();
368 mSurfaceTexture = null;
500 Surface surface = new Surface(mSurfaceTexture);
511 mSurfaceTexture.setOnFrameAvailableListener(onMediaFrameAvailableListener);
  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraGLTest.java 86 SurfaceTexture mSurfaceTexture;
140 mSurfaceTexture = new SurfaceTexture(mRenderer.getTextureID());
168 mSurfaceTexture = null;
348 mCamera.setPreviewTexture(mSurfaceTexture);
356 mCamera.setPreviewTexture(mSurfaceTexture);
366 mCamera.setPreviewTexture(mSurfaceTexture);
389 mSurfaceTexture.setOnFrameAvailableListener(mSurfaceTextureCallback);
390 mCamera.setPreviewTexture(mSurfaceTexture);
406 mSurfaceTexture.setOnFrameAvailableListener(mSurfaceTextureCallback);
408 mCamera.setPreviewTexture(mSurfaceTexture);
    [all...]
  /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
SurfaceTextureView.java 26 private SurfaceTexture mSurfaceTexture;
31 return mSurfaceTexture;
191 mSurfaceTexture = new SurfaceTexture(mTextureName);
192 mSurfaceTexture.setOnFrameAvailableListener(new OnFrameAvailableListener() {
220 mSurfaceTexture.updateTexImage();
221 mSurfaceTexture.getTransformMatrix(mTransformMatrix);
  /cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java 41 private final SurfaceTexture mSurfaceTexture;
64 mSurfaceTexture = surfaceTexture;
116 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null);
  /frameworks/base/services/java/com/android/server/display/
OverlayDisplayAdapter.java 198 private SurfaceTexture mSurfaceTexture;
211 mSurfaceTexture = surfaceTexture;
215 mSurfaceTexture = null;
225 if (mSurfaceTexture != null) {
227 mSurface = new Surface(mSurfaceTexture);
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java 162 private SurfaceTexture mSurfaceTexture;
480 if (mSurfaceTexture != null) {
481 mSurfaceTexture.release();
483 mSurfaceTexture = new SurfaceTexture(textureID);
485 mSurfaceTexture.setOnFrameAvailableListener(PanoramaActivity.this);
527 mSurfaceTexture.updateTexImage();
528 mSurfaceTexture.getTransformMatrix(mTransformMatrix);
616 mSurfaceTexture.setOnFrameAvailableListener(null);
759 // If mSurfaceTexture == null then GL setup is not finished yet.
761 if (mPausing || mThreadRunning || mSurfaceTexture == null) return
    [all...]
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
VideoCapture.java 73 private SurfaceTexture mSurfaceTexture = null;
213 mSurfaceTexture = new SurfaceTexture(mGlTextures[0]);
214 mSurfaceTexture.setOnFrameAvailableListener(null);
216 mCamera.setPreviewTexture(mSurfaceTexture);
  /frameworks/base/graphics/java/android/graphics/
SurfaceTexture.java 72 private int mSurfaceTexture;
  /packages/apps/Camera2/src/com/android/camera/
VideoUI.java 89 private SurfaceTexture mSurfaceTexture;
716 return mSurfaceTexture;
722 mSurfaceTexture = surface;
728 mSurfaceTexture = null;
WideAnglePanoramaUI.java 91 private SurfaceTexture mSurfaceTexture;
223 return mSurfaceTexture;
228 mSurfaceTexture = surfaceTexture;
240 mSurfaceTexture = null;
PhotoUI.java 77 private SurfaceTexture mSurfaceTexture;
289 mSurfaceTexture = surface;
307 mSurfaceTexture = null;
766 return mSurfaceTexture;
  /packages/apps/Camera/src/com/android/camera/
PhotoModule.java 175 private Object mSurfaceTexture;
    [all...]

Completed in 681 milliseconds