/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | SurfaceTexture.cpp | 38 SurfaceTexture::SurfaceTexture(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, in SurfaceTexture() function in android::SurfaceTexture 63 SurfaceTexture::SurfaceTexture(const sp<IGraphicBufferConsumer>& bq, uint32_t texTarget, in SurfaceTexture() function in android::SurfaceTexture 88 status_t SurfaceTexture::setDefaultBufferSize(uint32_t w, uint32_t h) { in setDefaultBufferSize() 99 status_t SurfaceTexture::updateTexImage() { in updateTexImage() 112 status_t SurfaceTexture::releaseTexImage() { in releaseTexImage() 126 status_t SurfaceTexture::acquireBufferLocked(BufferItem* item, nsecs_t presentWhen, in acquireBufferLocked() 146 status_t SurfaceTexture::releaseBufferLocked(int buf, sp<GraphicBuffer> graphicBuffer, in releaseBufferLocked() 160 status_t SurfaceTexture::detachFromContext() { in detachFromContext() 183 status_t SurfaceTexture::attachToContext(uint32_t tex) { in attachToContext() 202 void SurfaceTexture::takeConsumerOwnership() { in takeConsumerOwnership() [all …]
|
D | EGLConsumer.cpp | 88 status_t EGLConsumer::updateTexImage(SurfaceTexture& st) { in updateTexImage() 125 status_t EGLConsumer::releaseTexImage(SurfaceTexture& st) { in releaseTexImage() 130 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage() 144 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage() 175 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage() 214 void EGLConsumer::onAcquireBufferLocked(BufferItem* item, SurfaceTexture& st) { in onAcquireBufferLocked() 229 SurfaceTexture& st) { in updateAndReleaseLocked() 234 if (st.mOpMode != SurfaceTexture::OpMode::attachedToGL) { in updateAndReleaseLocked() 324 status_t EGLConsumer::bindTextureImageLocked(SurfaceTexture& st) { in bindTextureImageLocked() 372 status_t EGLConsumer::checkAndUpdateEglStateLocked(SurfaceTexture& st, bool contextCheck) { in checkAndUpdateEglStateLocked() [all …]
|
/frameworks/native/libs/nativedisplay/include/surfacetexture/ |
D | EGLConsumer.h | 28 class SurfaceTexture; variable 47 status_t updateTexImage(SurfaceTexture& st); 56 status_t releaseTexImage(SurfaceTexture& st); 70 status_t detachFromContext(SurfaceTexture& st); 87 status_t attachToContext(uint32_t tex, SurfaceTexture& st); 93 void onAcquireBufferLocked(BufferItem* item, SurfaceTexture& st); 139 SurfaceTexture& st); 146 status_t bindTextureImageLocked(SurfaceTexture& st); 156 status_t checkAndUpdateEglStateLocked(SurfaceTexture& st, bool contextCheck = false); 218 status_t doGLFenceWaitLocked(SurfaceTexture& st) const; [all …]
|
D | ImageConsumer.h | 29 class SurfaceTexture; variable 46 SurfaceTexture& cb,
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 81 public class SurfaceTexture { class 103 void onFrameAvailable(SurfaceTexture surfaceTexture); in onFrameAvailable() 115 void onSetFrameRate(SurfaceTexture surfaceTexture, in onSetFrameRate() 144 public SurfaceTexture(int texName) { in SurfaceTexture() method in SurfaceTexture 165 public SurfaceTexture(int texName, boolean singleBufferMode) { in SurfaceTexture() method in SurfaceTexture 168 nativeInit(false, texName, singleBufferMode, new WeakReference<SurfaceTexture>(this)); in SurfaceTexture() 192 public SurfaceTexture(boolean singleBufferMode) { in SurfaceTexture() method in SurfaceTexture 195 nativeInit(true, 0, singleBufferMode, new WeakReference<SurfaceTexture>(this)); in SurfaceTexture() 238 listener.onFrameAvailable(SurfaceTexture.this); in setOnFrameAvailableListener() 275 listener.onSetFrameRate(SurfaceTexture.this, in setOnSetFrameRateListener() [all …]
|
/frameworks/base/core/jni/ |
D | android_graphics_SurfaceTexture.cpp | 83 const sp<SurfaceTexture>& surfaceTexture) in SurfaceTexture_setSurfaceTexture() 85 SurfaceTexture* const p = in SurfaceTexture_setSurfaceTexture() 86 (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture() 111 jobject thiz, sp<SurfaceTexture::FrameAvailableListener> listener) in SurfaceTexture_setFrameAvailableListener() 113 SurfaceTexture::FrameAvailableListener* const p = in SurfaceTexture_setFrameAvailableListener() 114 (SurfaceTexture::FrameAvailableListener*) in SurfaceTexture_setFrameAvailableListener() 125 sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) { in SurfaceTexture_getSurfaceTexture() 126 return (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture() 185 public SurfaceTexture::FrameAvailableListener { 195 public SurfaceTexture::SurfaceTextureListener { [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | RSTextureView.java | 20 import android.graphics.SurfaceTexture; 34 private SurfaceTexture mSurfaceTexture; 69 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 82 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 95 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 110 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | CanvasTextureViewActivity.java | 23 import android.graphics.SurfaceTexture; 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
D | GetBitmapActivity.java | 21 import android.graphics.SurfaceTexture; 81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 106 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
D | HardwareCanvasTextureViewActivity.java | 23 import android.graphics.SurfaceTexture; 51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 62 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 68 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
D | TextureViewActivity.java | 22 import android.graphics.SurfaceTexture; 101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 159 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
D | SingleFrameTextureViewTestActivity.java | 25 import android.graphics.SurfaceTexture; 78 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 201 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 206 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 213 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | GlTextureViewActivity.java | 21 import android.graphics.SurfaceTexture; 49 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 71 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 75 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 86 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | SurfaceTextureSource.java | 29 import android.graphics.SurfaceTexture; 56 public void onSurfaceTextureSourceReady(SurfaceTexture source); in onSurfaceTextureSourceReady() 104 private SurfaceTexture mSurfaceTexture; 171 mSurfaceTexture = new SurfaceTexture(mMediaFrame.getTextureId()); in open() 246 private SurfaceTexture.OnFrameAvailableListener onFrameAvailableListener = 247 new SurfaceTexture.OnFrameAvailableListener() { 248 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
D | CameraSource.java | 30 import android.graphics.SurfaceTexture; 72 private SurfaceTexture mSurfaceTexture; 149 mSurfaceTexture = new SurfaceTexture(mCameraFrame.getTextureId()); in open() 339 private SurfaceTexture.OnFrameAvailableListener onCameraFrameAvailableListener = 340 new SurfaceTexture.OnFrameAvailableListener() { 342 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 31 import android.graphics.SurfaceTexture; 183 private SurfaceTexture mSurface; 476 mSurface = new SurfaceTexture(false); in getTextureLayer() 823 public @Nullable SurfaceTexture getSurfaceTexture() { in getSurfaceTexture() 842 public void setSurfaceTexture(@NonNull SurfaceTexture surfaceTexture) { in setSurfaceTexture() 922 private final SurfaceTexture.OnFrameAvailableListener mUpdateListener = 941 void onSurfaceTextureAvailable(@NonNull SurfaceTexture surface, int width, int height); in onSurfaceTextureAvailable() 951 void onSurfaceTextureSizeChanged(@NonNull SurfaceTexture surface, int width, int height); in onSurfaceTextureSizeChanged() 961 boolean onSurfaceTextureDestroyed(@NonNull SurfaceTexture surface); in onSurfaceTextureDestroyed() 969 void onSurfaceTextureUpdated(@NonNull SurfaceTexture surface); in onSurfaceTextureUpdated() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | GpuVideoTrackDecoder.java | 20 import android.graphics.SurfaceTexture; 21 import android.graphics.SurfaceTexture.OnFrameAvailableListener; 57 private final SurfaceTexture mSurfaceTexture; // Access guarded by mFrameMonitor. 73 mSurfaceTexture = new SurfaceTexture(mTextureSource.getTextureId()); in GpuVideoTrackDecoder() 77 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in GpuVideoTrackDecoder()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 20 import android.graphics.SurfaceTexture; 66 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, in onSurfaceTextureAvailable() 73 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, in onSurfaceTextureSizeChanged() 79 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 87 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() 192 public boolean createSurface(SurfaceTexture surface) { in createSurface() 318 private SurfaceTexture mSurface; 343 public void setSurface(SurfaceTexture surface) { in setSurface()
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
D | RsYuv.java | 24 import android.graphics.SurfaceTexture; 127 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 134 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 141 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 149 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 19 import android.graphics.SurfaceTexture; 75 public SurfaceTexture getSurfaceTexture() { in getSurfaceTexture() 80 class MyRenderer implements GLSurfaceView.Renderer, SurfaceTexture.OnFrameAvailableListener { 216 mSurface = new SurfaceTexture(mTextureID); in onSurfaceCreated() 226 synchronized public void onFrameAvailable(SurfaceTexture surface) { in onFrameAvailable() 337 private SurfaceTexture mSurface; 345 public SurfaceTexture getSurfaceTexture() { in getSurfaceTexture()
|
/frameworks/base/core/jni/include/android_runtime/ |
D | android_graphics_SurfaceTexture.h | 27 class SurfaceTexture; variable 32 extern sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | IllustrationVideoView.java | 22 import android.graphics.SurfaceTexture; 187 SurfaceTexture surfaceTexture = getSurfaceTexture(); in createSurface() 250 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() 257 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) {} in onSurfaceTextureSizeChanged() 260 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() 266 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {} in onSurfaceTextureUpdated()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | SurfaceAndTextureViews.java | 22 import android.graphics.SurfaceTexture; 173 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 178 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 186 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 191 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 20 import android.graphics.SurfaceTexture; 281 protected SurfaceTexture mPreviewSurfaceTexture = null; 284 protected HashMap<EGLContext, SurfaceTexture> mTargetSurfaceTextures 285 = new HashMap<EGLContext, SurfaceTexture>(); 288 protected HashMap<SurfaceTexture, RenderTarget> mClientRenderTargets 289 = new HashMap<SurfaceTexture, RenderTarget>(); 319 SurfaceTexture surfTex = surfaceTextureForContext(context); in onRegisterClient() 322 surfTex.setOnFrameAvailableListener(new SurfaceTexture.OnFrameAvailableListener() { in onRegisterClient() 324 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onRegisterClient() 338 SurfaceTexture surfTex = surfaceTextureForContext(clientContext); in grabFrame() [all …]
|
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/ |
D | SampleRSActivity.java | 24 import android.graphics.SurfaceTexture; 52 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() 55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 68 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
|