public class

ProducerFactory

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.core.ProducerFactory

Summary

Public Constructors
ProducerFactory(Context context, ByteArrayPool byteArrayPool, ImageDecoder imageDecoder, ProgressiveJpegConfig progressiveJpegConfig, boolean downsampleEnabled, boolean resizeAndRotateEnabledForNetwork, boolean decodeCancellationEnabled, ExecutorSupplier executorSupplier, PooledByteBufferFactory pooledByteBufferFactory, MemoryCache<CacheKeyCloseableImage> bitmapMemoryCache, MemoryCache<CacheKeyPooledByteBuffer> encodedMemoryCache, BufferedDiskCache defaultBufferedDiskCache, BufferedDiskCache smallImageBufferedDiskCache, MediaVariationsIndex mediaVariationsIndex, MediaIdExtractor mediaIdExtractor, CacheKeyFactory cacheKeyFactory, PlatformBitmapFactory platformBitmapFactory, int forceSmallCacheThresholdBytes)
Public Methods
static AddImageTransformMetaDataProducer newAddImageTransformMetaDataProducer(Producer<EncodedImage> inputProducer)
<T> ThreadHandoffProducer<T> newBackgroundThreadHandoffProducer(Producer<T> inputProducer, ThreadHandoffProducerQueue inputThreadHandoffProducerQueue)
BitmapMemoryCacheGetProducer newBitmapMemoryCacheGetProducer(Producer<CloseableReference<CloseableImage>> inputProducer)
BitmapMemoryCacheKeyMultiplexProducer newBitmapMemoryCacheKeyMultiplexProducer(Producer<CloseableReference<CloseableImage>> inputProducer)
BitmapMemoryCacheProducer newBitmapMemoryCacheProducer(Producer<CloseableReference<CloseableImage>> inputProducer)
static BranchOnSeparateImagesProducer newBranchOnSeparateImagesProducer(Producer<EncodedImage> inputProducer1, Producer<EncodedImage> inputProducer2)
DataFetchProducer newDataFetchProducer()
DecodeProducer newDecodeProducer(Producer<EncodedImage> inputProducer)
DiskCacheReadProducer newDiskCacheReadProducer(Producer<EncodedImage> inputProducer)
DiskCacheWriteProducer newDiskCacheWriteProducer(Producer<EncodedImage> inputProducer)
EncodedCacheKeyMultiplexProducer newEncodedCacheKeyMultiplexProducer(Producer<EncodedImage> inputProducer)
EncodedMemoryCacheProducer newEncodedMemoryCacheProducer(Producer<EncodedImage> inputProducer)
LocalAssetFetchProducer newLocalAssetFetchProducer()
LocalContentUriFetchProducer newLocalContentUriFetchProducer()
LocalContentUriThumbnailFetchProducer newLocalContentUriThumbnailFetchProducer()
LocalExifThumbnailProducer newLocalExifThumbnailProducer()
LocalFileFetchProducer newLocalFileFetchProducer()
LocalResourceFetchProducer newLocalResourceFetchProducer()
LocalVideoThumbnailProducer newLocalVideoThumbnailProducer()
MediaVariationsFallbackProducer newMediaVariationsProducer(Producer<EncodedImage> inputProducer)
NetworkFetchProducer newNetworkFetchProducer(NetworkFetcher networkFetcher)
static <T> NullProducer<T> newNullProducer()
PostprocessedBitmapMemoryCacheProducer newPostprocessorBitmapMemoryCacheProducer(Producer<CloseableReference<CloseableImage>> inputProducer)
PostprocessorProducer newPostprocessorProducer(Producer<CloseableReference<CloseableImage>> inputProducer)
ResizeAndRotateProducer newResizeAndRotateProducer(Producer<EncodedImage> inputProducer, boolean resizingEnabledIfNotDownsampling, boolean useDownsamplingRatio)
static <T> SwallowResultProducer<T> newSwallowResultProducer(Producer<T> inputProducer)
<T> ThrottlingProducer<T> newThrottlingProducer(Producer<T> inputProducer)
ThumbnailBranchProducer newThumbnailBranchProducer(ThumbnailProducer[]<EncodedImage> thumbnailProducers)
WebpTranscodeProducer newWebpTranscodeProducer(Producer<EncodedImage> inputProducer)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ProducerFactory (Context context, ByteArrayPool byteArrayPool, ImageDecoder imageDecoder, ProgressiveJpegConfig progressiveJpegConfig, boolean downsampleEnabled, boolean resizeAndRotateEnabledForNetwork, boolean decodeCancellationEnabled, ExecutorSupplier executorSupplier, PooledByteBufferFactory pooledByteBufferFactory, MemoryCache<CacheKeyCloseableImage> bitmapMemoryCache, MemoryCache<CacheKeyPooledByteBuffer> encodedMemoryCache, BufferedDiskCache defaultBufferedDiskCache, BufferedDiskCache smallImageBufferedDiskCache, MediaVariationsIndex mediaVariationsIndex, MediaIdExtractor mediaIdExtractor, CacheKeyFactory cacheKeyFactory, PlatformBitmapFactory platformBitmapFactory, int forceSmallCacheThresholdBytes)

Public Methods

public static AddImageTransformMetaDataProducer newAddImageTransformMetaDataProducer (Producer<EncodedImage> inputProducer)

public ThreadHandoffProducer<T> newBackgroundThreadHandoffProducer (Producer<T> inputProducer, ThreadHandoffProducerQueue inputThreadHandoffProducerQueue)

public BitmapMemoryCacheGetProducer newBitmapMemoryCacheGetProducer (Producer<CloseableReference<CloseableImage>> inputProducer)

public BitmapMemoryCacheKeyMultiplexProducer newBitmapMemoryCacheKeyMultiplexProducer (Producer<CloseableReference<CloseableImage>> inputProducer)

public BitmapMemoryCacheProducer newBitmapMemoryCacheProducer (Producer<CloseableReference<CloseableImage>> inputProducer)

public static BranchOnSeparateImagesProducer newBranchOnSeparateImagesProducer (Producer<EncodedImage> inputProducer1, Producer<EncodedImage> inputProducer2)

public DataFetchProducer newDataFetchProducer ()

public DecodeProducer newDecodeProducer (Producer<EncodedImage> inputProducer)

public DiskCacheReadProducer newDiskCacheReadProducer (Producer<EncodedImage> inputProducer)

public DiskCacheWriteProducer newDiskCacheWriteProducer (Producer<EncodedImage> inputProducer)

public EncodedCacheKeyMultiplexProducer newEncodedCacheKeyMultiplexProducer (Producer<EncodedImage> inputProducer)

public EncodedMemoryCacheProducer newEncodedMemoryCacheProducer (Producer<EncodedImage> inputProducer)

public LocalAssetFetchProducer newLocalAssetFetchProducer ()

public LocalContentUriFetchProducer newLocalContentUriFetchProducer ()

public LocalContentUriThumbnailFetchProducer newLocalContentUriThumbnailFetchProducer ()

public LocalExifThumbnailProducer newLocalExifThumbnailProducer ()

public LocalFileFetchProducer newLocalFileFetchProducer ()

public LocalResourceFetchProducer newLocalResourceFetchProducer ()

public LocalVideoThumbnailProducer newLocalVideoThumbnailProducer ()

public MediaVariationsFallbackProducer newMediaVariationsProducer (Producer<EncodedImage> inputProducer)

public NetworkFetchProducer newNetworkFetchProducer (NetworkFetcher networkFetcher)

public static NullProducer<T> newNullProducer ()

public PostprocessedBitmapMemoryCacheProducer newPostprocessorBitmapMemoryCacheProducer (Producer<CloseableReference<CloseableImage>> inputProducer)

public PostprocessorProducer newPostprocessorProducer (Producer<CloseableReference<CloseableImage>> inputProducer)

public ResizeAndRotateProducer newResizeAndRotateProducer (Producer<EncodedImage> inputProducer, boolean resizingEnabledIfNotDownsampling, boolean useDownsamplingRatio)

public static SwallowResultProducer<T> newSwallowResultProducer (Producer<T> inputProducer)

public ThrottlingProducer<T> newThrottlingProducer (Producer<T> inputProducer)

public ThumbnailBranchProducer newThumbnailBranchProducer (ThumbnailProducer[]<EncodedImage> thumbnailProducers)

public WebpTranscodeProducer newWebpTranscodeProducer (Producer<EncodedImage> inputProducer)