public class

HoneycombBitmapFactory

extends PlatformBitmapFactory
java.lang.Object
   ↳ com.facebook.imagepipeline.bitmaps.PlatformBitmapFactory
     ↳ com.facebook.imagepipeline.bitmaps.HoneycombBitmapFactory

Class Overview

Factory implementation for Honeycomb through Kitkat

Summary

Public Constructors
HoneycombBitmapFactory(EmptyJpegGenerator jpegGenerator, PlatformDecoder purgeableDecoder)
Public Methods
CloseableReference<Bitmap> createBitmapInternal(int width, int height, Bitmap.Config bitmapConfig)
Creates a bitmap of the specified width and height.
[Expand]
Inherited Methods
From class com.facebook.imagepipeline.bitmaps.PlatformBitmapFactory
From class java.lang.Object

Public Constructors

public HoneycombBitmapFactory (EmptyJpegGenerator jpegGenerator, PlatformDecoder purgeableDecoder)

Public Methods

public CloseableReference<Bitmap> createBitmapInternal (int width, int height, Bitmap.Config bitmapConfig)

Creates a bitmap of the specified width and height.

Parameters
width the width of the bitmap
height the height of the bitmap
bitmapConfig the android.graphics.Bitmap.Config used to create the decoded Bitmap
Returns
  • a reference to the bitmap
Throws
if the pool is full
OutOfMemoryError if the Bitmap cannot be allocated