java.lang.Object | |
↳ | com.facebook.imagepipeline.nativecode.Bitmaps |
Utility methods for handling Bitmaps.
Native code used by this class is shipped as part of libimagepipeline.so
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
|
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.
dest | Bitmap to copy into |
---|---|
src | Bitmap to copy out of |