Back to Fresco

EmptyJpegGenerator

docs/javadoc/reference/com/facebook/imagepipeline/bitmaps/EmptyJpegGenerator.html

3.6.011.8 KB
Original Source

Fresco

|

|

Packages | Classes

Classes

Packages | Classes

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

public class

EmptyJpegGenerator

extends Object

| java.lang.Object | | ↳ | com.facebook.imagepipeline.bitmaps.EmptyJpegGenerator |

Class Overview

Producer that emits a dummy, fixed-size JPEG bytearray.

The purpose of this jpeg is to serve as the source for a purgeable bitmap which will in turn have its contents overwritten, enabling us to copy into a purgeable bitmap.

Summary

Public Constructors
Public Methods
CloseableReference<PooledByteBuffer>

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

|

Public Constructors

public EmptyJpegGenerator(PooledByteBufferFactory pooledByteBufferFactory)

Public Methods

public CloseableReference<PooledByteBuffer> generate(short width, short height)

+Generated by Doclava. +