java.lang.Object | |
↳ | com.facebook.imagepipeline.memory.BitmapCounterProvider |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final int | MAX_BITMAP_TOTAL_SIZE | Our Bitmaps live in ashmem, meaning that they are pinned in Android's shared native memory. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BitmapCounterProvider() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static BitmapCounter | get() | ||||||||||
static void | initialize(BitmapCounterConfig bitmapCounterConfig) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Our Bitmaps live in ashmem, meaning that they are pinned in Android's shared native memory.
Therefore, we are not constrained by the max heap size of the dalvik heap, but we want to make sure we don't use too much memory on low end devices, so that we don't force other background process to be killed.