java.lang.Object | |
↳ | com.facebook.imagepipeline.memory.DummyBitmapPool |
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
|
Gets a 'value' of size 'S' (or larger) from the pool, if available. Allocates a new value if necessary.
size | the logical size to allocate |
---|