Home
last modified time | relevance | path

Searched refs:GlideUrl (Results 1 – 11 of 11) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DHttpUrlGlideUrlLoader.java8 import com.bumptech.glide.load.model.GlideUrl;
19 public class HttpUrlGlideUrlLoader implements ModelLoader<GlideUrl, InputStream> {
21 private final ModelCache<GlideUrl, GlideUrl> modelCache;
26 public static class Factory implements ModelLoaderFactory<GlideUrl, InputStream> {
27 … private final ModelCache<GlideUrl, GlideUrl> modelCache = new ModelCache<GlideUrl, GlideUrl>(500);
30 … public ModelLoader<GlideUrl, InputStream> build(Context context, GenericLoaderFactory factories) { in build()
44 public HttpUrlGlideUrlLoader(ModelCache<GlideUrl, GlideUrl> modelCache) { in HttpUrlGlideUrlLoader() argument
49 public DataFetcher<InputStream> getResourceFetcher(GlideUrl model, int width, int height) { in getResourceFetcher()
51 GlideUrl url = model; in getResourceFetcher()
DBaseGlideUrlLoader.java8 import com.bumptech.glide.load.model.GlideUrl;
21 private final ModelLoader<GlideUrl, InputStream> concreteLoader;
22 private final ModelCache<T, GlideUrl> modelCache;
28 public BaseGlideUrlLoader(Context context, ModelCache<T, GlideUrl> modelCache) { in BaseGlideUrlLoader()
29 this(Glide.buildModelLoader(GlideUrl.class, InputStream.class, context), modelCache); in BaseGlideUrlLoader()
32 public BaseGlideUrlLoader(ModelLoader<GlideUrl, InputStream> concreteLoader) { in BaseGlideUrlLoader() argument
36 …public BaseGlideUrlLoader(ModelLoader<GlideUrl, InputStream> concreteLoader, ModelCache<T, GlideUr… in BaseGlideUrlLoader() argument
43 GlideUrl result = null; in getResourceFetcher()
54 result = new GlideUrl(stringURL); in getResourceFetcher()
DStreamUriLoader.java11 import com.bumptech.glide.load.model.GlideUrl;
32 …return new StreamUriLoader(context, factories.buildModelLoader(GlideUrl.class, InputStream.class)); in build()
42 this(context, Glide.buildStreamModelLoader(GlideUrl.class, context)); in StreamUriLoader()
45 public StreamUriLoader(Context context, ModelLoader<GlideUrl, InputStream> urlLoader) { in StreamUriLoader() argument
DStreamUrlLoader.java6 import com.bumptech.glide.load.model.GlideUrl;
27 … return new StreamUrlLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class)); in build()
36 public StreamUrlLoader(ModelLoader<GlideUrl, InputStream> glideUrlLoader) { in StreamUrlLoader() argument
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
DFileDescriptorUriLoader.java12 import com.bumptech.glide.load.model.GlideUrl;
28 return new FileDescriptorUriLoader(context, factories.buildModelLoader(GlideUrl.class, in build()
39 this(context, Glide.buildFileDescriptorModelLoader(GlideUrl.class, context)); in FileDescriptorUriLoader()
42 …public FileDescriptorUriLoader(Context context, ModelLoader<GlideUrl, ParcelFileDescriptor> urlLoa… in FileDescriptorUriLoader() argument
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DUrlLoader.java15 private final ModelLoader<GlideUrl, T> glideUrlLoader;
17 public UrlLoader(ModelLoader<GlideUrl, T> glideUrlLoader) { in UrlLoader() argument
23 return glideUrlLoader.getResourceFetcher(new GlideUrl(model), width, height); in getResourceFetcher()
DGlideUrl.java22 public class GlideUrl { class
30 public GlideUrl(URL url) { in GlideUrl() method in GlideUrl
38 public GlideUrl(String url) { in GlideUrl() method in GlideUrl
DUriLoader.java18 private final ModelLoader<GlideUrl, T> urlLoader;
20 public UriLoader(Context context, ModelLoader<GlideUrl, T> urlLoader) { in UriLoader() argument
38 result = urlLoader.getResourceFetcher(new GlideUrl(model.toString()), width, height); in getResourceFetcher()
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DHttpUrlFetcher.java6 import com.bumptech.glide.load.model.GlideUrl;
21 private final GlideUrl glideUrl;
28 public HttpUrlFetcher(GlideUrl glideUrl) { in HttpUrlFetcher()
33 HttpUrlFetcher(GlideUrl glideUrl, HttpUrlConnectionFactory connectionFactory) { in HttpUrlFetcher()
/external/glide/
DREADME.md127 Glide.get(this).register(GlideUrl.class, InputStream.class,
168 Glide.get(this).register(GlideUrl.class, InputStream.class,
/external/glide/library/src/main/java/com/bumptech/glide/
DGlide.java26 import com.bumptech.glide.load.model.GlideUrl;
230 register(GlideUrl.class, InputStream.class, new HttpUrlGlideUrlLoader.Factory()); in Glide()