public static class

ImagePipelineConfig.Builder

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

Summary

Public Methods
ImagePipelineConfig build()
ImagePipelineExperiments.Builder experiment()
BitmapMemoryCacheFactory getBitmapMemoryCacheFactory()
Integer getImageTranscoderType()
Integer getMemoryChunkType()
boolean isDiskCacheEnabled()
boolean isDownsampleEnabled()
ImagePipelineConfig.Builder setBitmapMemoryCache(MemoryCache<CacheKeyCloseableImage> bitmapMemoryCache)
ImagePipelineConfig.Builder setBitmapMemoryCacheEntryStateObserver(EntryStateObserver<CacheKey> bitmapMemoryCacheEntryStateObserver)
ImagePipelineConfig.Builder setBitmapMemoryCacheFactory(BitmapMemoryCacheFactory bitmapMemoryCacheFactory)
ImagePipelineConfig.Builder setBitmapMemoryCacheParamsSupplier(Supplier<MemoryCacheParams> bitmapMemoryCacheParamsSupplier)
ImagePipelineConfig.Builder setBitmapMemoryCacheTrimStrategy(MemoryCache.CacheTrimStrategy trimStrategy)
ImagePipelineConfig.Builder setBitmapsConfig(Bitmap.Config config)
ImagePipelineConfig.Builder setCacheKeyFactory(CacheKeyFactory cacheKeyFactory)
ImagePipelineConfig.Builder setCallerContextVerifier(CallerContextVerifier callerContextVerifier)
ImagePipelineConfig.Builder setCloseableReferenceLeakTracker(CloseableReferenceLeakTracker closeableReferenceLeakTracker)
ImagePipelineConfig.Builder setDiskCacheEnabled(boolean diskCacheEnabled)
ImagePipelineConfig.Builder setDownsampleEnabled(boolean downsampleEnabled)
ImagePipelineConfig.Builder setEncodedMemoryCache(MemoryCache<CacheKeyPooledByteBuffer> encodedMemoryCache)
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 setRequestListener2s(Set<RequestListener2> requestListeners)
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 BitmapMemoryCacheFactory getBitmapMemoryCacheFactory ()

public Integer getImageTranscoderType ()

public Integer getMemoryChunkType ()

public boolean isDiskCacheEnabled ()

public boolean isDownsampleEnabled ()

public ImagePipelineConfig.Builder setBitmapMemoryCache (MemoryCache<CacheKeyCloseableImage> bitmapMemoryCache)

public ImagePipelineConfig.Builder setBitmapMemoryCacheEntryStateObserver (EntryStateObserver<CacheKey> bitmapMemoryCacheEntryStateObserver)

public ImagePipelineConfig.Builder setBitmapMemoryCacheFactory (BitmapMemoryCacheFactory bitmapMemoryCacheFactory)

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

public ImagePipelineConfig.Builder setBitmapMemoryCacheTrimStrategy (MemoryCache.CacheTrimStrategy trimStrategy)

public ImagePipelineConfig.Builder setBitmapsConfig (Bitmap.Config config)

public ImagePipelineConfig.Builder setCacheKeyFactory (CacheKeyFactory cacheKeyFactory)

public ImagePipelineConfig.Builder setCallerContextVerifier (CallerContextVerifier callerContextVerifier)

public ImagePipelineConfig.Builder setCloseableReferenceLeakTracker (CloseableReferenceLeakTracker closeableReferenceLeakTracker)

public ImagePipelineConfig.Builder setDiskCacheEnabled (boolean diskCacheEnabled)

public ImagePipelineConfig.Builder setDownsampleEnabled (boolean downsampleEnabled)

public ImagePipelineConfig.Builder setEncodedMemoryCache (MemoryCache<CacheKeyPooledByteBuffer> encodedMemoryCache)

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 setRequestListener2s (Set<RequestListener2> requestListeners)

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

public ImagePipelineConfig.Builder setResizeAndRotateEnabledForNetwork (boolean resizeAndRotateEnabledForNetwork)

public ImagePipelineConfig.Builder setSmallImageDiskCacheConfig (DiskCacheConfig smallImageDiskCacheConfig)