Back to Fresco

BitmapCounterProvider

docs/javadoc/reference/com/facebook/imagepipeline/memory/BitmapCounterProvider.html

3.6.015.7 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Annotations

Exceptions

Packages | Classes

Summary: Fields | Ctors | Methods | Inherited Methods | [Expand All]

public class

BitmapCounterProvider

extends Object

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

Summary

Fields
public static final int
Public Constructors
Public Methods
static BitmapCounter
static void

| [Expand] Inherited Methods | | --- | | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

|

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)

+Generated by Doclava. +