public class

ImagePipelineConfig

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

Class Overview

Master configuration class for the image pipeline library. To use: ImagePipelineConfig config = ImagePipelineConfig.newBuilder() .setXXX(xxx) .setYYY(yyy) .build(); ImagePipelineFactory factory = new ImagePipelineFactory(config); ImagePipeline pipeline = factory.getImagePipeline();

This should only be done once per process.

Summary

Nested Classes
class ImagePipelineConfig.Builder  
Public Methods
AnimatedImageFactory getAnimatedImageFactory()
Bitmap.Config getBitmapConfig()
Supplier<MemoryCacheParams> getBitmapMemoryCacheParamsSupplier()
CacheKeyFactory getCacheKeyFactory()
Context getContext()
Supplier<MemoryCacheParams> getEncodedMemoryCacheParamsSupplier()
ExecutorSupplier getExecutorSupplier()
ImagePipelineExperiments getExperiments()
FileCacheFactory getFileCacheFactory()
int getForceSmallCacheThresholdBytes()
This method is deprecated. Use getExperiments() and ImagePipelineExperiments
ImageCacheStatsTracker getImageCacheStatsTracker()
ImageDecoder getImageDecoder()
Supplier<Boolean> getIsPrefetchEnabledSupplier()
DiskCacheConfig getMainDiskCacheConfig()
MemoryTrimmableRegistry getMemoryTrimmableRegistry()
NetworkFetcher getNetworkFetcher()
PlatformBitmapFactory getPlatformBitmapFactory()
PoolFactory getPoolFactory()
ProgressiveJpegConfig getProgressiveJpegConfig()
Set<RequestListener> getRequestListeners()
DiskCacheConfig getSmallImageDiskCacheConfig()
boolean isDecodeFileDescriptorEnabled()
This method is deprecated. Use getExperiments() and ImagePipelineExperiments ()}
boolean isDecodeMemoryFileEnabled()
boolean isDownsampleEnabled()
boolean isResizeAndRotateEnabledForNetwork()
boolean isWebpSupportEnabled()
This method is deprecated. Use getExperiments() and ImagePipelineExperiments ()}
static ImagePipelineConfig.Builder newBuilder(Context context)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public AnimatedImageFactory getAnimatedImageFactory ()

public Bitmap.Config getBitmapConfig ()

public Supplier<MemoryCacheParams> getBitmapMemoryCacheParamsSupplier ()

public CacheKeyFactory getCacheKeyFactory ()

public Context getContext ()

public Supplier<MemoryCacheParams> getEncodedMemoryCacheParamsSupplier ()

public ExecutorSupplier getExecutorSupplier ()

public ImagePipelineExperiments getExperiments ()

public FileCacheFactory getFileCacheFactory ()

public int getForceSmallCacheThresholdBytes ()

This method is deprecated.
Use getExperiments() and ImagePipelineExperiments

public ImageCacheStatsTracker getImageCacheStatsTracker ()

public ImageDecoder getImageDecoder ()

public Supplier<Boolean> getIsPrefetchEnabledSupplier ()

public DiskCacheConfig getMainDiskCacheConfig ()

public MemoryTrimmableRegistry getMemoryTrimmableRegistry ()

public NetworkFetcher getNetworkFetcher ()

public PlatformBitmapFactory getPlatformBitmapFactory ()

public PoolFactory getPoolFactory ()

public ProgressiveJpegConfig getProgressiveJpegConfig ()

public Set<RequestListener> getRequestListeners ()

public DiskCacheConfig getSmallImageDiskCacheConfig ()

public boolean isDecodeFileDescriptorEnabled ()

This method is deprecated.
Use getExperiments() and ImagePipelineExperiments ()}

public boolean isDecodeMemoryFileEnabled ()

public boolean isDownsampleEnabled ()

public boolean isResizeAndRotateEnabledForNetwork ()

public boolean isWebpSupportEnabled ()

This method is deprecated.
Use getExperiments() and ImagePipelineExperiments ()}

public static ImagePipelineConfig.Builder newBuilder (Context context)