java.lang.Object | |
↳ | com.facebook.imagepipeline.core.ImagePipelineExperiments.Builder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder(ImagePipelineConfig.Builder configBuilder) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ImagePipelineExperiments | build() | ||||||||||
ImagePipelineConfig.Builder |
setDecodeCancellationEnabled(boolean decodeCancellationEnabled)
If true we cancel decoding jobs when the related request has been cancelled
| ||||||||||
ImagePipelineConfig.Builder | setExternalCreatedBitmapLogEnabled(boolean externalCreatedBitmapLogEnabled) | ||||||||||
ImagePipelineConfig.Builder |
setForceSmallCacheThresholdBytes(int forceSmallCacheThresholdBytes)
If this value is nonnegative, then all network-downloaded images below this size will be
written to the small image cache.
| ||||||||||
ImagePipelineConfig.Builder |
setMediaVariationsIndexEnabled(Supplier<Boolean> mediaVariationsIndexEnabled)
If true, this will allow the image pipeline to keep an index of the ID in each request's
MediaVariations object (if present) to possibly
provide fallback images which are present in cache, without the need to explicitly provide
alternative variants of the image in the request. | ||||||||||
ImagePipelineConfig.Builder | setSuppressBitmapPrefetching(boolean suppressBitmapPrefetching) | ||||||||||
ImagePipelineConfig.Builder | setUseDownsampligRatioForResizing(boolean useDownsamplingRatioForResizing) | ||||||||||
ImagePipelineConfig.Builder | setWebpBitmapFactory(WebpBitmapFactory webpBitmapFactory) | ||||||||||
ImagePipelineConfig.Builder | setWebpErrorLogger(WebpBitmapFactory.WebpErrorLogger webpErrorLogger) | ||||||||||
ImagePipelineConfig.Builder | setWebpSupportEnabled(boolean webpSupportEnabled) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
If true we cancel decoding jobs when the related request has been cancelled
decodeCancellationEnabled | If true the decoding of cancelled requests are cancelled |
---|
If this value is nonnegative, then all network-downloaded images below this size will be written to the small image cache.
This will require the image pipeline to do up to two disk reads, instead of one, before going out to network. Use only if this pattern makes sense for your application.
If true, this will allow the image pipeline to keep an index of the ID in each request's
MediaVariations
object (if present) to possibly
provide fallback images which are present in cache, without the need to explicitly provide
alternative variants of the image in the request.