Back to Fresco

GingerbreadBitmapFactory

docs/javadoc/reference/com/facebook/imagepipeline/bitmaps/GingerbreadBitmapFactory.html

3.6.020.6 KB
Original Source

Fresco

|

|

Packages | Classes

Classes

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

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
Public Methods
CloseableReference<Bitmap>
Creates a bitmap of the specified width and height.

| [Expand] Inherited Methods | | --- | | From class com.facebook.imagepipeline.bitmaps.PlatformBitmapFactory

| CloseableReference<Bitmap> | createBitmap(int[] colors, int width, int height, Bitmap.Config config, Object callerContext) Creates a bitmap with the specified width and height. | | CloseableReference<Bitmap> | createBitmap(Bitmap source, Object callerContext) Creates a bitmap from the specified source bitmap. | | CloseableReference<Bitmap> | createBitmap(int width, int height, Object callerContext) Creates a bitmap of the specified width and height. | | CloseableReference<Bitmap> | createBitmap(DisplayMetrics display, int[] colors, int width, int height, Bitmap.Config config, Object callerContext) Creates a bitmap with the specified width and height. | | CloseableReference<Bitmap> | createBitmap(int width, int height) Creates a bitmap of the specified width and height. | | CloseableReference<Bitmap> | createBitmap(Bitmap source, int x, int y, int width, int height, Matrix matrix, boolean filter, Object callerContext) Creates a bitmap from subset of the source bitmap, transformed by the optional matrix. | | CloseableReference<Bitmap> | createBitmap(Bitmap source, int x, int y, int width, int height, Matrix matrix, boolean filter) Creates a bitmap from subset of the source bitmap, transformed by the optional matrix. | | CloseableReference<Bitmap> | createBitmap(DisplayMetrics display, int[] colors, int offset, int stride, int width, int height, Bitmap.Config config) Creates a bitmap with the specified width and height. | | CloseableReference<Bitmap> | createBitmap(DisplayMetrics display, int[] colors, int width, int height, Bitmap.Config config) Creates a bitmap with the specified width and height. | | CloseableReference<Bitmap> | createBitmap(Bitmap source, int x, int y, int width, int height, Object callerContext) Creates a bitmap from the specified subset of the source bitmap. | | CloseableReference<Bitmap> | createBitmap(Bitmap source, int x, int y, int width, int height) Creates a bitmap from the specified subset of the source bitmap. | | CloseableReference<Bitmap> | createBitmap(int width, int height, Bitmap.Config bitmapConfig) Creates a bitmap of the specified width and height. | | CloseableReference<Bitmap> | createBitmap(Bitmap source) Creates a bitmap from the specified source bitmap. | | CloseableReference<Bitmap> | createBitmap(int width, int height, Bitmap.Config bitmapConfig, Object callerContext) Creates a bitmap of the specified width and height. | | CloseableReference<Bitmap> | createBitmap(DisplayMetrics display, int width, int height, Bitmap.Config config, Object callerContext) Creates a bitmap with the specified width and height. | | CloseableReference<Bitmap> | createBitmap(DisplayMetrics display, int width, int height, Bitmap.Config config) Creates a bitmap with the specified width and height. | | CloseableReference<Bitmap> | createBitmap(int[] colors, int width, int height, Bitmap.Config config) Creates a bitmap with the specified width and height. | | CloseableReference<Bitmap> | createBitmap(DisplayMetrics display, int[] colors, int offset, int stride, int width, int height, Bitmap.Config config, Object callerContext) Creates a bitmap with the specified width and height. | | abstract CloseableReference<Bitmap> | createBitmapInternal(int width, int height, Bitmap.Config bitmapConfig) Creates a bitmap of the specified width and height. | | CloseableReference<Bitmap> | createScaledBitmap(Bitmap source, int destinationWidth, int destinationHeight, boolean filter) Creates a bitmap from the specified source scaled to have the height and width as specified. | | CloseableReference<Bitmap> | createScaledBitmap(Bitmap source, int destinationWidth, int destinationHeight, boolean filter, Object callerContext) Creates a bitmap from the specified source scaled to have the height and width as specified. |

| | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

|

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 |

+Generated by Doclava. +