Home
last modified time | relevance | path

Searched refs:surfaceTexture (Results 1 – 25 of 31) sorted by relevance

12

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DVideoProcessingGLSurfaceView.java77 @Nullable private SurfaceTexture surfaceTexture; field in VideoProcessingGLSurfaceView
184 releaseSurface(surfaceTexture, surface); in onDetachedFromWindow()
185 surfaceTexture = null; in onDetachedFromWindow()
191 private void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture) { in onSurfaceTextureAvailable() argument
194 SurfaceTexture oldSurfaceTexture = this.surfaceTexture; in onSurfaceTextureAvailable()
196 this.surfaceTexture = surfaceTexture; in onSurfaceTextureAvailable()
197 this.surface = new Surface(surfaceTexture); in onSurfaceTextureAvailable()
223 @Nullable private SurfaceTexture surfaceTexture; field in VideoProcessingGLSurfaceView.VideoRenderer
243 surfaceTexture = new SurfaceTexture(texture); in onSurfaceCreated()
244 surfaceTexture.setOnFrameAvailableListener( in onSurfaceCreated()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DVideoProcessingGLSurfaceView.java77 @Nullable private SurfaceTexture surfaceTexture; field in VideoProcessingGLSurfaceView
184 releaseSurface(surfaceTexture, surface); in onDetachedFromWindow()
185 surfaceTexture = null; in onDetachedFromWindow()
191 private void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture) { in onSurfaceTextureAvailable() argument
194 SurfaceTexture oldSurfaceTexture = this.surfaceTexture; in onSurfaceTextureAvailable()
196 this.surfaceTexture = surfaceTexture; in onSurfaceTextureAvailable()
197 this.surface = new Surface(surfaceTexture); in onSurfaceTextureAvailable()
223 @Nullable private SurfaceTexture surfaceTexture; field in VideoProcessingGLSurfaceView.VideoRenderer
243 surfaceTexture = new SurfaceTexture(texture); in onSurfaceCreated()
244 surfaceTexture.setOnFrameAvailableListener( in onSurfaceCreated()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSurface.java36 private SurfaceTexture surfaceTexture; field in ShadowSurface
45 protected void __constructor__(SurfaceTexture surfaceTexture) { in __constructor__() argument
46 this.surfaceTexture = surfaceTexture; in __constructor__()
48 Surface.class, realSurface, ClassParameter.from(SurfaceTexture.class, surfaceTexture)); in __constructor__()
52 return surfaceTexture; in getSurfaceTexture()
117 if (surfaceTexture != null) { in unlockCanvasAndPost()
119 reflector(SurfaceTextureReflector.class, surfaceTexture) in unlockCanvasAndPost()
120 .postEventFromNative(new WeakReference<>(surfaceTexture)); in unlockCanvasAndPost()
122 reflector(SurfaceTextureReflector.class, surfaceTexture) in unlockCanvasAndPost()
123 .postEventFromNative((Object) new WeakReference<>(surfaceTexture)); in unlockCanvasAndPost()
[all …]
DShadowNativeSurface.java25 protected static long nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture) in nativeCreateFromSurfaceTexture() argument
28 return SurfaceNatives.nativeCreateFromSurfaceTexture(surfaceTexture); in nativeCreateFromSurfaceTexture()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSurface.java13 private SurfaceTexture surfaceTexture; field in ShadowSurface
17 protected void __constructor__(SurfaceTexture surfaceTexture) { in __constructor__() argument
18 this.surfaceTexture = surfaceTexture; in __constructor__()
20 Surface.class, realSurface, ClassParameter.from(SurfaceTexture.class, surfaceTexture)); in __constructor__()
24 return surfaceTexture; in getSurfaceTexture()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/
DSceneRenderer.java50 private @MonotonicNonNull SurfaceTexture surfaceTexture; field in SceneRenderer
94 surfaceTexture = new SurfaceTexture(textureId); in init()
95 surfaceTexture.setOnFrameAvailableListener(surfaceTexture -> frameAvailable.set(true)); in init()
96 return surfaceTexture; in init()
113 Assertions.checkNotNull(surfaceTexture).updateTexImage(); in drawFrame()
118 long lastFrameTimestampNs = surfaceTexture.getTimestamp(); in drawFrame()
DSphericalGLSurfaceView.java85 @Nullable private SurfaceTexture surfaceTexture; field in SphericalGLSurfaceView
211 releaseSurface(surfaceTexture, oldSurface); in onDetachedFromWindow()
212 surfaceTexture = null; in onDetachedFromWindow()
235 @Nullable SurfaceTexture oldSurfaceTexture = surfaceTexture; in onSurfaceTextureAvailable()
238 surfaceTexture = newSurfaceTexture; in onSurfaceTextureAvailable()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/
DSceneRenderer.java50 private @MonotonicNonNull SurfaceTexture surfaceTexture; field in SceneRenderer
94 surfaceTexture = new SurfaceTexture(textureId); in init()
95 surfaceTexture.setOnFrameAvailableListener(surfaceTexture -> frameAvailable.set(true)); in init()
96 return surfaceTexture; in init()
113 Assertions.checkNotNull(surfaceTexture).updateTexImage(); in drawFrame()
118 long lastFrameTimestampNs = surfaceTexture.getTimestamp(); in drawFrame()
DSphericalGLSurfaceView.java85 @Nullable private SurfaceTexture surfaceTexture; field in SphericalGLSurfaceView
211 releaseSurface(surfaceTexture, oldSurface); in onDetachedFromWindow()
212 surfaceTexture = null; in onDetachedFromWindow()
235 @Nullable SurfaceTexture oldSurfaceTexture = surfaceTexture; in onSurfaceTextureAvailable()
238 surfaceTexture = newSurfaceTexture; in onSurfaceTextureAvailable()
/external/webrtc/sdk/android/api/org/webrtc/
DSurfaceTextureHelper.java144 private final SurfaceTexture surfaceTexture;
200 surfaceTexture = new SurfaceTexture(oesTextureId);
201 surfaceTexture.setOnFrameAvailableListener(st -> {
248 surfaceTexture.setDefaultBufferSize(textureWidth, textureHeight);
277 return surfaceTexture;
334 surfaceTexture.updateTexImage();
357 surfaceTexture.getTransformMatrix(transformMatrix);
358 long timestampNs = surfaceTexture.getTimestamp();
383 surfaceTexture.release();
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DIllustrationVideoView.java250 SurfaceTexture surfaceTexture = getSurfaceTexture(); in createSurface() local
251 if (surfaceTexture != null) { in createSurface()
253 surface = new Surface(surfaceTexture); in createSurface()
328 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
334 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) {} in onSurfaceTextureSizeChanged() argument
337 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
343 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {} in onSurfaceTextureUpdated() argument
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowSurfaceTextureTest.java21 private final SurfaceTexture surfaceTexture = new SurfaceTexture(0); field in ShadowSurfaceTextureTest
32 surfaceTexture.setOnFrameAvailableListener( in surfaceUnlockAndPost_callsBackListener()
38 Surface surface = new Surface(surfaceTexture); in surfaceUnlockAndPost_callsBackListener()
DShadowSurfaceTest.java113 texture.setOnFrameAvailableListener((surfaceTexture) -> listenerCallBackCalled.set(true)); in unlockCanvasAndPost_triggersFrameUpdateInSurfaceTexture()
126 texture.setOnFrameAvailableListener((surfaceTexture) -> listenerCallBackCalled.set(true)); in unlockCanvasAndPost_triggersFrameUpdateInSurfaceTexture_hardwareCanvas()
/external/skia/src/gpu/graphite/
DRecording.cpp116 TextureProxy* surfaceTexture = replaySurface->backingTextureProxy(); in addCommands() local
117 if (!surfaceTexture->instantiate(resourceProvider)) { in addCommands()
122 surfaceTexture->refTexture())) { in addCommands()
126 replayTarget = surfaceTexture->texture(); in addCommands()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DEglRendererTest.java108 SurfaceTexture surfaceTexture; field in EglRendererTest
119 surfaceTexture = new SurfaceTexture(oesTextureId); in setUp()
120 surfaceTexture.setDefaultBufferSize(1 /* width */, 1 /* height */); in setUp()
121 eglRenderer.createEglSurface(surfaceTexture); in setUp()
126 surfaceTexture.release(); in tearDown()
/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/
DSkottieRunner.java74 public SkottieAnimation createAnimation(SurfaceTexture surfaceTexture, InputStream is) { in createAnimation() argument
75 return new SkottieAnimation(surfaceTexture, is); in createAnimation()
90 public void updateAnimationSurface(Animatable animation, SurfaceTexture surfaceTexture, in updateAnimationSurface() argument
94 ((SkottieAnimation) animation).setSurfaceTexture(surfaceTexture); in updateAnimationSurface()
DSkottieAnimation.java50 SkottieAnimation(SurfaceTexture surfaceTexture, InputStream is) { in SkottieAnimation() argument
52 mSurfaceTexture = surfaceTexture; in SkottieAnimation()
437 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { in onSurfaceTextureUpdated() argument
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/video/
DDummySurface.java85 private DummySurface(DummySurfaceThread thread, SurfaceTexture surfaceTexture, boolean secure) { in DummySurface() argument
86 super(surfaceTexture); in DummySurface()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/video/
DPlaceholderSurface.java86 PlaceholderSurfaceThread thread, SurfaceTexture surfaceTexture, boolean secure) { in PlaceholderSurface() argument
87 super(surfaceTexture); in PlaceholderSurface()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/
DSimpleExoPlayer.java703 SurfaceTexture surfaceTexture = in setVideoTextureView() local
705 if (surfaceTexture == null) { in setVideoTextureView()
709 setSurfaceTextureInternal(surfaceTexture); in setVideoTextureView()
1576 private void setSurfaceTextureInternal(SurfaceTexture surfaceTexture) { in setSurfaceTextureInternal() argument
1577 Surface surface = new Surface(surfaceTexture); in setSurfaceTextureInternal()
1979 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
1980 setSurfaceTextureInternal(surfaceTexture); in onSurfaceTextureAvailable()
1985 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureSizeChanged() argument
1990 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
1997 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { in onSurfaceTextureUpdated() argument
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DSurfaceNatives.java33 public static native long nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture); in nativeCreateFromSurfaceTexture() argument
/external/webrtc/sdk/android/src/java/org/webrtc/
DEglBase14Impl.java74 public void createSurface(SurfaceTexture surfaceTexture) { in createSurface() argument
75 createSurfaceInternal(surfaceTexture); in createSurface()
DEglBase10Impl.java176 public void createSurface(SurfaceTexture surfaceTexture) { in createSurface() argument
177 createSurfaceInternal(surfaceTexture); in createSurface()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp112 IDirect3DTexture9 *surfaceTexture = swapchain->getOffscreenTexture(); in TextureStorage9_2D() local
113 mTexture = surfaceTexture; in TextureStorage9_2D()
114 mMipLevels = surfaceTexture->GetLevelCount(); in TextureStorage9_2D()
119 surfaceTexture->GetLevelDesc(0, &surfaceDesc); in TextureStorage9_2D()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/
DExoPlayerImpl.java1327 SurfaceTexture surfaceTexture = in setVideoTextureView() local
1329 if (surfaceTexture == null) { in setVideoTextureView()
1333 setSurfaceTextureInternal(surfaceTexture); in setVideoTextureView()
2447 private void setSurfaceTextureInternal(SurfaceTexture surfaceTexture) { in setSurfaceTextureInternal() argument
2448 Surface surface = new Surface(surfaceTexture); in setSurfaceTextureInternal()
2890 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
2891 setSurfaceTextureInternal(surfaceTexture); in onSurfaceTextureAvailable()
2896 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureSizeChanged() argument
2901 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
2908 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { in onSurfaceTextureUpdated() argument

12