/frameworks/base/rs/java/android/renderscript/ |
D | RSTextureView.java | 33 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/ |
D | GpuVideoTrackDecoder.java | 57 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/ |
D | DeferredLayerUpdater.cpp | 27 , 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()
|
D | DeferredLayerUpdater.h | 71 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/ |
D | SurfaceTextureSource.java | 105 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()
|
D | CameraSource.java | 72 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()
|
D | SurfaceTextureTarget.java | 52 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()
|
D | MediaSource.java | 99 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/ |
D | SurfaceTextureRenderer.java | 83 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/ |
D | CameraFlashlight.cpp | 329 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()
|
D | CameraFlashlight.h | 174 sp<GLConsumer> mSurfaceTexture; variable
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayAdapter.java | 232 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/ |
D | VrView.java | 55 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/ |
D | SurfaceTexture.java | 79 private long mSurfaceTexture; field in SurfaceTexture
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 60565 Landroid/renderscript/RSTextureView;->mSurfaceTexture:Landroid/graphics/SurfaceTexture;
|