Back to Fresco

DummyBitmapPool

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

3.6.016.3 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Annotations

Exceptions

Packages | Classes

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

public class

DummyBitmapPool

extends Object
implements BitmapPool

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

Summary

Public Constructors
Public Methods
Bitmap
Gets a 'value' of size 'S' (or larger) from the pool, if available.
void
void
Trim memory.

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

| | From interface com.facebook.common.memory.MemoryTrimmable

| abstract void | trim(MemoryTrimType trimType) Trim memory. |

| | From interface com.facebook.common.memory.Pool

| abstract V | get(int size) Gets a 'value' of size 'S' (or larger) from the pool, if available. | | abstract void | release(V value) Releases the given value to the pool. |

| | From interface com.facebook.common.references.ResourceReleaser

| abstract void | release(T value) Release the given value. |

|

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.

+Generated by Doclava. +