OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:textureview
(Results
1 - 25
of
302
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
completion1-expected-completion10.txt
8
TextureView
/development/samples/browseable/BasicMediaDecoder/
_index.jd
8
This activity uses a
TextureView
to render the frames of a video decoded using the
/cts/tests/camera/src/android/hardware/camera2/cts/
Camera2MultiViewCtsActivity.java
23
import android.view.
TextureView
;
30
private
TextureView
[] mTextureView = new
TextureView
[2];
37
mTextureView[0] = (
TextureView
) findViewById(R.id.texture_view_1);
38
mTextureView[1] = (
TextureView
) findViewById(R.id.texture_view_2);
46
public
TextureView
getTextureView(int index) {
/development/samples/browseable/MediaRecorder/
_index.jd
9
A
TextureView
is used as the camera preview which limits the code to API 14+. This
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GetBitmapActivity.java
26
import android.view.
TextureView
;
36
public class GetBitmapActivity extends Activity implements
TextureView
.SurfaceTextureListener {
38
private
TextureView
mTextureView;
46
mTextureView = new
TextureView
(this);
50
button.setText("Copy bitmap to /sdcard/
textureview
.png");
57
Environment.getExternalStorageDirectory() + "/
textureview
.png");
87
android.util.Log.e("
TextureView
", "Cannot set preview texture target!", t);
CanvasTextureViewActivity.java
26
import android.view.
TextureView
;
31
implements
TextureView
.SurfaceTextureListener {
32
private
TextureView
mTextureView;
41
mTextureView = new
TextureView
(this);
72
private final
TextureView
mSurface;
75
public RenderingThread(
TextureView
surface) {
HardwareCanvasTextureViewActivity.java
27
import android.view.
TextureView
;
32
implements
TextureView
.SurfaceTextureListener {
33
private
TextureView
mTextureView;
42
mTextureView = new
TextureView
(this);
73
private final
TextureView
mView;
77
public RenderingThread(
TextureView
view) {
/developers/samples/android/media/Camera2Video/
template-params.xml
51
<android>android.view.
TextureView
</android>
62
and [CameraCaptureSession][2] to record video. It also uses a custom [
TextureView
][3] to render the output.
66
1. Create a custom
TextureView
class and add it to the layout. The purpose of the custom
TextureView
is
69
2. Implement a `
TextureView
.SurfaceTextureListener` on your
TextureView
, and override its
71
the matrix to apply to the
TextureView
so the camera output fits. Use the method `setTransform(matrix)` on
72
the
TextureView
.
81
where `surfaces` is a list consisting of the surface view of your
TextureView
and the surface of
89
[3]: http://developer.android.com/reference/android/view/
TextureView
.htm
[
all
...]
README.md
11
and [CameraCaptureSession][2] to record video. It also uses a custom [
TextureView
][3] to render the output.
15
1. Create a custom
TextureView
class and add it to the layout. The purpose of the custom
TextureView
is
18
2. Implement a `
TextureView
.SurfaceTextureListener` on your
TextureView
, and override its
20
the matrix to apply to the
TextureView
so the camera output fits. Use the method `setTransform(matrix)` on
21
the
TextureView
.
30
where `surfaces` is a list consisting of the surface view of your
TextureView
and the surface of
38
[3]: http://developer.android.com/reference/android/view/
TextureView
.html
/packages/apps/Camera2/src/com/android/camera/ui/
PreviewStatusListener.java
21
import android.view.
TextureView
;
28
public interface PreviewStatusListener extends
TextureView
.SurfaceTextureListener {
47
* Gets called when preview
TextureView
gets a layout change call.
54
* to a transform matrix being applied to the
TextureView
62
* preview
TextureView
should automatically adjust its transform matrix based
63
* on the current aspect ratio, width and height of the
TextureView
.
/docs/source.android.com/src/devices/graphics/
arch-tv.jd
1
page.title=
TextureView
28
<p>The
TextureView
class introduced in Android 4.0 and is the most complex of
33
data and making them available as textures.
TextureView
wraps a SurfaceTexture,
35
buffers. The arrival of new buffers causes
TextureView
to issue a View
36
invalidate request. When asked to draw, the
TextureView
uses the contents of
40
<p>You can render on a
TextureView
with GLES just as you would SurfaceView. Just
45
different processes. When rendering to a
TextureView
with GLES, both producer
64
<h2 id=surface_or_texture>SurfaceView or
TextureView
?</h2>
65
SurfaceView and
TextureView
fill similar roles, but have very different
69
<p>Because
TextureView
is a proper citizen of the View hierarchy, it behaves lik
[
all
...]
/cts/tests/tests/textureview/src/android/textureview/cts/
TextureViewSnapshotTestActivity.java
16
package android.
textureview
.cts;
23
import android.view.
TextureView
;
32
implements
TextureView
.SurfaceTextureListener {
35
private
TextureView
mTexView;
45
mTexView = new
TextureView
(this);
/developers/samples/android/media/MediaRecorder/
template-params.xml
27
A
TextureView
is used as the camera preview which limits the code to API 14+. This
50
<android>android.view.
TextureView
</android>
55
A
TextureView
is used as the camera preview which limits the code to API 14+. This
62
It uses the [Camera][2] as input source and displays a preview on a [
TextureView
][3]
72
[3]: https://developer.android.com/reference/android/view/
TextureView
.html
/frameworks/base/core/java/android/view/
TextureView.java
32
* <p>A
TextureView
can be used to display a content stream. Such a content
36
* <p>
TextureView
can only be used in a hardware accelerated window. When
37
* rendered in software,
TextureView
will draw nothing.</p>
39
* <p>Unlike {@link SurfaceView},
TextureView
does not create a separate
41
*
TextureView
to be moved, transformed, animated, etc. For instance, you
42
* can make a
TextureView
semi-translucent by calling
45
* <p>Using a
TextureView
is simple: all you need to do is get its
48
* camera preview into a
TextureView
:</p>
51
* public class LiveCameraActivity extends Activity implements
TextureView
.SurfaceTextureListener {
53
* private
TextureView
mTextureView
[
all
...]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
Camera2MultiViewTestCase.java
45
import android.view.
TextureView
;
58
* Camera2 test case base class by using mixed SurfaceView and
TextureView
as rendering target.
68
protected
TextureView
[] mTextureView = new
TextureView
[2];
128
* Update preview
TextureView
rotation to accommodate discrepancy between preview
139
protected void updatePreviewDisplayRotation(Size previewSize,
TextureView
textureView
) {
179
Matrix transformMatrix =
textureView
.getTransform(null);
180
int viewWidth =
textureView
.getWidth();
181
int viewHeight =
textureView
.getHeight()
[
all
...]
/developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.java
21
import android.view.
TextureView
;
24
* A {@link
TextureView
} that can be adjusted to a specified aspect ratio.
26
public class AutoFitTextureView extends
TextureView
{
/developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.java
21
import android.view.
TextureView
;
24
* A {@link
TextureView
} that can be adjusted to a specified aspect ratio.
26
public class AutoFitTextureView extends
TextureView
{
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.java
21
import android.view.
TextureView
;
24
* A {@link
TextureView
} that can be adjusted to a specified aspect ratio.
26
public class AutoFitTextureView extends
TextureView
{
/developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.java
21
import android.view.
TextureView
;
24
* A {@link
TextureView
} that can be adjusted to a specified aspect ratio.
26
public class AutoFitTextureView extends
TextureView
{
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
AutoFitTextureView.java
21
import android.view.
TextureView
;
24
* A {@link
TextureView
} that can be adjusted to a specified aspect ratio.
26
public class AutoFitTextureView extends
TextureView
{
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
AutoFitTextureView.java
21
import android.view.
TextureView
;
24
* A {@link
TextureView
} that can be adjusted to a specified aspect ratio.
26
public class AutoFitTextureView extends
TextureView
{
/cts/tests/tests/textureview/
AndroidManifest.xml
17
package="android.
textureview
.cts">
26
android:targetPackage="android.
textureview
.cts"
36
android:name="android.
textureview
.cts.TextureViewTestActivity"
44
android:name="android.
textureview
.cts.TextureViewSnapshotTestActivity"
/developers/build/prebuilts/gradle/Camera2Video/.google/
packaging.yaml
18
- android:android.view.
TextureView
/developers/build/prebuilts/gradle/Camera2Video/
README.md
11
and [CameraCaptureSession][2] to record video. It also uses a custom [
TextureView
][3] to render the output.
15
1. Create a custom
TextureView
class and add it to the layout. The purpose of the custom
TextureView
is
18
2. Implement a `
TextureView
.SurfaceTextureListener` on your
TextureView
, and override its
20
the matrix to apply to the
TextureView
so the camera output fits. Use the method `setTransform(matrix)` on
21
the
TextureView
.
30
where `surfaces` is a list consisting of the surface view of your
TextureView
and the surface of
38
[3]: http://developer.android.com/reference/android/view/
TextureView
.html
/developers/build/prebuilts/gradle/MediaRecorder/.google/
packaging.yaml
19
- android:android.view.
TextureView
Completed in 2296 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>