public class

DummyBitmapPool

extends Object
implements BitmapPool
java.lang.Object
   ↳ com.facebook.imagepipeline.memory.DummyBitmapPool

Summary

Public Constructors
DummyBitmapPool()
Public Methods
Bitmap get(int size)
Gets a 'value' of size 'S' (or larger) from the pool, if available.
void release(Bitmap value)
void trim(MemoryTrimType trimType)
Trim memory.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.common.memory.MemoryTrimmable
From interface com.facebook.common.memory.Pool
From interface com.facebook.common.references.ResourceReleaser

Public Constructors

public DummyBitmapPool ()

Public Methods

public Bitmap get (int size)

Gets a 'value' of size 'S' (or larger) from the pool, if available. Allocates a new value if necessary.

Parameters
size the logical size to allocate
Returns
  • a new value

public void release (Bitmap value)

public void trim (MemoryTrimType trimType)

Trim memory.