public class

BitmapCounterProvider

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

Summary

Constants
int MAX_BITMAP_COUNT
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()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int MAX_BITMAP_COUNT

Constant Value: 384 (0x00000180)

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 ()