HomeSort by relevance Sort by last modified time
    Searched refs:gifResource (Results 1 - 3 of 3) sorted by null

  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
GifBitmapWrapper.java 13 private final Resource<GifDrawable> gifResource;
16 public GifBitmapWrapper(Resource<Bitmap> bitmapResource, Resource<GifDrawable> gifResource) {
17 if (bitmapResource != null && gifResource != null) {
20 if (bitmapResource == null && gifResource == null) {
24 this.gifResource = gifResource;
34 return gifResource.getSize();
49 return gifResource;
GifBitmapWrapperTransformation.java 32 Resource<GifDrawable> gifResource = resource.get().getGifResource();
39 } else if (gifResource != null && gifDataTransformation != null) {
40 Resource<GifDrawable> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeight);
41 if (!gifResource.equals(transformed)) {
GifBitmapWrapperResourceDecoder.java 101 Resource<GifDrawable> gifResource = gifDecoder.decode(bis, width, height);
102 if (gifResource != null) {
103 GifDrawable drawable = gifResource.get();
109 result = new GifBitmapWrapper(null /*bitmapResource*/, gifResource);
112 result = new GifBitmapWrapper(bitmapResource, null /*gifResource*/);

Completed in 261 milliseconds