java.lang.Object | |
↳ | com.facebook.imagepipeline.producers.LocalExifThumbnailProducer |
A producer that retrieves exif thumbnails.
At present, these thumbnails are retrieved on the java heap before being put into native memory.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PRODUCER_NAME |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LocalExifThumbnailProducer(Executor executor, PooledByteBufferFactory pooledByteBufferFactory, ContentResolver contentResolver) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
canProvideImageForSize(ResizeOptions resizeOptions)
Checks whether the producer may be able to produce images of the specified size.
| ||||||||||
void | produceResults(Consumer<EncodedImage> consumer, ProducerContext producerContext) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.imagepipeline.producers.Producer
| |||||||||||
From interface
com.facebook.imagepipeline.producers.ThumbnailProducer
|
Checks whether the producer may be able to produce images of the specified size. This makes no promise about being able to produce images for a particular source, only generally being able to produce output of the desired resolution.
In this case, assumptions are made about the common size of EXIF thumbnails which is that they may be up to 512 pixels in each dimension.
resizeOptions | the resize options from the current request |
---|