/frameworks/base/libs/hwui/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() 147 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() 208 void SurfaceTexture::attachToView() { in attachToView() [all …]
|
D | EGLConsumer.h | 30 class SurfaceTexture; variable 49 status_t updateTexImage(SurfaceTexture& st); 58 status_t releaseTexImage(SurfaceTexture& st); 72 status_t detachFromContext(SurfaceTexture& st); 89 status_t attachToContext(uint32_t tex, SurfaceTexture& st); 95 void onAcquireBufferLocked(BufferItem* item, SurfaceTexture& st); 141 SurfaceTexture& st); 148 status_t bindTextureImageLocked(SurfaceTexture& st); 158 status_t checkAndUpdateEglStateLocked(SurfaceTexture& st, bool contextCheck = false); 220 status_t doGLFenceWaitLocked(SurfaceTexture& st) const; [all …]
|
D | EGLConsumer.cpp | 87 status_t EGLConsumer::updateTexImage(SurfaceTexture& st) { in updateTexImage() 124 status_t EGLConsumer::releaseTexImage(SurfaceTexture& st) { in releaseTexImage() 129 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage() 143 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage() 174 if (st.mOpMode == SurfaceTexture::OpMode::attachedToGL) { in releaseTexImage() 212 void EGLConsumer::onAcquireBufferLocked(BufferItem* item, SurfaceTexture& st) { in onAcquireBufferLocked() 227 SurfaceTexture& st) { in updateAndReleaseLocked() 232 if (st.mOpMode != SurfaceTexture::OpMode::attachedToGL) { in updateAndReleaseLocked() 322 status_t EGLConsumer::bindTextureImageLocked(SurfaceTexture& st) { in bindTextureImageLocked() 370 status_t EGLConsumer::checkAndUpdateEglStateLocked(SurfaceTexture& st, bool contextCheck) { in checkAndUpdateEglStateLocked() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 70 public class SurfaceTexture { class 91 void onFrameAvailable(SurfaceTexture surfaceTexture); in onFrameAvailable() 117 public SurfaceTexture(int texName) { in SurfaceTexture() method in SurfaceTexture 138 public SurfaceTexture(int texName, boolean singleBufferMode) { in SurfaceTexture() method in SurfaceTexture 141 nativeInit(false, texName, singleBufferMode, new WeakReference<SurfaceTexture>(this)); in SurfaceTexture() 165 public SurfaceTexture(boolean singleBufferMode) { in SurfaceTexture() method in SurfaceTexture 168 nativeInit(true, 0, singleBufferMode, new WeakReference<SurfaceTexture>(this)); in SurfaceTexture() 211 listener.onFrameAvailable(SurfaceTexture.this); in setOnFrameAvailableListener() 387 private static void postEventFromNative(WeakReference<SurfaceTexture> weakSelf) { in postEventFromNative() 388 SurfaceTexture st = weakSelf.get(); in postEventFromNative() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 84 const sp<SurfaceTexture>& surfaceTexture) in SurfaceTexture_setSurfaceTexture() 86 SurfaceTexture* const p = in SurfaceTexture_setSurfaceTexture() 87 (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture() 112 jobject thiz, sp<SurfaceTexture::FrameAvailableListener> listener) in SurfaceTexture_setFrameAvailableListener() 114 SurfaceTexture::FrameAvailableListener* const p = in SurfaceTexture_setFrameAvailableListener() 115 (SurfaceTexture::FrameAvailableListener*) in SurfaceTexture_setFrameAvailableListener() 126 sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) { in SurfaceTexture_getSurfaceTexture() 127 return (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture() 135 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz)); in android_SurfaceTexture_getNativeWindow() 148 class JNISurfaceTextureContext : public SurfaceTexture::FrameAvailableListener [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | RSTextureView.java | 20 import android.graphics.SurfaceTexture; 33 private SurfaceTexture mSurfaceTexture; 68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() 81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() 94 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() 109 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 28 import android.graphics.SurfaceTexture; 114 private SurfaceTexture mSurface; 392 mSurface = new SurfaceTexture(false); in getTextureLayer() 726 public SurfaceTexture getSurfaceTexture() { in getSurfaceTexture() 745 public void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() 800 private final SurfaceTexture.OnFrameAvailableListener mUpdateListener = 801 new SurfaceTexture.OnFrameAvailableListener() { 803 public void onFrameAvailable(SurfaceTexture surfaceTexture) { 822 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height); in onSurfaceTextureAvailable() 832 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height); in onSurfaceTextureSizeChanged() [all …]
|
D | TextureLayer.java | 24 import android.graphics.SurfaceTexture; 133 public void setSurfaceTexture(SurfaceTexture surface) { in setSurfaceTexture() 152 private static native void nSetSurfaceTexture(long layerUpdater, SurfaceTexture surface); in nSetSurfaceTexture()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | SurfaceTextureSource.java | 29 import android.graphics.SurfaceTexture; 57 public void onSurfaceTextureSourceReady(SurfaceTexture source); in onSurfaceTextureSourceReady() 105 private SurfaceTexture mSurfaceTexture; 172 mSurfaceTexture = new SurfaceTexture(mMediaFrame.getTextureId()); in open() 247 private SurfaceTexture.OnFrameAvailableListener onFrameAvailableListener = 248 new SurfaceTexture.OnFrameAvailableListener() { 249 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/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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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 | 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 | 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/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/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/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/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/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/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/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()
|
/frameworks/base/core/jni/include/android_runtime/ |
D | android_graphics_SurfaceTexture.h | 27 class SurfaceTexture; variable 33 extern sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz);
|