Searched refs:savedSurfaceTexture (Results 1 – 1 of 1) sorted by relevance
43 private SurfaceTexture savedSurfaceTexture; field in VideoSurfaceTextureImpl75 if (surfaceDimensions != null && savedSurfaceTexture != null) { in setSurfaceDimensions()83 savedSurfaceTexture.setDefaultBufferSize(surfaceDimensions.x, surfaceDimensions.y); in setSurfaceDimensions()118 boolean areSameSurfaces = Objects.equals(savedSurfaceTexture, textureView.getSurfaceTexture()); in attachToTextureView()120 if (savedSurfaceTexture != null && !areSameSurfaces) { in attachToTextureView()121 textureView.setSurfaceTexture(savedSurfaceTexture); in attachToTextureView()141 if (savedSurfaceTexture != null) { in setDoneWithSurface()142 savedSurfaceTexture.release(); in setDoneWithSurface()143 savedSurfaceTexture = null; in setDoneWithSurface()151 savedSurfaceTexture.setDefaultBufferSize(width, height); in createSurface()[all …]