Back to Fresco

WebpBitmapFactoryImpl

docs/javadoc/reference/com/facebook/webpsupport/WebpBitmapFactoryImpl.html

3.6.017.7 KB
Original Source

Fresco

|

|

Packages | Classes

Classes

Packages | Classes

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

public class

WebpBitmapFactoryImpl

extends Object
implements WebpBitmapFactory

| java.lang.Object | | ↳ | com.facebook.webpsupport.WebpBitmapFactoryImpl |

Summary

Fields
public static final boolean
Public Constructors
Public Methods
Bitmap
Bitmap
Bitmap
Bitmap
static Bitmap
static Bitmap
static Bitmap
static Bitmap
static Bitmap
static Bitmap
static Bitmap
static Bitmap
static Bitmap
static Bitmap
static Bitmap
void
Set the object which should create the bg Bitmap
void
Register the given listener as observer of error

| [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.webp.WebpBitmapFactory

| abstract Bitmap | decodeByteArray(byte[] array, int offset, int length, BitmapFactory.Options opts) | | abstract Bitmap | decodeFile(String pathName, BitmapFactory.Options opts) | | abstract Bitmap | decodeFileDescriptor(FileDescriptor fd, Rect outPadding, BitmapFactory.Options opts) | | abstract Bitmap | decodeStream(InputStream inputStream, Rect outPadding, BitmapFactory.Options opts) | | abstract void | setBitmapCreator(BitmapCreator bitmapCreator) Set the object which should create the bg Bitmap | | abstract void | setWebpErrorLogger(WebpBitmapFactory.WebpErrorLogger logger) Register the given listener as observer of error |

|

Fields

public static final boolean IN_BITMAP_SUPPORTED

Public Constructors

public WebpBitmapFactoryImpl()

Public Methods

public Bitmap decodeByteArray(byte[] array, int offset, int length, BitmapFactory.Options opts)

public Bitmap decodeFile(String pathName, BitmapFactory.Options opts)

public Bitmap decodeFileDescriptor(FileDescriptor fd, Rect outPadding, BitmapFactory.Options opts)

public Bitmap decodeStream(InputStream inputStream, Rect outPadding, BitmapFactory.Options opts)

public static Bitmap hookDecodeByteArray(byte[] array, int offset, int length, BitmapFactory.Options opts)

public static Bitmap hookDecodeByteArray(byte[] array, int offset, int length)

public static Bitmap hookDecodeFile(String pathName, BitmapFactory.Options opts)

public static Bitmap hookDecodeFile(String pathName)

public static Bitmap hookDecodeFileDescriptor(FileDescriptor fd)

public static Bitmap hookDecodeFileDescriptor(FileDescriptor fd, Rect outPadding, BitmapFactory.Options opts)

public static Bitmap hookDecodeResource(Resources res, int id, BitmapFactory.Options opts)

public static Bitmap hookDecodeResource(Resources res, int id)

public static Bitmap hookDecodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, BitmapFactory.Options opts)

public static Bitmap hookDecodeStream(InputStream inputStream)

public static Bitmap hookDecodeStream(InputStream inputStream, Rect outPadding, BitmapFactory.Options opts)

public void setBitmapCreator(BitmapCreator bitmapCreator)

Set the object which should create the bg Bitmap

Parameters

| bitmapCreator | The BitmapCreator implementation |

public void setWebpErrorLogger(WebpBitmapFactory.WebpErrorLogger webpErrorLogger)

Register the given listener as observer of error

Parameters

| webpErrorLogger | The WebpErrorLogger in order to observe webp errors |

+Generated by Doclava. +