private void lazyInitBitmap() {
    if (mBitmap != null) {
      return;
    }
    mBitmap = Bitmap.createBitmap(mTileSize, mTileSize, Bitmap.Config.ARGB_8888);
    mCanvas = new Canvas(mBitmap);
  }
Snaps a screenshot of the view (which should already be measured and layouted) using testName
as the name.
core/src/main/java/com/facebook/testing/screenshot/internal/ScreenshotImpl.java