Skip to content

Commit

Permalink
fbandroid/libraries/fresco/animated-webp/src/main/java/com/facebook/a…
Browse files Browse the repository at this point in the history
…nimated/webpdrawable/WebpAnimationBackend.java

Reviewed By: jocelynluizzi13

Differential Revision: D66544660

fbshipit-source-id: 0101336222cbbdeb3accdf78e4fd4818f91ecc94
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Nov 27, 2024
1 parent 7c7cb8f commit d5ced66
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import com.facebook.animated.webp.WebPFrame;
import com.facebook.animated.webp.WebPImage;
import com.facebook.fresco.animation.backend.AnimationBackend;
import com.facebook.infer.annotation.Nullsafe;
import java.io.BufferedInputStream;
import java.io.Closeable;
import java.io.FileInputStream;
Expand All @@ -25,12 +26,14 @@
import javax.annotation.concurrent.GuardedBy;

/** Animation backend that is used to draw webp frames. */
@Nullsafe(Nullsafe.Mode.LOCAL)
public class WebpAnimationBackend implements AnimationBackend {

private final Rect mRenderDstRect = new Rect();
private final Rect mRenderSrcRect = new Rect();
private final WebPImage mWebPImage;

// NULLSAFE_FIXME[Field Not Initialized]
private Rect mBounds;

@GuardedBy("this")
Expand Down

0 comments on commit d5ced66

Please sign in to comment.