Searched refs:surfaceTexture (Results 1 - 25 of 75) sorted by relevance

123

/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/include/android_runtime/
H A Dandroid_view_Surface.h41 const sp<ISurfaceTexture>& surfaceTexture);
/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/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);
/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
H A DSurface.java231 private native void nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture) argument
345 * @param surfaceTexture The {@link SurfaceTexture} that is updated by this
348 public Surface(SurfaceTexture surfaceTexture) { argument
349 if (surfaceTexture == null) {
350 throw new IllegalArgumentException("surfaceTexture must not be null");
355 mName = surfaceTexture.toString();
357 nativeCreateFromSurfaceTexture(surfaceTexture);
/frameworks/av/include/media/
H A DIRemoteDisplayClient.h51 virtual void onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture,
H A DIMediaPlayer.h49 const sp<ISurfaceTexture>& surfaceTexture) = 0;
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoInline.java57 SurfaceTexture surfaceTexture = getSurfaceTexture(getVideoLayerId());
58 Surface surface = new Surface(surfaceTexture);
/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());
H A Dandroid_view_TextureView.cpp70 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface));
71 surfaceTexture->setDefaultBufferSize(width, height);
104 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface));
105 sp<ANativeWindow> window = new SurfaceTextureClient(surfaceTexture);
/frameworks/native/include/gui/
H A DSurfaceTextureClient.h42 SurfaceTextureClient(const sp<ISurfaceTexture>& surfaceTexture);
47 // passes in the surfaceTexture's bufferQueue to the init method.
48 SurfaceTextureClient(const sp<SurfaceTexture>& surfaceTexture);
55 void setISurfaceTexture(const sp<ISurfaceTexture>& surfaceTexture);
/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/base/services/java/com/android/server/display/
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
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
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp73 const sp<ISurfaceTexture> &surfaceTexture) {
76 return mPlayer->setSurfaceTexture(surfaceTexture);
72 setVideoSurfaceTexture( const sp<ISurfaceTexture> &surfaceTexture) argument
H A DStagefrightPlayer.h44 const sp<ISurfaceTexture> &surfaceTexture);
/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);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h35 status_t setSurface(const sp<ISurfaceTexture> &surfaceTexture);
/frameworks/av/include/camera/
H A DICamera.h54 const sp<ISurfaceTexture>& surfaceTexture) = 0;
/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java77 void onFrameAvailable(SurfaceTexture surfaceTexture); argument
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_structs.h45 void * surfaceTexture; member in struct:Allocation::__anon1205::__anon1206
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h46 const sp<ISurfaceTexture> &surfaceTexture,
/frameworks/native/libs/gui/
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);

Completed in 249 milliseconds

123