public class

Bitmaps

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.nativecode.Bitmaps

Class Overview

Utility methods for handling Bitmaps.

Native code used by this class is shipped as part of libimagepipeline.so

Summary

Public Constructors
Bitmaps()
Public Methods
static void copyBitmap(Bitmap dest, Bitmap src)
This blits the pixel data from src to dest.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Bitmaps ()

Public Methods

public static void copyBitmap (Bitmap dest, Bitmap src)

This blits the pixel data from src to dest.

The destination bitmap must have both a height and a width equal to the source. For maximum speed stride should be equal as well.

Both bitmaps must use the same android.graphics.Bitmap.Config format.

If the src is purgeable, it will be decoded as part of this operation if it was purged. The dest should not be purgeable. If it is, the copy will still take place, but will be lost the next time the dest gets purged, without warning.

The dest must be mutable.

Parameters
dest Bitmap to copy into
src Bitmap to copy out of