/external/chromium_org/ui/android/java/src/org/chromium/ui/gl/ |
SurfaceTexturePlatformWrapper.java | 7 import android.graphics.SurfaceTexture; 15 * Wrapper class for the underlying platform's SurfaceTexture in order to 24 private static SurfaceTexture create(int textureId) { 25 return new SurfaceTexture(textureId); 29 private static SurfaceTexture createSingleBuffered(int textureId) { 31 return new SurfaceTexture(textureId, true); 35 private static void destroy(SurfaceTexture surfaceTexture) { 36 surfaceTexture.setOnFrameAvailableListener(null); 37 surfaceTexture.release() [all...] |
SurfaceTextureListener.java | 7 import android.graphics.SurfaceTexture; 12 * Listener to an android SurfaceTexture object for frame availability. 15 class SurfaceTextureListener implements SurfaceTexture.OnFrameAvailableListener { 25 public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
/external/chromium_org/ui/gl/android/ |
surface_texture.h | 20 // android SurfaceTexture class. 21 class GL_EXPORT SurfaceTexture 22 : public base::RefCountedThreadSafe<SurfaceTexture>{ 24 static scoped_refptr<SurfaceTexture> Create(int texture_id); 26 static scoped_refptr<SurfaceTexture> CreateSingleBuffered(int texture_id); 41 // This is *only* supported on SurfaceTexture instantiated via 52 // Attach the SurfaceTexture to the texture currently bound to 56 // Detaches the SurfaceTexture from the context that owns its current GL 69 // This should only be used to guard the SurfaceTexture instantiated via 76 explicit SurfaceTexture( [all...] |
surface_texture.cc | 29 scoped_refptr<SurfaceTexture> SurfaceTexture::Create(int texture_id) { 31 return new SurfaceTexture( 35 scoped_refptr<SurfaceTexture> SurfaceTexture::CreateSingleBuffered( 39 return new SurfaceTexture( 43 SurfaceTexture::SurfaceTexture( 48 SurfaceTexture::~SurfaceTexture() { [all...] |
surface_texture_tracker.h | 13 class SurfaceTexture; 22 virtual scoped_refptr<SurfaceTexture> AcquireSurfaceTexture(
|
gl_jni_registrar.cc | 17 { "SurfaceTexture", 18 gfx::SurfaceTexture::RegisterSurfaceTexture },
|
surface_texture_listener.h | 19 // Listener class for all the callbacks from android SurfaceTexture. 32 // it up to Java for being referenced by a SurfaceTexture instance. 36 friend class SurfaceTexture;
|
/cts/tests/tests/media/src/android/media/cts/ |
CompositionTextureView.java | 23 import android.graphics.SurfaceTexture; 67 public void onSurfaceTextureAvailable(SurfaceTexture arg0, int arg1, int arg2) { 76 public boolean onSurfaceTextureDestroyed(SurfaceTexture arg0) { 84 public void onSurfaceTextureSizeChanged(SurfaceTexture arg0, int arg1, int arg2) { 93 public void onSurfaceTextureUpdated(SurfaceTexture arg0) { 111 SurfaceTexture surfaceTexture = getSurfaceTexture(); 112 if (mSurface == null && surfaceTexture != null) { 113 recreateSurface(surfaceTexture); 118 private synchronized void recreateSurface(SurfaceTexture surfaceTexture) [all...] |
/frameworks/base/core/jni/android/graphics/ |
SurfaceTexture.cpp | 17 #define LOG_TAG "SurfaceTexture" 42 const char* const kSurfaceTextureClassPathName = "android/graphics/SurfaceTexture"; 45 jfieldID surfaceTexture; 55 const sp<GLConsumer>& surfaceTexture) 58 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); 59 if (surfaceTexture.get()) { 60 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture); 65 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); 98 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
stream_texture_manager_in_process_android.h | 16 class SurfaceTexture; 34 scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture(uint32 stream_id); 39 typedef std::map<uint32, scoped_refptr<gfx::SurfaceTexture> > TextureMap;
|
stream_texture_manager_in_process_android.cc | 19 // Simply wraps a SurfaceTexture reference as a GLImage. 22 GLImageImpl(const scoped_refptr<gfx::SurfaceTexture>& surface_texture, 38 scoped_refptr<gfx::SurfaceTexture> surface_texture_; 45 const scoped_refptr<gfx::SurfaceTexture>& surface_texture, 98 scoped_refptr<gfx::SurfaceTexture> surface_texture( 99 gfx::SurfaceTexture::Create(texture->service_id())); 141 scoped_refptr<gfx::SurfaceTexture>
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
SurfaceTextureSource.java | 29 import android.graphics.SurfaceTexture; 35 /** <p>A filter that converts textures from a SurfaceTexture object into frames for 39 * the graph, use the SurfaceTexture object passed to the callback to feed 40 * frames into the filter graph. For example, pass the SurfaceTexture into 42 * android.hardware.Camera.setPreviewTexture(android.graphics.SurfaceTexture)}. 46 * should obtain from wherever the SurfaceTexture data is coming from to avoid 57 public void onSurfaceTextureSourceReady(SurfaceTexture source); 59 /** A callback to send the internal SurfaceTexture object to, once it is 62 * place. The SurfaceTexture object passed to this callback is the only way 73 * SurfaceTexture source is known, use it here to minimize resampling. * [all...] |
/frameworks/base/graphics/java/android/graphics/ |
SurfaceTexture.java | 31 * {@link android.view.Surface} created from a SurfaceTexture can be used as an output 35 * when the SurfaceTexture was created are updated to contain the most recent image from the image 38 * <p>A SurfaceTexture may also be used in place of a SurfaceHolder when specifying the output 40 * frames from the image stream to be sent to the SurfaceTexture object rather than to the device's 64 * <p>SurfaceTexture objects may be created on any thread. {@link #updateTexImage} may only be 69 public class SurfaceTexture { 84 void onFrameAvailable(SurfaceTexture surfaceTexture); 88 * Exception thrown when a SurfaceTexture couldn't be created or resized. 104 * Construct a new SurfaceTexture to stream images to a given OpenGL texture [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SurfaceTextureScreenNail.java | 21 import android.graphics.SurfaceTexture; 29 SurfaceTexture.OnFrameAvailableListener { 37 private SurfaceTexture mSurfaceTexture; 48 mSurfaceTexture = new SurfaceTexture(mExtTexture.getId()); 57 private static void setDefaultBufferSize(SurfaceTexture st, int width, int height) { 64 private static void releaseSurfaceTexture(SurfaceTexture st) { 71 public SurfaceTexture getSurfaceTexture() { 141 abstract public void onFrameAvailable(SurfaceTexture surfaceTexture);
|
/development/ndk/platforms/android-14/samples/native-media/res/values/ |
strings.xml | 24 <item>SurfaceTexture 1</item> 25 <item>SurfaceTexture 2</item>
|
/external/chromium_org/ui/gl/ |
gl_image_surface_texture.h | 14 class SurfaceTexture; 36 scoped_refptr<SurfaceTexture> surface_texture_;
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglCreateWindowSurface.java | 39 } else if (win instanceof SurfaceTexture) { 45 "Surface, SurfaceView, SurfaceTexture or SurfaceHolder at the moment, " +
|
/packages/apps/InCallUI/src/com/android/incallui/ |
VideoCallFragment.java | 21 import android.graphics.SurfaceTexture; 97 * Inner-class representing a {@link TextureView} and its associated {@link SurfaceTexture} and 105 private SurfaceTexture mSavedSurfaceTexture; 136 * saved {@link SurfaceTexture} to the 151 * Handles {@link SurfaceTexture} callback to indicate that a {@link SurfaceTexture} has 154 * @param surfaceTexture The {@link SurfaceTexture} which has been created. 155 * @param width The width of the {@link SurfaceTexture}. 156 * @param height The height of the {@link SurfaceTexture} [all...] |
/external/chromium_org/gpu/command_buffer/tests/ |
gl_unittests_android.cc | 38 // abstraction for the SurfaceTexture in this test. 41 scoped_refptr<gfx::SurfaceTexture> surface_texture( 42 gfx::SurfaceTexture::Create(texture));
|
/frameworks/base/core/java/android/view/ |
TextureView.java | 25 import android.graphics.SurfaceTexture; 44 * {@link SurfaceTexture}. The {@link SurfaceTexture} can then be used to 62 * public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 73 * public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 77 * public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 83 * public void onSurfaceTextureUpdated(SurfaceTexture surface) { 89 * <p>A TextureView's SurfaceTexture can be obtained either by invoking 91 * It is important to know that a SurfaceTexture is available only after the 94 * be notified when the SurfaceTexture becomes available.</p [all...] |
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewSnapshotTestActivity.java | 21 import android.graphics.SurfaceTexture; 61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 68 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 72 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 78 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
CanvasTextureViewActivity.java | 23 import android.graphics.SurfaceTexture; 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 67 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
GetBitmapActivity.java | 21 import android.graphics.SurfaceTexture; 81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 106 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
TextureViewSubPane.java | 23 import android.graphics.SurfaceTexture; 44 private SurfaceTexture mSurfaceTexture; 78 mSizes = streamConfigMap.getOutputSizes(SurfaceTexture.class); 145 public void onSurfaceTextureAvailable(final SurfaceTexture surface, final int width, 152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 157 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 162 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|