/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
D | GenericLoaderFactory.java | 49 …chronized <T, Y> ModelLoaderFactory<T, Y> unregister(Class<T> modelClass, Class<Y> resourceClass) { in unregister() argument 55 result = resourceToFactories.remove(resourceClass); in unregister() 71 … synchronized <T, Y> ModelLoaderFactory<T, Y> register(Class<T> modelClass, Class<Y> resourceClass, in register() argument 81 ModelLoaderFactory/*T, Y*/ previous = resourceToFactories.put(resourceClass, factory); in register() 110 …synchronized <T, Y> ModelLoader<T, Y> buildModelLoader(Class<T> modelClass, Class<Y> resourceClass, in buildModelLoader() argument 112 return buildModelLoader(modelClass, resourceClass); in buildModelLoader() 125 …nchronized <T, Y> ModelLoader<T, Y> buildModelLoader(Class<T> modelClass, Class<Y> resourceClass) { in buildModelLoader() argument 126 ModelLoader<T, Y> result = getCachedLoader(modelClass, resourceClass); in buildModelLoader() 138 final ModelLoaderFactory<T, Y> factory = getFactory(modelClass, resourceClass); in buildModelLoader() 141 cacheModelLoader(modelClass, resourceClass, result); in buildModelLoader() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
D | GenericTranscodeRequest.java | 36 private final Class<ResourceType> resourceClass; field in GenericTranscodeRequest 40 Class<T> dataClass, Class<Z> resourceClass, ResourceTranscoder<Z, R> transcoder) { in build() argument 41 DataLoadProvider<T, Z> dataLoadProvider = glide.buildDataProvider(dataClass, resourceClass); in build() 47 …der<ModelType, DataType> modelLoader, Class<DataType> dataClass, Class<ResourceType> resourceClass, in GenericTranscodeRequest() argument 49 …super(build(other.glide, modelLoader, dataClass, resourceClass, UnitTranscoder.<ResourceType>get()… in GenericTranscodeRequest() 53 this.resourceClass = resourceClass; in GenericTranscodeRequest() 58 …der<ModelType, DataType> modelLoader, Class<DataType> dataClass, Class<ResourceType> resourceClass, in GenericTranscodeRequest() argument 60 super(context, modelClass, build(glide, modelLoader, dataClass, resourceClass, in GenericTranscodeRequest() 61 … UnitTranscoder.<ResourceType>get()), resourceClass, glide, requestTracker, lifecycle); in GenericTranscodeRequest() 64 this.resourceClass = resourceClass; in GenericTranscodeRequest() [all …]
|
D | Glide.java | 452 …public <T, Y> void register(Class<T> modelClass, Class<Y> resourceClass, ModelLoaderFactory<T, Y> … in register() argument 453 … ModelLoaderFactory<T, Y> removed = loaderFactory.register(modelClass, resourceClass, factory); in register() 468 public <T, Y> void unregister(Class<T> modelClass, Class<Y> resourceClass) { in unregister() argument 469 ModelLoaderFactory<T, Y> removed = loaderFactory.unregister(modelClass, resourceClass); in unregister() 489 …ublic static <T, Y> ModelLoader<T, Y> buildModelLoader(Class<T> modelClass, Class<Y> resourceClass, in buildModelLoader() argument 497 return Glide.get(context).getLoaderFactory().buildModelLoader(modelClass, resourceClass); in buildModelLoader() 514 …public static <T, Y> ModelLoader<T, Y> buildModelLoader(T model, Class<Y> resourceClass, Context c… in buildModelLoader() argument 515 …return buildModelLoader(model != null ? (Class<T>) model.getClass() : null, resourceClass, context… in buildModelLoader()
|
D | DrawableTypeRequest.java | 37 ModelLoader<A, ParcelFileDescriptor> fileDescriptorModelLoader, Class<Z> resourceClass, in buildProvider() argument 45 transcoder = glide.buildTranscoder(resourceClass, transcodedClass); in buildProvider() 48 resourceClass); in buildProvider()
|
D | RequestManager.java | 716 public <Z> GenericTranscodeRequest<A, T, Z> as(Class<Z> resourceClass) { in as() argument 719 … modelLoader, dataClass, resourceClass, requestTracker, lifecycle, optionsApplier)); in as()
|
/external/glide/library/src/main/java/com/bumptech/glide/provider/ |
D | DataLoadProviderRegistry.java | 28 …public <T, Z> void register(Class<T> dataClass, Class<Z> resourceClass, DataLoadProvider<T, Z> pro… in register() argument 30 providers.put(new MultiClassKey(dataClass, resourceClass), provider); in register() 42 public <T, Z> DataLoadProvider<T, Z> get(Class<T> dataClass, Class<Z> resourceClass) { in get() argument 45 GET_KEY.set(dataClass, resourceClass); in get()
|