java.lang.Object | |
↳ | com.facebook.imagepipeline.core.ProducerSequenceFactory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ProducerSequenceFactory(ContentResolver contentResolver, ProducerFactory producerFactory, NetworkFetcher networkFetcher, boolean resizeAndRotateEnabledForNetwork, boolean webpSupportEnabled, ThreadHandoffProducerQueue threadHandoffProducerQueue, boolean downSampleEnabled, boolean useBitmapPrepareToDraw, boolean partialImageCachingEnabled, boolean diskCacheEnabled, ImageTranscoderFactory imageTranscoderFactory, boolean isEncodedMemoryCacheProbingEnabled, boolean isDiskCacheProbingEnabled, boolean useCombinedNetworkAndCacheProducer, boolean allowDelay) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Producer<Void> |
getDecodedImagePrefetchProducerSequence(ImageRequest imageRequest)
Returns a sequence that can be used for a prefetch request for a decoded image.
| ||||||||||
Producer<CloseableReference<CloseableImage>> |
getDecodedImageProducerSequence(ImageRequest imageRequest)
Returns a sequence that can be used for a request for a decoded image.
| ||||||||||
Producer<Void> |
getEncodedImagePrefetchProducerSequence(ImageRequest imageRequest)
Returns a sequence that can be used for a prefetch request for an encoded image.
| ||||||||||
Producer<CloseableReference<PooledByteBuffer>> |
getEncodedImageProducerSequence(ImageRequest imageRequest)
Returns a sequence that can be used for a request for an encoded image from either network or
local files.
| ||||||||||
Producer<CloseableReference<PooledByteBuffer>> |
getLocalContentUriFetchEncodedImageProducerSequence()
Returns a sequence that can be used for a request for an encoded image from a local content
uri.
| ||||||||||
Producer<CloseableReference<PooledByteBuffer>> |
getLocalFileFetchEncodedImageProducerSequence()
Returns a sequence that can be used for a request for an encoded image from a local file.
| ||||||||||
Producer<CloseableReference<PooledByteBuffer>> |
getNetworkFetchEncodedImageProducerSequence()
Returns a sequence that can be used for a request for an encoded image from network.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns a sequence that can be used for a prefetch request for a decoded image.
imageRequest | the request that will be submitted |
---|
Returns a sequence that can be used for a request for a decoded image.
imageRequest | the request that will be submitted |
---|
Returns a sequence that can be used for a prefetch request for an encoded image.
Guaranteed to return the same sequence as getEncodedImageProducerSequence(request)
,
except that it is pre-pended with a SwallowResultProducer
.
imageRequest | the request that will be submitted |
---|
Returns a sequence that can be used for a request for an encoded image from either network or local files.
imageRequest | the request that will be submitted |
---|
Returns a sequence that can be used for a request for an encoded image from a local content uri.
Returns a sequence that can be used for a request for an encoded image from a local file.
Returns a sequence that can be used for a request for an encoded image from network.