HomeSort by relevance Sort by last modified time
    Searched refs:surfaceTexture (Results 1 - 25 of 40) sorted by null

1 2

  /frameworks/base/core/jni/android/graphics/
SurfaceTexture.cpp 17 #define LOG_TAG "SurfaceTexture"
37 "android/graphics/SurfaceTexture$OutOfResourcesException";
39 const char* const kSurfaceTextureClassPathName = "android/graphics/SurfaceTexture";
42 jfieldID surfaceTexture;
51 const sp<GLConsumer>& surfaceTexture)
54 (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture);
55 if (surfaceTexture.get()) {
56 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture);
61 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get())
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
MediaTexture.cpp 144 if (!video->surfaceTexture.get() || video->dimensions.isEmpty()
148 video->surfaceTexture->updateTexImage();
151 video->surfaceTexture->getTransformMatrix(surfaceMatrix);
169 m_contentTexture->surfaceTexture->updateTexImage();
171 sp<GraphicBuffer> buf = m_contentTexture->surfaceTexture->getCurrentBuffer();
283 wrapper->surfaceTexture = new android::GLConsumer(wrapper->textureId);
285 wrapper->surfaceTexture->getBufferQueue());
290 wrapper->surfaceTexture,
292 wrapper->surfaceTexture->setFrameAvailableListener(wrapper->mediaListener);
299 if (texture->surfaceTexture.get()
    [all...]
MediaListener.h 35 const sp<android::GLConsumer>& surfaceTexture,
40 , m_surfaceTexture(surfaceTexture)
MediaTexture.h 65 sp<android::GLConsumer> surfaceTexture;
  /cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java 18 import android.graphics.SurfaceTexture;
41 private final SurfaceTexture mSurfaceTexture;
58 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender,
64 mSurfaceTexture = surfaceTexture;
68 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs,
70 this(surfaceTexture, renderer, null, frames, delayMs, semaphore);
73 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
GLEnvironment.java 21 import android.graphics.SurfaceTexture;
110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) {
111 Surface surface = new Surface(surfaceTexture);
115 throw new RuntimeException("Error registering surfaceTexture " + surfaceTexture + "!");
  /frameworks/base/core/java/android/view/
GLES20TextureLayer.java 22 import android.graphics.SurfaceTexture;
31 private SurfaceTexture mSurface;
69 SurfaceTexture getSurfaceTexture() {
71 mSurface = new SurfaceTexture(mTexture, false);
76 void setSurfaceTexture(SurfaceTexture surfaceTexture) {
80 mSurface = surfaceTexture;
Surface.java 23 import android.graphics.SurfaceTexture;
35 private static native int nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture)
110 * Create Surface from a {@link SurfaceTexture}.
113 * SurfaceTexture}, which can attach them to an OpenGL ES texture via {@link
114 * SurfaceTexture#updateTexImage}.
116 * @param surfaceTexture The {@link SurfaceTexture} that is updated by this
119 public Surface(SurfaceTexture surfaceTexture) {
    [all...]
TextureView.java 25 import android.graphics.SurfaceTexture;
45 * {@link SurfaceTexture}. The {@link SurfaceTexture} can then be used to
63 * public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
74 * public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
78 * public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
84 * public void onSurfaceTextureUpdated(SurfaceTexture surface) {
90 * <p>A TextureView's SurfaceTexture can be obtained either by invoking
92 * It is important to know that a SurfaceTexture is available only after the
95 * be notified when the SurfaceTexture becomes available.</p
    [all...]