Lines Matching refs:TextureView

30  * <p>A TextureView can be used to display a content stream. Such a content
34 * <p>TextureView can only be used in a hardware accelerated window. When
35 * rendered in software, TextureView will draw nothing.</p>
37 * <p>Unlike {@link SurfaceView}, TextureView does not create a separate
39 * TextureView to be moved, transformed, animated, etc. For instance, you
40 * can make a TextureView semi-translucent by calling
43 * <p>Using a TextureView is simple: all you need to do is get its
46 * camera preview into a TextureView:</p>
49 * public class LiveCameraActivity extends Activity implements TextureView.SurfaceTextureListener {
51 * private TextureView mTextureView;
56 * mTextureView = new TextureView(this);
89 * <p>A TextureView's SurfaceTexture can be obtained either by invoking
92 * TextureView is attached to a window (and {@link #onAttachedToWindow()} has
96 * <p>It is important to note that only one producer can use the TextureView.
97 * For instance, if you use a TextureView to display the camera preview, you
98 * cannot use {@link #lockCanvas()} to draw onto the TextureView at the same
104 public class TextureView extends View {
105 private static final String LOG_TAG = "TextureView";
129 * Creates a new TextureView.
133 public TextureView(Context context) {
139 * Creates a new TextureView.
144 public TextureView(Context context, AttributeSet attrs) {
150 * Creates a new TextureView.
158 public TextureView(Context context, AttributeSet attrs, int defStyleAttr) {
164 * Creates a new TextureView.
176 public TextureView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
194 * Indicates whether the content of this TextureView is opaque. The
197 * @param opaque True if the content of this TextureView is opaque,
214 Log.w(LOG_TAG, "A TextureView or a subclass can only be "
254 * The layer type of a TextureView is ignored since a TextureView is always
257 * this TextureView.
300 * Subclasses of TextureView cannot do their own rendering
315 * Subclasses of TextureView cannot do their own rendering
600 * TextureView is available for rendering. When this method returns
622 * owned by another producer. For instance, if the TextureView is being used
734 * @see #setSurfaceTextureListener(android.view.TextureView.SurfaceTextureListener)
767 * Invoked when a {@link TextureView}'s SurfaceTexture is ready for use.
770 * {@link android.view.TextureView#getSurfaceTexture()}
780 * {@link android.view.TextureView#getSurfaceTexture()}