Back to Fresco

AnimatedDrawableOptions

docs/javadoc/reference/com/facebook/imagepipeline/animated/base/AnimatedDrawableOptions.html

3.6.014.4 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Enums

Packages | Classes

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

public class

AnimatedDrawableOptions

extends Object

| java.lang.Object | | ↳ | com.facebook.imagepipeline.animated.base.AnimatedDrawableOptions |

Class Overview

Options for creating AnimatedDrawable2.

Summary

Fields
public static AnimatedDrawableOptions
public final boolean
public final boolean
public final boolean
public final int
Public Constructors
Creates AnimatedDrawableOptions with default options.
Public Methods
static AnimatedDrawableOptionsBuilder
Creates a new builder.

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

|

Fields

public static AnimatedDrawableOptions DEFAULTS

Default options.

public final boolean allowPrefetching

Whether the drawable can use worker threads to optimistically prefetch frames.

public final boolean enableDebugging

Whether to enable additional verbose debugging diagnostics.

public final boolean forceKeepAllFramesInMemory

Whether all the rendered frames should be held in memory disregarding other constraints.

public final int maximumBytes

The maximum bytes that the backend can use to cache image frames in memory or -1 to use the default

Public Constructors

public AnimatedDrawableOptions(AnimatedDrawableOptionsBuilder builder)

Creates AnimatedDrawableOptions with default options.

Public Methods

public static AnimatedDrawableOptionsBuilder newBuilder()

Creates a new builder.

Returns
  • the builder

+Generated by Doclava. +