|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bumptech.glide.load.resource.bitmap.FileDescriptorBitmapDataLoadProvider
public class FileDescriptorBitmapDataLoadProvider
An DataLoadProvider that provides classes for decoding and encoding
Bitmaps from ParcelFileDescriptor data.
| Constructor Summary | |
|---|---|
FileDescriptorBitmapDataLoadProvider(BitmapPool bitmapPool,
DecodeFormat decodeFormat)
|
|
| 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<ParcelFileDescriptor,Bitmap> |
getSourceDecoder()
Returns the ResourceDecoder to use to decode the resource from the original data. |
Encoder<ParcelFileDescriptor> |
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 FileDescriptorBitmapDataLoadProvider(BitmapPool bitmapPool,
DecodeFormat decodeFormat)
| Method Detail |
|---|
public ResourceDecoder<File,Bitmap> getCacheDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the disk cache.
getCacheDecoder in interface DataLoadProvider<ParcelFileDescriptor,Bitmap>public ResourceDecoder<ParcelFileDescriptor,Bitmap> getSourceDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the original data.
getSourceDecoder in interface DataLoadProvider<ParcelFileDescriptor,Bitmap>public Encoder<ParcelFileDescriptor> getSourceEncoder()
DataLoadProviderEncoder to use to write the original data to the disk cache.
getSourceEncoder in interface DataLoadProvider<ParcelFileDescriptor,Bitmap>public ResourceEncoder<Bitmap> getEncoder()
DataLoadProviderResourceEncoder to use to write the decoded and transformed resource
to the disk cache.
getEncoder in interface DataLoadProvider<ParcelFileDescriptor,Bitmap>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||