OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mSurfaceTexture
(Results
1 - 19
of
19
) sorted by null
/frameworks/base/graphics/java/android/renderscript/
RSTextureView.java
39
private SurfaceTexture
mSurfaceTexture
;
76
mSurfaceTexture
= surface;
79
mRS.setSurfaceTexture(
mSurfaceTexture
, width, height);
89
mSurfaceTexture
= surface;
92
mRS.setSurfaceTexture(
mSurfaceTexture
, width, height);
102
mSurfaceTexture
= surface;
117
mSurfaceTexture
= surface;
160
if (
mSurfaceTexture
!= null) {
161
mRS.setSurfaceTexture(
mSurfaceTexture
, getWidth(), getHeight());
185
if (
mSurfaceTexture
!= null)
[
all
...]
/frameworks/base/core/java/android/webkit/
HTML5VideoInline.java
37
private static SurfaceTexture
mSurfaceTexture
= null;
88
||
mSurfaceTexture
== null
95
mSurfaceTexture
= new SurfaceTexture(mTextureNames[0]);
98
return
mSurfaceTexture
;
102
return (
mSurfaceTexture
== null);
112
mSurfaceTexture
= null;
127
if (
mSurfaceTexture
!= null) {
128
mSurfaceTexture
.setOnFrameAvailableListener(l);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
SurfaceTextureScreenNail.java
35
private SurfaceTexture
mSurfaceTexture
;
46
mSurfaceTexture
= new SurfaceTexture(mExtTexture.getId());
47
setDefaultBufferSize(
mSurfaceTexture
, mWidth, mHeight);
48
mSurfaceTexture
.setOnFrameAvailableListener(this);
70
return
mSurfaceTexture
;
79
releaseSurfaceTexture(
mSurfaceTexture
);
80
mSurfaceTexture
= null;
91
setDefaultBufferSize(
mSurfaceTexture
, mWidth, mHeight);
109
mSurfaceTexture
.updateTexImage();
110
mSurfaceTexture
.getTransformMatrix(mTransform)
[
all
...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
SurfaceTextureSource.java
116
private SurfaceTexture
mSurfaceTexture
;
183
mSurfaceTexture
= new SurfaceTexture(mMediaFrame.getTextureId());
185
mSurfaceTexture
.setOnFrameAvailableListener(onFrameAvailableListener);
187
mSourceListener.onSurfaceTextureSourceReady(
mSurfaceTexture
);
216
mSurfaceTexture
.updateTexImage();
218
mSurfaceTexture
.getTransformMatrix(mFrameTransform);
230
output.setTimestamp(
mSurfaceTexture
.getTimestamp());
240
mSurfaceTexture
.release();
241
mSurfaceTexture
= null;
CameraSource.java
79
private SurfaceTexture
mSurfaceTexture
;
156
mSurfaceTexture
= new SurfaceTexture(mCameraFrame.getTextureId());
158
mCamera.setPreviewTexture(
mSurfaceTexture
);
165
mSurfaceTexture
.setOnFrameAvailableListener(onCameraFrameAvailableListener);
191
mSurfaceTexture
.updateTexImage();
194
mSurfaceTexture
.getTransformMatrix(mCameraTransform);
206
long timestamp =
mSurfaceTexture
.getTimestamp();
224
mSurfaceTexture
.release();
225
mSurfaceTexture
= null;
SurfaceTextureTarget.java
62
private SurfaceTexture
mSurfaceTexture
;
115
if (
mSurfaceTexture
== null) {
165
if (
mSurfaceTexture
== null) {
167
throw new RuntimeException("Could not register SurfaceTexture: " +
mSurfaceTexture
);
170
mSurfaceTexture
, mScreenWidth, mScreenHeight);
172
throw new RuntimeException("Could not register SurfaceTexture: " +
mSurfaceTexture
);
179
// may not set the
mSurfaceTexture
again on the filter. In some cases, the app
197
if (
mSurfaceTexture
== null) {
201
mSurfaceTexture
= null;
MediaSource.java
107
private SurfaceTexture
mSurfaceTexture
;
219
mSurfaceTexture
= new SurfaceTexture(mMediaFrame.getTextureId());
295
mSurfaceTexture
.updateTexImage();
300
mSurfaceTexture
.getTransformMatrix(surfaceTransform);
343
long timestamp =
mSurfaceTexture
.getTimestamp();
367
mSurfaceTexture
.release();
368
mSurfaceTexture
= null;
500
Surface surface = new Surface(
mSurfaceTexture
);
511
mSurfaceTexture
.setOnFrameAvailableListener(onMediaFrameAvailableListener);
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
CameraCapture.java
37
private SurfaceTexture
mSurfaceTexture
;
62
mSurfaceTexture
= st;
85
mSurfaceTexture
.updateTexImage();
86
mSurfaceTexture
.getTransformMatrix(mCameraTransform);
101
mSurfaceTexture
= null;
128
mCamera.setPreviewTexture(
mSurfaceTexture
);
135
mSurfaceTexture
.setOnFrameAvailableListener(onCameraFrameAvailableListener);
/frameworks/native/services/surfaceflinger/
Layer.cpp
77
mSurfaceTexture
->setReleaseFence(layer->getAndResetReleaseFenceFd());
99
mSurfaceTexture
= new SurfaceTexture(mTextureName, true,
102
mSurfaceTexture
->setConsumerUsageBits(getEffectiveUsage(0));
103
mSurfaceTexture
->setFrameAvailableListener(new FrameQueuedListener(this));
104
mSurfaceTexture
->setSynchronousMode(true);
108
mSurfaceTexture
->setDefaultMaxBufferCount(2);
110
mSurfaceTexture
->setDefaultMaxBufferCount(3);
130
mSurfaceTexture
->abandon();
135
mSurfaceTexture
->setName(name);
146
res = that->
mSurfaceTexture
->getBufferQueue()
[
all
...]
Layer.h
115
sp<SurfaceTexture>
mSurfaceTexture
;
/cts/tests/tests/hardware/src/android/hardware/cts/
CameraGLTest.java
86
SurfaceTexture
mSurfaceTexture
;
140
mSurfaceTexture
= new SurfaceTexture(mRenderer.getTextureID());
168
mSurfaceTexture
= null;
348
mCamera.setPreviewTexture(
mSurfaceTexture
);
356
mCamera.setPreviewTexture(
mSurfaceTexture
);
366
mCamera.setPreviewTexture(
mSurfaceTexture
);
389
mSurfaceTexture
.setOnFrameAvailableListener(mSurfaceTextureCallback);
390
mCamera.setPreviewTexture(
mSurfaceTexture
);
406
mSurfaceTexture
.setOnFrameAvailableListener(mSurfaceTextureCallback);
408
mCamera.setPreviewTexture(
mSurfaceTexture
);
[
all
...]
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
SurfaceTextureView.java
26
private SurfaceTexture
mSurfaceTexture
;
31
return
mSurfaceTexture
;
191
mSurfaceTexture
= new SurfaceTexture(mTextureName);
192
mSurfaceTexture
.setOnFrameAvailableListener(new OnFrameAvailableListener() {
220
mSurfaceTexture
.updateTexImage();
221
mSurfaceTexture
.getTransformMatrix(mTransformMatrix);
/cts/tests/tests/textureview/src/android/textureview/cts/
GLProducerThread.java
41
private final SurfaceTexture
mSurfaceTexture
;
64
mSurfaceTexture
= surfaceTexture;
116
mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0],
mSurfaceTexture
, null);
/frameworks/base/services/java/com/android/server/display/
OverlayDisplayAdapter.java
194
private SurfaceTexture
mSurfaceTexture
;
206
mSurfaceTexture
= surfaceTexture;
210
if (
mSurfaceTexture
!= null) {
211
mSurfaceTexture
= null;
218
if (
mSurfaceTexture
!= null) {
220
mSurface = new Surface(
mSurfaceTexture
);
/frameworks/native/libs/gui/
SurfaceTextureClient.cpp
99
mSurfaceTexture
= surfaceTexture;
103
return
mSurfaceTexture
;
191
status_t res =
mSurfaceTexture
->setSynchronousMode(interval ? true : false);
205
status_t result =
mSurfaceTexture
->dequeueBuffer(&buf, fence, reqW, reqH,
219
result =
mSurfaceTexture
->requestBuffer(buf, &gbuf);
253
mSurfaceTexture
->cancelBuffer(i, fence);
302
status_t err =
mSurfaceTexture
->queueBuffer(i, input, &output);
330
if (composer->authenticateSurfaceTexture(
mSurfaceTexture
)) {
354
err =
mSurfaceTexture
->query(what, value);
363
return
mSurfaceTexture
->query(what, value)
[
all
...]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java
162
private SurfaceTexture
mSurfaceTexture
;
480
if (
mSurfaceTexture
!= null) {
481
mSurfaceTexture
.release();
483
mSurfaceTexture
= new SurfaceTexture(textureID);
485
mSurfaceTexture
.setOnFrameAvailableListener(PanoramaActivity.this);
527
mSurfaceTexture
.updateTexImage();
528
mSurfaceTexture
.getTransformMatrix(mTransformMatrix);
616
mSurfaceTexture
.setOnFrameAvailableListener(null);
759
// If
mSurfaceTexture
== null then GL setup is not finished yet.
761
if (mPausing || mThreadRunning ||
mSurfaceTexture
== null) return
[
all
...]
/frameworks/base/graphics/java/android/graphics/
SurfaceTexture.java
71
private int
mSurfaceTexture
;
/frameworks/native/include/gui/
SurfaceTextureClient.h
135
//
mSurfaceTexture
is the interface to the surface texture server. All
138
sp<ISurfaceTexture>
mSurfaceTexture
;
/packages/apps/Camera/src/com/android/camera/
PhotoModule.java
175
private Object
mSurfaceTexture
;
[
all
...]
Completed in 819 milliseconds