public CloseableReference<Bitmap> createBitmap(
      int[] colors, int width, int height, Bitmap.Config config, @Nullable Object callerContext) {
    CloseableReference<Bitmap> bitmapRef = createBitmapInternal(width, height, config);
    Bitmap bitmap = bitmapRef.get();
    bitmap.setPixels(colors, 0, width, 0, 0, width, height);
    return bitmapRef;
  }
Creates a bitmap with the specified width and height. Its initial density is determined from
the given DisplayMetrics.

@param colors The colors to write to the bitmap
@param width The width of the bitmap
@param height The height of the bitmap
@param config The bitmap config to create
@param callerContext the Tag to track who create the Bitmap
@return a reference to the bitmap
@throws TooManyBitmapsException if the pool is full
@throws java.lang.OutOfMemoryError if the Bitmap cannot be allocated
imagepipeline-base/src/main/java/com/facebook/imagepipeline/bitmaps/PlatformBitmapFactory.java