/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/ |
D | VideoProcessingGLSurfaceView.java | 77 @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/ |
D | VideoProcessingGLSurfaceView.java | 77 @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/ |
D | ShadowSurface.java | 36 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 …]
|
D | ShadowNativeSurface.java | 25 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/ |
D | ShadowSurface.java | 13 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/ |
D | SceneRenderer.java | 50 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()
|
D | SphericalGLSurfaceView.java | 85 @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/ |
D | SceneRenderer.java | 50 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()
|
D | SphericalGLSurfaceView.java | 85 @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/ |
D | SurfaceTextureHelper.java | 144 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/ |
D | IllustrationVideoView.java | 250 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/ |
D | ShadowSurfaceTextureTest.java | 21 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()
|
D | ShadowSurfaceTest.java | 113 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/ |
D | Recording.cpp | 116 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/ |
D | EglRendererTest.java | 108 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/ |
D | SkottieRunner.java | 74 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()
|
D | SkottieAnimation.java | 50 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/ |
D | DummySurface.java | 85 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/ |
D | PlaceholderSurface.java | 86 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/ |
D | SimpleExoPlayer.java | 703 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/ |
D | SurfaceNatives.java | 33 public static native long nativeCreateFromSurfaceTexture(SurfaceTexture surfaceTexture); in nativeCreateFromSurfaceTexture() argument
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | EglBase14Impl.java | 74 public void createSurface(SurfaceTexture surfaceTexture) { in createSurface() argument 75 createSurfaceInternal(surfaceTexture); in createSurface()
|
D | EglBase10Impl.java | 176 public void createSurface(SurfaceTexture surfaceTexture) { in createSurface() argument 177 createSurfaceInternal(surfaceTexture); in createSurface()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | TextureStorage9.cpp | 112 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/ |
D | ExoPlayerImpl.java | 1327 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
|