Home
last modified time | relevance | path

Searched refs:mSurfaceTexture (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DRSTextureView.java33 private SurfaceTexture mSurfaceTexture; field in RSTextureView
70 mSurfaceTexture = surface; in onSurfaceTextureAvailable()
73 mRS.setSurfaceTexture(mSurfaceTexture, width, height); in onSurfaceTextureAvailable()
83 mSurfaceTexture = surface; in onSurfaceTextureSizeChanged()
86 mRS.setSurfaceTexture(mSurfaceTexture, width, height); in onSurfaceTextureSizeChanged()
96 mSurfaceTexture = surface; in onSurfaceTextureDestroyed()
111 mSurfaceTexture = surface; in onSurfaceTextureUpdated()
154 if (mSurfaceTexture != null) { in createRenderScriptGL()
155 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight()); in createRenderScriptGL()
179 if (mSurfaceTexture != null) { in setRenderScriptGL()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DGpuVideoTrackDecoder.java57 private final SurfaceTexture mSurfaceTexture; // Access guarded by mFrameMonitor. field in GpuVideoTrackDecoder
73 mSurfaceTexture = new SurfaceTexture(mTextureSource.getTextureId()); in GpuVideoTrackDecoder()
74 mSurfaceTexture.detachFromGLContext(); in GpuVideoTrackDecoder()
75 mSurfaceTexture.setOnFrameAvailableListener(new OnFrameAvailableListener() { in GpuVideoTrackDecoder()
99 Surface surface = new Surface(mSurfaceTexture); in initMediaCodec()
135 mSurfaceTexture.attachToGLContext(mTextureSource.getTextureId()); in updateTexture()
136 mSurfaceTexture.updateTexImage(); in updateTexture()
137 mSurfaceTexture.detachFromGLContext(); in updateTexture()
148 mSurfaceTexture.attachToGLContext(targetTexture.getTextureId()); in copyFrameDataTo()
149 mSurfaceTexture.getTransformMatrix(mTransformMatrix); in copyFrameDataTo()
[all …]
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp27 , mSurfaceTexture(nullptr) in DeferredLayerUpdater()
50 if (mSurfaceTexture.get() && mGLContextAttached) { in destroyLayer()
51 mSurfaceTexture->detachFromView(); in destroyLayer()
78 if (mSurfaceTexture.get()) { in apply()
82 mSurfaceTexture->attachToView(); in apply()
93 layerImage = mSurfaceTexture->dequeueImage(textureTransform, &queueEmpty, in apply()
120 if (mSurfaceTexture.get()) { in detachSurfaceTexture()
122 mSurfaceTexture = nullptr; in detachSurfaceTexture()
DDeferredLayerUpdater.h71 if (consumer.get() != mSurfaceTexture.get()) { in setSurfaceTexture()
72 mSurfaceTexture = consumer; in setSurfaceTexture()
115 sp<SurfaceTexture> mSurfaceTexture; variable
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureSource.java105 private SurfaceTexture mSurfaceTexture; field in SurfaceTextureSource
172 mSurfaceTexture = new SurfaceTexture(mMediaFrame.getTextureId()); in open()
174 mSurfaceTexture.setOnFrameAvailableListener(onFrameAvailableListener); in open()
176 mSourceListener.onSurfaceTextureSourceReady(mSurfaceTexture); in open()
205 mSurfaceTexture.updateTexImage(); in process()
207 mSurfaceTexture.getTransformMatrix(mFrameTransform); in process()
219 output.setTimestamp(mSurfaceTexture.getTimestamp()); in process()
229 mSurfaceTexture.release(); in close()
230 mSurfaceTexture = null; in close()
DCameraSource.java72 private SurfaceTexture mSurfaceTexture; field in CameraSource
149 mSurfaceTexture = new SurfaceTexture(mCameraFrame.getTextureId()); in open()
151 mCamera.setPreviewTexture(mSurfaceTexture); in open()
158 mSurfaceTexture.setOnFrameAvailableListener(onCameraFrameAvailableListener); in open()
184 mSurfaceTexture.updateTexImage(); in process()
187 mSurfaceTexture.getTransformMatrix(mCameraTransform); in process()
199 long timestamp = mSurfaceTexture.getTimestamp(); in process()
217 mSurfaceTexture.release(); in close()
218 mSurfaceTexture = null; in close()
DSurfaceTextureTarget.java52 private SurfaceTexture mSurfaceTexture; field in SurfaceTextureTarget
105 if (mSurfaceTexture == null) { in setupPorts()
155 if (mSurfaceTexture == null) { in open()
157 throw new RuntimeException("Could not register SurfaceTexture: " + mSurfaceTexture); in open()
160 mSurfaceTexture, mScreenWidth, mScreenHeight); in open()
162 throw new RuntimeException("Could not register SurfaceTexture: " + mSurfaceTexture); in open()
187 if (mSurfaceTexture == null) { in disconnect()
191 mSurfaceTexture = null; in disconnect()
DMediaSource.java99 private SurfaceTexture mSurfaceTexture; field in MediaSource
211 mSurfaceTexture = new SurfaceTexture(mMediaFrame.getTextureId()); in open()
287 mSurfaceTexture.updateTexImage(); in process()
292 mSurfaceTexture.getTransformMatrix(surfaceTransform); in process()
335 long timestamp = mSurfaceTexture.getTimestamp(); in process()
359 mSurfaceTexture.release(); in close()
360 mSurfaceTexture = null; in close()
492 Surface surface = new Surface(mSurfaceTexture); in setupMediaPlayer()
503 mSurfaceTexture.setOnFrameAvailableListener(onMediaFrameAvailableListener); in setupMediaPlayer()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java83 private volatile SurfaceTexture mSurfaceTexture; field in SurfaceTextureRenderer
414 if (mSurfaceTexture != null) { in clearState()
415 mSurfaceTexture.release(); in clearState()
417 mSurfaceTexture = null; in clearState()
674 return mSurfaceTexture; in getSurfaceTexture()
733 mSurfaceTexture = new SurfaceTexture(getTextureId()); in configureSurfaces()
767 mSurfaceTexture.updateTexImage(); in drawIntoSurfaces()
769 long timestamp = mSurfaceTexture.getTimestamp(); in drawIntoSurfaces()
807 drawFrame(mSurfaceTexture, holder.width, holder.height, in drawIntoSurfaces()
822 drawFrame(mSurfaceTexture, holder.width, holder.height, in drawIntoSurfaces()
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp329 mSurfaceTexture.clear(); in ~CameraHardwareInterfaceFlashControl()
485 mSurfaceTexture = new GLConsumer(mConsumer, 0, GLConsumer::TEXTURE_EXTERNAL, in initializePreviewWindow()
487 if (mSurfaceTexture == NULL) { in initializePreviewWindow()
492 res = mSurfaceTexture->setDefaultBufferSize(width, height); in initializePreviewWindow()
496 res = mSurfaceTexture->setDefaultBufferFormat(format); in initializePreviewWindow()
DCameraFlashlight.h174 sp<GLConsumer> mSurfaceTexture; variable
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java232 private SurfaceTexture mSurfaceTexture; field in OverlayDisplayAdapter.OverlayDisplayDevice
248 mSurfaceTexture = surfaceTexture; in OverlayDisplayDevice()
260 mSurfaceTexture = null; in destroyLocked()
275 if (mSurfaceTexture != null) { in performTraversalLocked()
277 mSurface = new Surface(mSurfaceTexture); in performTraversalLocked()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrView.java55 private SurfaceTexture mSurfaceTexture; field in VrView
125 mSurfaceTexture = surface; in setup()
130 mSurfaceTexture = surface; in setup()
363 if (mSurfaceTexture == null) return 0L; in doInBackground()
388 mSurface = new Surface(mSurfaceTexture); in doInBackground()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java79 private long mSurfaceTexture; field in SurfaceTexture
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt60565 Landroid/renderscript/RSTextureView;->mSurfaceTexture:Landroid/graphics/SurfaceTexture;