Searched defs:surfaceTexture (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/av/media/libmedia/
H A DIRemoteDisplayClient.cpp40 void onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture, argument
45 data.writeStrongBinder(surfaceTexture->asBinder());
78 sp<ISurfaceTexture> surfaceTexture(
83 onDisplayConnected(surfaceTexture, width, height, flags);
H A DIMediaPlayer.cpp117 status_t setVideoSurfaceTexture(const sp<ISurfaceTexture>& surfaceTexture) argument
121 sp<IBinder> b(surfaceTexture->asBinder());
386 sp<ISurfaceTexture> surfaceTexture = local
388 reply->writeInt32(setVideoSurfaceTexture(surfaceTexture));
H A Dmediaplayer.cpp226 const sp<ISurfaceTexture>& surfaceTexture)
231 return mPlayer->setVideoSurfaceTexture(surfaceTexture);
225 setVideoSurfaceTexture( const sp<ISurfaceTexture>& surfaceTexture) argument
/frameworks/base/core/java/android/view/
H A DGLES20TextureLayer.java76 void setSurfaceTexture(SurfaceTexture surfaceTexture) { argument
80 mSurface = surfaceTexture;
H A DTextureView.java362 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
719 * @param surfaceTexture The {@link SurfaceTexture} that the view should use.
722 public void setSurfaceTexture(SurfaceTexture surfaceTexture) { argument
723 if (surfaceTexture == null) {
724 throw new NullPointerException("surfaceTexture must not be null");
729 mSurface = surfaceTexture;
803 private static native void nSetDefaultBufferSize(SurfaceTexture surfaceTexture, argument
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.cpp93 android::sp<android::SurfaceTexture> surfaceTexture; local
114 surfaceTexture = android::SurfaceTexture_getSurfaceTexture(_env, win);
115 window = new android::SurfaceTextureClient(surfaceTexture);
/frameworks/av/media/libmediaplayerservice/
H A DMidiFile.h39 const sp<ISurfaceTexture>& surfaceTexture)
38 setVideoSurfaceTexture( const sp<ISurfaceTexture>& surfaceTexture) argument
H A DStagefrightPlayer.cpp73 const sp<ISurfaceTexture> &surfaceTexture) {
76 return mPlayer->setSurfaceTexture(surfaceTexture);
72 setVideoSurfaceTexture( const sp<ISurfaceTexture> &surfaceTexture) argument
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp67 status_t SimplePlayer::setSurface(const sp<ISurfaceTexture> &surfaceTexture) { argument
71 if (surfaceTexture != NULL) {
72 surfaceTextureClient = new SurfaceTextureClient(surfaceTexture);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp99 const sp<ISurfaceTexture> &surfaceTexture) {
100 mPlayer->setVideoSurfaceTexture(surfaceTexture);
98 setVideoSurfaceTexture( const sp<ISurfaceTexture> &surfaceTexture) argument
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp42 jfieldID surfaceTexture; member in struct:android::fields_t
50 const sp<SurfaceTexture>& surfaceTexture)
53 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture);
54 if (surfaceTexture.get()) {
55 surfaceTexture->incStrong(thiz);
60 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get());
65 sp<SurfaceTexture> surfaceTexture(
66 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture));
67 return surfaceTexture;
49 SurfaceTexture_setSurfaceTexture(JNIEnv* env, jobject thiz, const sp<SurfaceTexture>& surfaceTexture) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp63 virtual void onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture, argument
67 jobject surfaceObj = android_view_Surface_createFromISurfaceTexture(env, surfaceTexture);
70 surfaceTexture.get());
/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java77 void onFrameAvailable(SurfaceTexture surfaceTexture); argument
/frameworks/base/services/java/com/android/server/display/
H A DOverlayDisplayAdapter.java199 SurfaceTexture surfaceTexture) {
206 mSurfaceTexture = surfaceTexture;
285 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate) { argument
289 mWidth, mHeight, refreshRate, mDensityDpi, surfaceTexture);
197 OverlayDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int densityDpi, SurfaceTexture surfaceTexture) argument
H A 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); argument
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp127 const sp<ISurfaceTexture>& surfaceTexture) const
138 err = data.writeStrongBinder(surfaceTexture->asBinder());
291 sp<ISurfaceTexture> surfaceTexture = local
293 int32_t result = authenticateSurfaceTexture(surfaceTexture) ? 1 : 0;
H A DSurface.cpp253 "mSurface = %p, surfaceTexture = %p, mIdentity = %d, ",
299 void Surface::init(const sp<ISurfaceTexture>& surfaceTexture) argument
301 if (mSurface != NULL || surfaceTexture != NULL) {
302 ALOGE_IF(surfaceTexture==0, "got a NULL ISurfaceTexture from ISurface");
303 if (surfaceTexture != NULL) {
304 setISurfaceTexture(surfaceTexture);
/frameworks/rs/
H A DrsAllocation.h67 SurfaceTexture *surfaceTexture; member in struct:android::renderscript::Allocation::Hal::State
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.h64 void *surfaceTexture; member in struct:android::renderscript::Allocation::Hal::State
/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp299 void GenericMediaPlayer::setVideoSurfaceTexture(const sp<ISurfaceTexture> &surfaceTexture) { argument
302 if (mVideoSurfaceTexture.get() == surfaceTexture.get()) {
306 mPlayer->setVideoSurfaceTexture(surfaceTexture);
308 mVideoSurfaceTexture = surfaceTexture;
H A Dandroid_GenericPlayer.h81 virtual void setVideoSurfaceTexture(const sp<ISurfaceTexture> &surfaceTexture) {} argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { argument
111 Surface surface = new Surface(surfaceTexture);
115 throw new RuntimeException("Error registering surfaceTexture " + surfaceTexture + "!");
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp72 const sp<ISurfaceTexture>& surfaceTexture) {return OK;}
71 setVideoSurfaceTexture( const sp<ISurfaceTexture>& surfaceTexture) argument
/frameworks/av/camera/
H A DCamera.cpp188 status_t Camera::setPreviewTexture(const sp<ISurfaceTexture>& surfaceTexture) argument
190 ALOGV("setPreviewTexture(%p)", surfaceTexture.get());
193 if (surfaceTexture != 0) {
194 return c->setPreviewTexture(surfaceTexture);
H A DICamera.cpp83 status_t setPreviewTexture(const sp<ISurfaceTexture>& surfaceTexture) argument
88 sp<IBinder> b(surfaceTexture->asBinder());

Completed in 194 milliseconds

12