Home | History | Annotate | Download | only in model

Lines Matching defs:model

1 package com.bumptech.glide.load.model;
6 * A factory interface for translating an arbitrarily complex data model into a concrete data type that can be used
7 * by an {@link DataFetcher} to obtain the data for a resource represented by the model.
11 * 1. To translate a specific model into a data type that can be decoded into a resource.
13 * 2. To allow a model to be combined with the dimensions of the view to fetch a resource of a specific size.
23 * @param <T> The type of the model.
30 * Obtains an {@link DataFetcher} that can fetch the data required to decode the resource represented by this model.
34 * Note - If no valid data fetcher can be returned (for example if a model has a null URL), then it is
39 * @param model The model representing the resource.
45 DataFetcher<Y> getResourceFetcher(T model, int width, int height);