Home
last modified time | relevance | path

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

1234

/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp42 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/
DIRemoteDisplayClient.cpp40 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/
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/services/java/com/android/server/display/
DOverlayDisplayWindow.java292 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
DOverlayDisplayAdapter.java199 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/
Dandroid_media_RemoteDisplay.cpp63 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()
Dandroid_view_TextureView.cpp70 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()
Dandroid_hardware_Camera.cpp39 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/
DTextureView.java362 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
DGLES20TextureLayer.java76 void setSurfaceTexture(SurfaceTexture surfaceTexture) { in setSurfaceTexture() argument
80 mSurface = surfaceTexture; in setSurfaceTexture()
DSurface.java234 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/
DSurfaceTextureClient.h42 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/
DeglCreateWindowSurface.cpp93 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/
DHTML5VideoInline.java57 SurfaceTexture surfaceTexture = getSurfaceTexture(getVideoLayerId()); in decideDisplayMode() local
58 Surface surface = new Surface(surfaceTexture); in decideDisplayMode()
/frameworks/av/media/libstagefright/wifi-display/
Dwfd.cpp50 const sp<ISurfaceTexture> &surfaceTexture,
86 const sp<ISurfaceTexture> &surfaceTexture, in onDisplayConnected() argument
93 mSurfaceTexture = surfaceTexture; in onDisplayConnected()
/frameworks/native/libs/gui/
DSurface.cpp299 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()
DISurfaceComposer.cpp127 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()
DSurfaceTextureClient.cpp38 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/
DCamera.cpp188 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/
Dandroid_GenericMediaPlayer.cpp299 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/
Dandroid_view_Surface.h41 const sp<ISurfaceTexture>& surfaceTexture);
/frameworks/av/media/libmediaplayerservice/
DStagefrightPlayer.cpp73 const sp<ISurfaceTexture> &surfaceTexture) { in setVideoSurfaceTexture() argument
76 return mPlayer->setSurfaceTexture(surfaceTexture); in setVideoSurfaceTexture()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp114 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/
DIRemoteDisplayClient.h51 virtual void onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture,
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp99 const sp<ISurfaceTexture> &surfaceTexture) { in setVideoSurfaceTexture() argument
100 mPlayer->setVideoSurfaceTexture(surfaceTexture); in setVideoSurfaceTexture()

1234