Home
last modified time | relevance | path

Searched refs:surfaceTexture (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp45 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/
DGLEnvironment.java110 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/
DSurface.java35 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()
DGLES20TextureLayer.java81 void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument
85 mSurface = surfaceTexture; in setSurfaceTexture()
DTextureView.java370 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()
DHardwareRenderer.java561 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/
DOverlayDisplayWindow.java302 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
DOverlayDisplayAdapter.java203 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/
DGLHelper.h55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface,
72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
/frameworks/av/media/libmedia/
DIRemoteDisplayClient.cpp79 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/
DRenderTarget.java137 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()
DCameraStreamer.java324 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onRegisterClient()
471 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java235 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/
DSurfaceTexture.java80 void onFrameAvailable(SurfaceTexture surfaceTexture); in onFrameAvailable() argument
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp878 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/
DGpuVideoTrackDecoder.java76 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in GpuVideoTrackDecoder()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureSource.java260 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
DCameraSource.java349 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
DMediaSource.java567 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
/frameworks/rs/driver/
DrsdAllocation.h58 android::GLConsumer *surfaceTexture; member
DrsdAllocation.cpp772 drv->surfaceTexture->updateTexImage(); in rsdAllocationIoReceive()
/frameworks/base/core/java/android/hardware/
DCamera.java504 public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException; in setPreviewTexture() argument