public class

GingerbreadBitmapFactory

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

Class Overview

Bitmap factory for Gingerbread.

Summary

Public Constructors
GingerbreadBitmapFactory()
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 GingerbreadBitmapFactory ()

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
OutOfMemoryError if the Bitmap cannot be allocated