|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bumptech.glide.load.resource.gifbitmap.ImageVideoGifDrawableLoadProvider
public class ImageVideoGifDrawableLoadProvider
An DataLoadProvider
that can load either an
GifDrawable
or an Bitmap
from either an
InputStream
or an ParcelFileDescriptor
.
Constructor Summary | |
---|---|
ImageVideoGifDrawableLoadProvider(DataLoadProvider<ImageVideoWrapper,Bitmap> bitmapProvider,
DataLoadProvider<InputStream,GifDrawable> gifProvider,
BitmapPool bitmapPool)
|
Method Summary | |
---|---|
ResourceDecoder<File,GifBitmapWrapper> |
getCacheDecoder()
Returns the ResourceDecoder to use to decode the resource from the disk cache. |
ResourceEncoder<GifBitmapWrapper> |
getEncoder()
Returns the ResourceEncoder to use to write the decoded and transformed resource
to the disk cache. |
ResourceDecoder<ImageVideoWrapper,GifBitmapWrapper> |
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 ImageVideoGifDrawableLoadProvider(DataLoadProvider<ImageVideoWrapper,Bitmap> bitmapProvider, DataLoadProvider<InputStream,GifDrawable> gifProvider, BitmapPool bitmapPool)
Method Detail |
---|
public ResourceDecoder<File,GifBitmapWrapper> getCacheDecoder()
DataLoadProvider
ResourceDecoder
to use to decode the resource from the disk cache.
getCacheDecoder
in interface DataLoadProvider<ImageVideoWrapper,GifBitmapWrapper>
public ResourceDecoder<ImageVideoWrapper,GifBitmapWrapper> getSourceDecoder()
DataLoadProvider
ResourceDecoder
to use to decode the resource from the original data.
getSourceDecoder
in interface DataLoadProvider<ImageVideoWrapper,GifBitmapWrapper>
public Encoder<ImageVideoWrapper> getSourceEncoder()
DataLoadProvider
Encoder
to use to write the original data to the disk cache.
getSourceEncoder
in interface DataLoadProvider<ImageVideoWrapper,GifBitmapWrapper>
public ResourceEncoder<GifBitmapWrapper> getEncoder()
DataLoadProvider
ResourceEncoder
to use to write the decoded and transformed resource
to the disk cache.
getEncoder
in interface DataLoadProvider<ImageVideoWrapper,GifBitmapWrapper>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |