|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bumptech.glide.load.resource.bitmap.ImageVideoDataLoadProvider
public class ImageVideoDataLoadProvider
A DataLoadProvider for loading either an InputStream or an
ParcelFileDescriptor as an Bitmap.
| Constructor Summary | |
|---|---|
ImageVideoDataLoadProvider(DataLoadProvider<InputStream,Bitmap> streamBitmapProvider,
DataLoadProvider<ParcelFileDescriptor,Bitmap> fileDescriptorBitmapProvider)
|
|
| Method Summary | |
|---|---|
ResourceDecoder<File,Bitmap> |
getCacheDecoder()
Returns the ResourceDecoder to use to decode the resource from the disk cache. |
ResourceEncoder<Bitmap> |
getEncoder()
Returns the ResourceEncoder to use to write the decoded and transformed resource
to the disk cache. |
ResourceDecoder<ImageVideoWrapper,Bitmap> |
getSourceDecoder()
Returns the ResourceDecoder to use to decode the resource from the original data. |
Encoder<ImageVideoWrapper> |
getSourceEncoder()
Returns the Encoder to use to write the original data to the disk cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageVideoDataLoadProvider(DataLoadProvider<InputStream,Bitmap> streamBitmapProvider,
DataLoadProvider<ParcelFileDescriptor,Bitmap> fileDescriptorBitmapProvider)
| Method Detail |
|---|
public ResourceDecoder<File,Bitmap> getCacheDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the disk cache.
getCacheDecoder in interface DataLoadProvider<ImageVideoWrapper,Bitmap>public ResourceDecoder<ImageVideoWrapper,Bitmap> getSourceDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the original data.
getSourceDecoder in interface DataLoadProvider<ImageVideoWrapper,Bitmap>public Encoder<ImageVideoWrapper> getSourceEncoder()
DataLoadProviderEncoder to use to write the original data to the disk cache.
getSourceEncoder in interface DataLoadProvider<ImageVideoWrapper,Bitmap>public ResourceEncoder<Bitmap> getEncoder()
DataLoadProviderResourceEncoder to use to write the decoded and transformed resource
to the disk cache.
getEncoder in interface DataLoadProvider<ImageVideoWrapper,Bitmap>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||