public static class

ImagePipelineConfig.Builder

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

Summary

Public Methods
ImagePipelineConfig build()
ImagePipelineExperiments.Builder experiment()
Integer getImageTranscoderType()
Integer getMemoryChunkType()
boolean isDiskCacheEnabled()
boolean isDownsampleEnabled()
ImagePipelineConfig.Builder setBitmapMemoryCacheParamsSupplier(Supplier<MemoryCacheParams> bitmapMemoryCacheParamsSupplier)
ImagePipelineConfig.Builder setBitmapMemoryCacheTrimStrategy(CountingMemoryCache.CacheTrimStrategy trimStrategy)
ImagePipelineConfig.Builder setBitmapsConfig(Bitmap.Config config)
ImagePipelineConfig.Builder setCacheKeyFactory(CacheKeyFactory cacheKeyFactory)
ImagePipelineConfig.Builder setDiskCacheEnabled(boolean diskCacheEnabled)
ImagePipelineConfig.Builder setDownsampleEnabled(boolean downsampleEnabled)
ImagePipelineConfig.Builder setEncodedMemoryCacheParamsSupplier(Supplier<MemoryCacheParams> encodedMemoryCacheParamsSupplier)
ImagePipelineConfig.Builder setExecutorSupplier(ExecutorSupplier executorSupplier)
ImagePipelineConfig.Builder setFileCacheFactory(FileCacheFactory fileCacheFactory)
ImagePipelineConfig.Builder setHttpConnectionTimeout(int httpConnectionTimeoutMs)
ImagePipelineConfig.Builder setImageCacheStatsTracker(ImageCacheStatsTracker imageCacheStatsTracker)
ImagePipelineConfig.Builder setImageDecoder(ImageDecoder imageDecoder)
ImagePipelineConfig.Builder setImageDecoderConfig(ImageDecoderConfig imageDecoderConfig)
ImagePipelineConfig.Builder setImageTranscoderFactory(ImageTranscoderFactory imageTranscoderFactory)
ImagePipelineConfig.Builder setImageTranscoderType(int imageTranscoderType)
ImagePipelineConfig.Builder setIsPrefetchEnabledSupplier(Supplier<Boolean> isPrefetchEnabledSupplier)
ImagePipelineConfig.Builder setMainDiskCacheConfig(DiskCacheConfig mainDiskCacheConfig)
ImagePipelineConfig.Builder setMemoryChunkType(int memoryChunkType)
ImagePipelineConfig.Builder setMemoryTrimmableRegistry(MemoryTrimmableRegistry memoryTrimmableRegistry)
ImagePipelineConfig.Builder setNetworkFetcher(NetworkFetcher networkFetcher)
ImagePipelineConfig.Builder setPlatformBitmapFactory(PlatformBitmapFactory platformBitmapFactory)
ImagePipelineConfig.Builder setPoolFactory(PoolFactory poolFactory)
ImagePipelineConfig.Builder setProgressiveJpegConfig(ProgressiveJpegConfig progressiveJpegConfig)
ImagePipelineConfig.Builder setRequestListeners(Set<RequestListener> requestListeners)
ImagePipelineConfig.Builder setResizeAndRotateEnabledForNetwork(boolean resizeAndRotateEnabledForNetwork)
ImagePipelineConfig.Builder setSmallImageDiskCacheConfig(DiskCacheConfig smallImageDiskCacheConfig)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public ImagePipelineConfig build ()

public ImagePipelineExperiments.Builder experiment ()

public Integer getImageTranscoderType ()

public Integer getMemoryChunkType ()

public boolean isDiskCacheEnabled ()

public boolean isDownsampleEnabled ()

public ImagePipelineConfig.Builder setBitmapMemoryCacheParamsSupplier (Supplier<MemoryCacheParams> bitmapMemoryCacheParamsSupplier)

public ImagePipelineConfig.Builder setBitmapMemoryCacheTrimStrategy (CountingMemoryCache.CacheTrimStrategy trimStrategy)

public ImagePipelineConfig.Builder setBitmapsConfig (Bitmap.Config config)

public ImagePipelineConfig.Builder setCacheKeyFactory (CacheKeyFactory cacheKeyFactory)

public ImagePipelineConfig.Builder setDiskCacheEnabled (boolean diskCacheEnabled)

public ImagePipelineConfig.Builder setDownsampleEnabled (boolean downsampleEnabled)

public ImagePipelineConfig.Builder setEncodedMemoryCacheParamsSupplier (Supplier<MemoryCacheParams> encodedMemoryCacheParamsSupplier)

public ImagePipelineConfig.Builder setExecutorSupplier (ExecutorSupplier executorSupplier)

public ImagePipelineConfig.Builder setFileCacheFactory (FileCacheFactory fileCacheFactory)

public ImagePipelineConfig.Builder setHttpConnectionTimeout (int httpConnectionTimeoutMs)

public ImagePipelineConfig.Builder setImageCacheStatsTracker (ImageCacheStatsTracker imageCacheStatsTracker)

public ImagePipelineConfig.Builder setImageDecoder (ImageDecoder imageDecoder)

public ImagePipelineConfig.Builder setImageDecoderConfig (ImageDecoderConfig imageDecoderConfig)

public ImagePipelineConfig.Builder setImageTranscoderFactory (ImageTranscoderFactory imageTranscoderFactory)

public ImagePipelineConfig.Builder setImageTranscoderType (int imageTranscoderType)

public ImagePipelineConfig.Builder setIsPrefetchEnabledSupplier (Supplier<Boolean> isPrefetchEnabledSupplier)

public ImagePipelineConfig.Builder setMainDiskCacheConfig (DiskCacheConfig mainDiskCacheConfig)

public ImagePipelineConfig.Builder setMemoryChunkType (int memoryChunkType)

public ImagePipelineConfig.Builder setMemoryTrimmableRegistry (MemoryTrimmableRegistry memoryTrimmableRegistry)

public ImagePipelineConfig.Builder setNetworkFetcher (NetworkFetcher networkFetcher)

public ImagePipelineConfig.Builder setPlatformBitmapFactory (PlatformBitmapFactory platformBitmapFactory)

public ImagePipelineConfig.Builder setPoolFactory (PoolFactory poolFactory)

public ImagePipelineConfig.Builder setProgressiveJpegConfig (ProgressiveJpegConfig progressiveJpegConfig)

public ImagePipelineConfig.Builder setRequestListeners (Set<RequestListener> requestListeners)

public ImagePipelineConfig.Builder setResizeAndRotateEnabledForNetwork (boolean resizeAndRotateEnabledForNetwork)

public ImagePipelineConfig.Builder setSmallImageDiskCacheConfig (DiskCacheConfig smallImageDiskCacheConfig)