@Override
    public int getIntrinsicWidth() {
      // we always use the full bitmap
      return AnimationBackend.INTRINSIC_DIMENSION_UNSET;
    }
Renderer that draws a color and the frame number on top
samples/animation2/src/main/java/com/facebook/samples/animation2/bitmap/ExampleBitmapAnimationFactory.java