/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 42 jfieldID surfaceTexture; member 50 const sp<SurfaceTexture>& surfaceTexture) in SurfaceTexture_setSurfaceTexture() argument 53 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture() 54 if (surfaceTexture.get()) { in SurfaceTexture_setSurfaceTexture() 55 surfaceTexture->incStrong(thiz); in SurfaceTexture_setSurfaceTexture() 60 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture() 65 sp<SurfaceTexture> surfaceTexture( in SurfaceTexture_getSurfaceTexture() local 66 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture)); in SurfaceTexture_getSurfaceTexture() 67 return surfaceTexture; in SurfaceTexture_getSurfaceTexture() 73 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz)); in android_SurfaceTexture_getNativeWindow() local [all …]
|
/frameworks/av/media/libmedia/ |
D | IRemoteDisplayClient.cpp | 40 void onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture, in onDisplayConnected() argument 45 data.writeStrongBinder(surfaceTexture->asBinder()); in onDisplayConnected() 78 sp<ISurfaceTexture> surfaceTexture( in onTransact() local 83 onDisplayConnected(surfaceTexture, width, height, flags); in onTransact()
|
/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/services/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 292 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, 294 mListener.onWindowCreated(surfaceTexture, mDefaultDisplayInfo.refreshRate); 298 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { 304 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, 309 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { 363 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate); in onWindowCreated() argument
|
D | OverlayDisplayAdapter.java | 199 SurfaceTexture surfaceTexture) { in OverlayDisplayDevice() argument 206 mSurfaceTexture = surfaceTexture; in OverlayDisplayDevice() 285 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate) { in onWindowCreated() argument 289 mWidth, mHeight, refreshRate, mDensityDpi, surfaceTexture); in onWindowCreated()
|
/frameworks/base/core/jni/ |
D | android_media_RemoteDisplay.cpp | 63 virtual void onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture, in onDisplayConnected() argument 67 jobject surfaceObj = android_view_Surface_createFromISurfaceTexture(env, surfaceTexture); in onDisplayConnected() 70 surfaceTexture.get()); in onDisplayConnected()
|
D | android_view_TextureView.cpp | 70 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface)); in android_view_TextureView_setDefaultBufferSize() local 71 surfaceTexture->setDefaultBufferSize(width, height); in android_view_TextureView_setDefaultBufferSize() 104 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface)); in android_view_TextureView_createNativeWindow() local 105 sp<ANativeWindow> window = new SurfaceTextureClient(surfaceTexture); in android_view_TextureView_createNativeWindow()
|
D | android_hardware_Camera.cpp | 39 jfieldID surfaceTexture; member 558 sp<SurfaceTexture> surfaceTexture = reinterpret_cast<SurfaceTexture*>(env->GetIntField( in android_hardware_Camera_setPreviewTexture() local 559 jSurfaceTexture, fields.surfaceTexture)); in android_hardware_Camera_setPreviewTexture() 560 if (surfaceTexture != NULL) { in android_hardware_Camera_setPreviewTexture() 561 bufferQueue = surfaceTexture->getBufferQueue(); in android_hardware_Camera_setPreviewTexture() 970 ANDROID_GRAPHICS_SURFACETEXTURE_JNI_ID, "I", &fields.surfaceTexture }, in register_android_hardware_Camera()
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 362 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in getHardwareLayer() 722 public void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument 723 if (surfaceTexture == null) { in setSurfaceTexture() 729 mSurface = surfaceTexture; in setSurfaceTexture() 803 private static native void nSetDefaultBufferSize(SurfaceTexture surfaceTexture, in nSetDefaultBufferSize() argument
|
D | GLES20TextureLayer.java | 76 void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument 80 mSurface = surfaceTexture; in setSurfaceTexture()
|
D | Surface.java | 234 private native void nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture) in nativeCreateFromSurfaceTexture() argument 353 public Surface(SurfaceTexture surfaceTexture) { in Surface() argument 354 if (surfaceTexture == null) { in Surface() 360 mName = surfaceTexture.toString(); in Surface() 362 nativeCreateFromSurfaceTexture(surfaceTexture); in Surface()
|
/frameworks/native/include/gui/ |
D | SurfaceTextureClient.h | 42 SurfaceTextureClient(const sp<ISurfaceTexture>& surfaceTexture); 48 SurfaceTextureClient(const sp<SurfaceTexture>& surfaceTexture); 55 void setISurfaceTexture(const sp<ISurfaceTexture>& surfaceTexture);
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.cpp | 93 android::sp<android::SurfaceTexture> surfaceTexture; in android_eglCreateWindowSurfaceTexture() local 114 surfaceTexture = android::SurfaceTexture_getSurfaceTexture(_env, win); in android_eglCreateWindowSurfaceTexture() 115 window = new android::SurfaceTextureClient(surfaceTexture); in android_eglCreateWindowSurfaceTexture()
|
/frameworks/base/core/java/android/webkit/ |
D | HTML5VideoInline.java | 57 SurfaceTexture surfaceTexture = getSurfaceTexture(getVideoLayerId()); in decideDisplayMode() local 58 Surface surface = new Surface(surfaceTexture); in decideDisplayMode()
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | wfd.cpp | 50 const sp<ISurfaceTexture> &surfaceTexture, 86 const sp<ISurfaceTexture> &surfaceTexture, in onDisplayConnected() argument 93 mSurfaceTexture = surfaceTexture; in onDisplayConnected()
|
/frameworks/native/libs/gui/ |
D | Surface.cpp | 299 void Surface::init(const sp<ISurfaceTexture>& surfaceTexture) in init() argument 301 if (mSurface != NULL || surfaceTexture != NULL) { in init() 302 ALOGE_IF(surfaceTexture==0, "got a NULL ISurfaceTexture from ISurface"); in init() 303 if (surfaceTexture != NULL) { in init() 304 setISurfaceTexture(surfaceTexture); in init()
|
D | ISurfaceComposer.cpp | 127 const sp<ISurfaceTexture>& surfaceTexture) const in authenticateSurfaceTexture() 138 err = data.writeStrongBinder(surfaceTexture->asBinder()); in authenticateSurfaceTexture() 291 sp<ISurfaceTexture> surfaceTexture = in onTransact() local 293 int32_t result = authenticateSurfaceTexture(surfaceTexture) ? 1 : 0; in onTransact()
|
D | SurfaceTextureClient.cpp | 38 const sp<ISurfaceTexture>& surfaceTexture) in SurfaceTextureClient() argument 41 SurfaceTextureClient::setISurfaceTexture(surfaceTexture); in SurfaceTextureClient() 46 sp<SurfaceTexture>& surfaceTexture) in SurfaceTextureClient() argument 49 SurfaceTextureClient::setISurfaceTexture(surfaceTexture->getBufferQueue()); in SurfaceTextureClient() 97 const sp<ISurfaceTexture>& surfaceTexture) in setISurfaceTexture() argument 99 mSurfaceTexture = surfaceTexture; in setISurfaceTexture()
|
/frameworks/av/camera/ |
D | Camera.cpp | 188 status_t Camera::setPreviewTexture(const sp<ISurfaceTexture>& surfaceTexture) in setPreviewTexture() argument 190 ALOGV("setPreviewTexture(%p)", surfaceTexture.get()); in setPreviewTexture() 193 if (surfaceTexture != 0) { in setPreviewTexture() 194 return c->setPreviewTexture(surfaceTexture); in setPreviewTexture()
|
/frameworks/wilhelm/src/android/ |
D | android_GenericMediaPlayer.cpp | 299 void GenericMediaPlayer::setVideoSurfaceTexture(const sp<ISurfaceTexture> &surfaceTexture) { in setVideoSurfaceTexture() argument 302 if (mVideoSurfaceTexture.get() == surfaceTexture.get()) { in setVideoSurfaceTexture() 306 mPlayer->setVideoSurfaceTexture(surfaceTexture); in setVideoSurfaceTexture() 308 mVideoSurfaceTexture = surfaceTexture; in setVideoSurfaceTexture()
|
/frameworks/base/include/android_runtime/ |
D | android_view_Surface.h | 41 const sp<ISurfaceTexture>& surfaceTexture);
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightPlayer.cpp | 73 const sp<ISurfaceTexture> &surfaceTexture) { in setVideoSurfaceTexture() argument 76 return mPlayer->setSurfaceTexture(surfaceTexture); in setVideoSurfaceTexture()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 114 const sp<ISurfaceTexture> &surfaceTexture, in configure() argument 118 if (surfaceTexture != NULL) { in configure() 119 mSurfaceTextureClient = new SurfaceTextureClient(surfaceTexture); in configure() 371 sp<ISurfaceTexture> surfaceTexture; in android_media_MediaCodec_native_configure() local 375 surfaceTexture = surface->getSurfaceTexture(); in android_media_MediaCodec_native_configure() 390 err = codec->configure(format, surfaceTexture, crypto, flags); in android_media_MediaCodec_native_configure()
|
/frameworks/av/include/media/ |
D | IRemoteDisplayClient.h | 51 virtual void onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 99 const sp<ISurfaceTexture> &surfaceTexture) { in setVideoSurfaceTexture() argument 100 mPlayer->setVideoSurfaceTexture(surfaceTexture); in setVideoSurfaceTexture()
|