public class

BitmapCounterProvider

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.memory.BitmapCounterProvider

Summary

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

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.

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.

Public Constructors

public BitmapCounterProvider ()

Public Methods

public static BitmapCounter get ()

public static void initialize (BitmapCounterConfig bitmapCounterConfig)