Home
last modified time | relevance | path

Searched refs:GifDrawable (Results 1 – 16 of 16) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/
DGifTypeRequest.java4 import com.bumptech.glide.load.resource.gif.GifDrawable;
24 … private static <A, R> FixedLoadProvider<A, InputStream, GifDrawable, R> buildProvider(Glide glide, in buildProvider()
26 ResourceTranscoder<GifDrawable, R> transcoder) { in buildProvider() argument
32 transcoder = glide.buildTranscoder(GifDrawable.class, transcodeClass); in buildProvider()
34 …DataLoadProvider<InputStream, GifDrawable> dataLoadProvider = glide.buildDataProvider(InputStream.… in buildProvider()
35 GifDrawable.class); in buildProvider()
36 …return new FixedLoadProvider<A, InputStream, GifDrawable, R>(streamModelLoader, transcoder, dataLo… in buildProvider()
41 …super(buildProvider(other.glide, streamModelLoader, GifDrawable.class, null), GifDrawable.class, o… in GifTypeRequest()
61 public <R> GenericRequestBuilder<ModelType, InputStream, GifDrawable, R> transcode( in transcode()
62 ResourceTranscoder<GifDrawable, R> transcoder, Class<R> transcodeClass) { in transcode() argument
[all …]
DGifRequestBuilder.java14 import com.bumptech.glide.load.resource.gif.GifDrawable;
36 extends GenericRequestBuilder<ModelType, InputStream, GifDrawable, GifDrawable>
39 GifRequestBuilder(LoadProvider<ModelType, InputStream, GifDrawable, GifDrawable> loadProvider, in GifRequestBuilder() argument
40 Class<GifDrawable> transcodeClass, GenericRequestBuilder<ModelType, ?, ?, ?> other) { in GifRequestBuilder()
48 …public GifRequestBuilder<ModelType> thumbnail(GenericRequestBuilder<?, ?, ?, GifDrawable> thumbnai… in thumbnail()
104 ResourceDecoder<InputStream, GifDrawable> decoder) { in decoder()
114 ResourceDecoder<File, GifDrawable> cacheDecoder) { in cacheDecoder()
124 ResourceEncoder<GifDrawable> encoder) { in encoder()
214 public GifRequestBuilder<ModelType> transform(Transformation<GifDrawable>... transformations) { in transform()
223 …public GifRequestBuilder<ModelType> transcoder(ResourceTranscoder<GifDrawable, GifDrawable> transc… in transcoder() argument
[all …]
DGlide.java49 import com.bumptech.glide.load.resource.gif.GifDrawable;
212 … dataLoadProviderRegistry.register(InputStream.class, GifDrawable.class, gifDrawableLoadProvider); in Glide()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawableLoadProvider.java20 public class GifDrawableLoadProvider implements DataLoadProvider<InputStream, GifDrawable> {
24 private final FileToStreamDecoder<GifDrawable> cacheDecoder;
28 cacheDecoder = new FileToStreamDecoder<GifDrawable>(decoder); in GifDrawableLoadProvider()
34 public ResourceDecoder<File, GifDrawable> getCacheDecoder() { in getCacheDecoder()
39 public ResourceDecoder<InputStream, GifDrawable> getSourceDecoder() { in getSourceDecoder()
49 public ResourceEncoder<GifDrawable> getEncoder() { in getEncoder()
DGifDrawableTransformation.java14 public class GifDrawableTransformation implements Transformation<GifDrawable> {
24 …public Resource<GifDrawable> transform(Resource<GifDrawable> resource, int outWidth, int outHeight… in transform()
25 GifDrawable drawable = resource.get(); in transform()
DGifResourceEncoder.java25 public class GifResourceEncoder implements ResourceEncoder<GifDrawable> {
44 public boolean encode(Resource<GifDrawable> resource, OutputStream os) { in encode()
47 GifDrawable drawable = resource.get(); in encode()
113 GifDrawable drawable) { in getTransformedFrame()
DGifDrawableResource.java9 public class GifDrawableResource extends DrawableResource<GifDrawable> {
10 public GifDrawableResource(GifDrawable drawable) { in GifDrawableResource()
DGifDrawable.java25 public class GifDrawable extends GlideDrawable implements GifFrameManager.FrameCallback { class
70 …public GifDrawable(Context context, GifDecoder.BitmapProvider bitmapProvider, BitmapPool bitmapPoo… in GifDrawable() method in GifDrawable
77 GifDrawable(GifState state) { in GifDrawable() method in GifDrawable
90GifDrawable(GifDecoder decoder, GifFrameManager frameManager, Bitmap firstFrame, BitmapPool bitmap… in GifDrawable() method in GifDrawable
362 return new GifDrawable(this); in newDrawable()
DGifResourceDecoder.java26 public class GifResourceDecoder implements ResourceDecoder<InputStream, GifDrawable> {
82GifDrawable gifDrawable = new GifDrawable(context, provider, bitmapPool, unitTransformation, width… in decode()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DGifDrawableBytesTranscoder.java5 import com.bumptech.glide.load.resource.gif.GifDrawable;
12 public class GifDrawableBytesTranscoder implements ResourceTranscoder<GifDrawable, byte[]> {
14 public Resource<byte[]> transcode(Resource<GifDrawable> toTranscode) { in transcode()
15 GifDrawable gifData = toTranscode.get(); in transcode()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapper.java6 import com.bumptech.glide.load.resource.gif.GifDrawable;
13 private final Resource<GifDrawable> gifResource;
16 public GifBitmapWrapper(Resource<Bitmap> bitmapResource, Resource<GifDrawable> gifResource) { in GifBitmapWrapper()
48 public Resource<GifDrawable> getGifResource() { in getGifResource()
DGifBitmapWrapperTransformation.java8 import com.bumptech.glide.load.resource.gif.GifDrawable;
17 private final Transformation<GifDrawable> gifDataTransformation;
24 Transformation<GifDrawable> gifDataTransformation) { in GifBitmapWrapperTransformation()
32 Resource<GifDrawable> gifResource = resource.get().getGifResource(); in transform()
40 …Resource<GifDrawable> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeig… in transform()
DGifBitmapWrapperResourceDecoder.java12 import com.bumptech.glide.load.resource.gif.GifDrawable;
30 private final ResourceDecoder<InputStream, GifDrawable> gifDecoder;
37 ResourceDecoder<InputStream, GifDrawable> gifDecoder, BitmapPool bitmapPool) { in GifBitmapWrapperResourceDecoder()
43 …ResourceDecoder<InputStream, GifDrawable> gifDecoder, BitmapPool bitmapPool, ImageTypeParser parse… in GifBitmapWrapperResourceDecoder()
101 Resource<GifDrawable> gifResource = gifDecoder.decode(bis, width, height); in decodeGifWrapper()
103 GifDrawable drawable = gifResource.get(); in decodeGifWrapper()
DGifBitmapWrapperResourceEncoder.java7 import com.bumptech.glide.load.resource.gif.GifDrawable;
17 private final ResourceEncoder<GifDrawable> gifEncoder;
21 ResourceEncoder<GifDrawable> gifEncoder) { in GifBitmapWrapperResourceEncoder()
DGifBitmapWrapperResource.java6 import com.bumptech.glide.load.resource.gif.GifDrawable;
37 Resource<GifDrawable> gifDataResource = data.getGifResource(); in recycle()
DImageVideoGifDrawableLoadProvider.java11 import com.bumptech.glide.load.resource.gif.GifDrawable;
29 DataLoadProvider<InputStream, GifDrawable> gifProvider, BitmapPool bitmapPool) { in ImageVideoGifDrawableLoadProvider()