|
|||||||||
| 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,android.graphics.Bitmap> |
getCacheDecoder()
Returns the ResourceDecoder to use to decode the resource from the disk cache. |
ResourceEncoder<android.graphics.Bitmap> |
getEncoder()
Returns the ResourceEncoder to use to write the decoded and transformed resource
to the disk cache. |
ResourceDecoder<android.os.ParcelFileDescriptor,android.graphics.Bitmap> |
getSourceDecoder()
Returns the ResourceDecoder to use to decode the resource from the original data. |
Encoder<android.os.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,android.graphics.Bitmap> getCacheDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the disk cache.
getCacheDecoder in interface DataLoadProvider<android.os.ParcelFileDescriptor,android.graphics.Bitmap>public ResourceDecoder<android.os.ParcelFileDescriptor,android.graphics.Bitmap> getSourceDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the original data.
getSourceDecoder in interface DataLoadProvider<android.os.ParcelFileDescriptor,android.graphics.Bitmap>public Encoder<android.os.ParcelFileDescriptor> getSourceEncoder()
DataLoadProviderEncoder to use to write the original data to the disk cache.
getSourceEncoder in interface DataLoadProvider<android.os.ParcelFileDescriptor,android.graphics.Bitmap>public ResourceEncoder<android.graphics.Bitmap> getEncoder()
DataLoadProviderResourceEncoder to use to write the decoded and transformed resource
to the disk cache.
getEncoder in interface DataLoadProvider<android.os.ParcelFileDescriptor,android.graphics.Bitmap>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||