/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 45 jfieldID surfaceTexture; member 55 const sp<GLConsumer>& surfaceTexture) in SurfaceTexture_setSurfaceTexture() argument 58 (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture() 59 if (surfaceTexture.get()) { in SurfaceTexture_setSurfaceTexture() 60 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture); in SurfaceTexture_setSurfaceTexture() 65 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture() 98 return (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture() 106 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz)); in android_SurfaceTexture_getNativeWindow() local 108 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ? new Surface(producer) : NULL); in android_SurfaceTexture_getNativeWindow() 203 fields.surfaceTexture = env->GetFieldID(clazz, in SurfaceTexture_classInit() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | GLEnvironment.java | 110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { in registerSurfaceTexture() argument 111 Surface surface = new Surface(surfaceTexture); in registerSurfaceTexture() 115 throw new RuntimeException("Error registering surfaceTexture " + surfaceTexture + "!"); in registerSurfaceTexture()
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 35 private static native int nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture) in nativeCreateFromSurfaceTexture() argument 121 public Surface(SurfaceTexture surfaceTexture) { in Surface() argument 122 if (surfaceTexture == null) { in Surface() 127 mName = surfaceTexture.toString(); in Surface() 128 setNativeObjectLocked(nativeCreateFromSurfaceTexture(surfaceTexture)); in Surface()
|
D | GLES20TextureLayer.java | 81 void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument 85 mSurface = surfaceTexture; in setSurfaceTexture()
|
D | TextureView.java | 370 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in getHardwareLayer() 738 public void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument 739 if (surfaceTexture == null) { in setSurfaceTexture() 745 mSurface = surfaceTexture; in setSurfaceTexture()
|
D | HardwareRenderer.java | 561 abstract void setSurfaceTexture(HardwareLayer layer, SurfaceTexture surfaceTexture); in setSurfaceTexture() argument 2220 void setSurfaceTexture(HardwareLayer layer, SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument 2221 ((GLES20TextureLayer) layer).setSurfaceTexture(surfaceTexture); in setSurfaceTexture()
|
/frameworks/base/services/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 302 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, 304 mListener.onWindowCreated(surfaceTexture, mDefaultDisplayInfo.refreshRate); 308 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 314 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, 319 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { 373 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate); in onWindowCreated() argument
|
D | OverlayDisplayAdapter.java | 203 SurfaceTexture surfaceTexture) { in OverlayDisplayDevice() argument 211 mSurfaceTexture = surfaceTexture; in OverlayDisplayDevice() 291 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate) { in onWindowCreated() argument 295 mWidth, mHeight, refreshRate, mDensityDpi, mSecure, surfaceTexture); in onWindowCreated()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.h | 55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface, 72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
|
/frameworks/av/media/libmedia/ |
D | IRemoteDisplayClient.cpp | 79 sp<IGraphicBufferProducer> surfaceTexture( in onTransact() local 85 onDisplayConnected(surfaceTexture, width, height, flags, session); in onTransact()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 137 public RenderTarget forSurfaceTexture(SurfaceTexture surfaceTexture) { in forSurfaceTexture() argument 141 eglSurf = mSurfaceSources.get(surfaceTexture); in forSurfaceTexture() 143 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceTexture, null); in forSurfaceTexture() 144 mSurfaceSources.put(surfaceTexture, eglSurf); in forSurfaceTexture() 150 result.setSurfaceSource(surfaceTexture); in forSurfaceTexture()
|
D | CameraStreamer.java | 324 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onRegisterClient() 471 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraDeviceBinderTest.java | 235 SurfaceTexture surfaceTexture = new SurfaceTexture(/* ignored */0); in testCreateStreamTwo() local 236 surfaceTexture.setDefaultBufferSize(640, 480); in testCreateStreamTwo() 237 Surface surface2 = new Surface(surfaceTexture); in testCreateStreamTwo()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 80 void onFrameAvailable(SurfaceTexture surfaceTexture); in onFrameAvailable() argument
|
/frameworks/base/core/jni/ |
D | android_view_GLES20Canvas.cpp | 878 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface)); in android_view_GLES20Canvas_updateTextureLayer() local 880 if (surfaceTexture->updateTexImage() == NO_ERROR) { in android_view_GLES20Canvas_updateTextureLayer() 881 int64_t frameNumber = surfaceTexture->getFrameNumber(); in android_view_GLES20Canvas_updateTextureLayer() 887 while (surfaceTexture->updateTexImage() == NO_ERROR) { in android_view_GLES20Canvas_updateTextureLayer() 888 int64_t newFrameNumber = surfaceTexture->getFrameNumber(); in android_view_GLES20Canvas_updateTextureLayer() 898 surfaceTexture->getTransformMatrix(transform); in android_view_GLES20Canvas_updateTextureLayer() 899 GLenum renderTarget = surfaceTexture->getCurrentTextureTarget(); in android_view_GLES20Canvas_updateTextureLayer()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | GpuVideoTrackDecoder.java | 76 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in GpuVideoTrackDecoder()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | SurfaceTextureSource.java | 260 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
D | CameraSource.java | 349 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
D | MediaSource.java | 567 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 58 android::GLConsumer *surfaceTexture; member
|
D | rsdAllocation.cpp | 772 drv->surfaceTexture->updateTexImage(); in rsdAllocationIoReceive()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 504 public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException; in setPreviewTexture() argument
|