Home
last modified time | relevance | path

Searched refs:loadProvider (Results 1 – 9 of 9) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/
DGenericRequestBuilder.java56 private ChildLoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider; field in GenericRequestBuilder
80 … GenericRequestBuilder(LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider, in GenericRequestBuilder() argument
82 …this(other.context, other.modelClass, loadProvider, transcodeClass, other.glide, other.requestTrac… in GenericRequestBuilder()
92 LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider, in GenericRequestBuilder() argument
100 this.loadProvider = loadProvider != null in GenericRequestBuilder()
101 … ? new ChildLoadProvider<ModelType, DataType, ResourceType, TranscodeType>(loadProvider) : null; in GenericRequestBuilder()
106 if (modelClass != null && loadProvider == null) { in GenericRequestBuilder()
200 if (loadProvider != null) { in decoder()
201 loadProvider.setSourceDecoder(decoder); in decoder()
221 if (loadProvider != null) { in cacheDecoder()
[all …]
DBitmapTypeRequest.java40 …DataLoadProvider<ImageVideoWrapper, Bitmap> loadProvider = glide.buildDataProvider(ImageVideoWrapp… in buildProvider() local
45 …turn new FixedLoadProvider<A, ImageVideoWrapper, Bitmap, R>(modelLoader, transcoder, loadProvider); in buildProvider()
DGenericTranscodeRequest.java78 …LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider = build(glide, modelLo… in transcode() local
82 loadProvider, transcodeClass, this)); in transcode()
DGifRequestBuilder.java39 GifRequestBuilder(LoadProvider<ModelType, InputStream, GifDrawable, GifDrawable> loadProvider, in GifRequestBuilder() argument
41 super(loadProvider, transcodeClass, other); in GifRequestBuilder()
DDrawableRequestBuilder.java46 …dProvider<ModelType, ImageVideoWrapper, GifBitmapWrapper, GlideDrawable> loadProvider, Glide glide, in DrawableRequestBuilder() argument
48 … super(context, modelClass, loadProvider, GlideDrawable.class, glide, requestTracker, lifecycle); in DrawableRequestBuilder()
DBitmapRequestBuilder.java55 …itmapRequestBuilder(LoadProvider<ModelType, ImageVideoWrapper, Bitmap, TranscodeType> loadProvider, in BitmapRequestBuilder() argument
57 super(loadProvider, transcodeClass, other); in BitmapRequestBuilder()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DGenericRequest.java64 private LoadProvider<A, T, Z, R> loadProvider; field in GenericRequest
89 LoadProvider<A, T, Z, R> loadProvider, in obtain() argument
115 request.init(loadProvider, in obtain()
145 loadProvider = null; in recycle()
161 LoadProvider<A, T, Z, R> loadProvider, in init() argument
182 this.loadProvider = loadProvider; in init()
208 check("ModelLoader", loadProvider.getModelLoader(), "try .using(ModelLoader)"); in init()
209 …check("Transcoder", loadProvider.getTranscoder(), "try .as*(Class).transcode(ResourceTranscoder)"); in init()
212 check("SourceEncoder", loadProvider.getSourceEncoder(), in init()
215 check("SourceDecoder", loadProvider.getSourceDecoder(), in init()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DDecodeJob.java38 private final DataLoadProvider<A, T> loadProvider; field in DecodeJob
49 …DataLoadProvider<A, T> loadProvider, Transformation<T> transformation, ResourceTranscoder<T, Z> tr… in DecodeJob() argument
51 …this(resultKey, width, height, fetcher, loadProvider, transformation, transcoder, diskCache, diskC… in DecodeJob()
57 …DataLoadProvider<A, T> loadProvider, Transformation<T> transformation, ResourceTranscoder<T, Z> tr… in DecodeJob() argument
63 this.loadProvider = loadProvider; in DecodeJob()
158 …SourceWriter<Resource<T>> writer = new SourceWriter<Resource<T>>(loadProvider.getEncoder(), transf… in writeTransformedToCache()
189 decoded = loadProvider.getSourceDecoder().decode(data, width, height); in decodeFromSourceData()
199 SourceWriter<A> writer = new SourceWriter<A>(loadProvider.getSourceEncoder(), data); in cacheAndDecodeSourceData()
221 result = loadProvider.getCacheDecoder().decode(cacheFile, width, height); in loadFromCache()
DEngine.java141 …DataLoadProvider<T, Z> loadProvider, Transformation<Z> transformation, ResourceTranscoder<Z, R> tr… in load() argument
147 … EngineKey key = keyFactory.buildKey(id, signature, width, height, loadProvider.getCacheDecoder(), in load()
148 loadProvider.getSourceDecoder(), transformation, loadProvider.getEncoder(), in load()
149 transcoder, loadProvider.getSourceEncoder()); in load()
187 …Z, R> decodeJob = new DecodeJob<T, Z, R>(key, width, height, fetcher, loadProvider, transformation, in load()