Home
last modified time | relevance | path

Searched refs:transcoder (Results 1 – 17 of 17) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngineKey.java23 private final ResourceTranscoder transcoder; field in EngineKey
32 ResourceTranscoder transcoder, Encoder sourceEncoder) { in EngineKey() argument
41 this.transcoder = transcoder; in EngineKey()
87 } else if (transcoder == null ^ engineKey.transcoder == null) { in equals()
89 } else if (transcoder != null && !transcoder.getId().equals(engineKey.transcoder.getId())) { in equals()
110 … hashCode = 31 * hashCode + (transcoder != null ? transcoder .getId().hashCode() : 0); in hashCode()
128 .append(transcoder != null ? transcoder .getId() : "") in toString()
DDecodeJob.java40 private final ResourceTranscoder<T, Z> transcoder; field in DecodeJob
49 …Provider<A, T> loadProvider, Transformation<T> transformation, ResourceTranscoder<T, Z> transcoder, in DecodeJob() argument
51 …this(resultKey, width, height, fetcher, loadProvider, transformation, transcoder, diskCache, diskC… in DecodeJob()
57 …Provider<A, T> loadProvider, Transformation<T> transformation, ResourceTranscoder<T, Z> transcoder, in DecodeJob() argument
65 this.transcoder = transcoder; in DecodeJob()
246 return transcoder.transcode(transformed); in transcode()
DEngineKeyFactory.java15 ResourceTranscoder transcoder, Encoder sourceEncoder) { in buildKey() argument
17 transcoder, sourceEncoder); in buildKey()
DEngine.java141 …Provider<T, Z> loadProvider, Transformation<Z> transformation, ResourceTranscoder<Z, R> transcoder, in load() argument
149 transcoder, loadProvider.getSourceEncoder()); in load()
188 transcoder, diskCache, diskCacheStrategy, priority); in load()
/external/glide/library/src/main/java/com/bumptech/glide/provider/
DFixedLoadProvider.java22 private final ResourceTranscoder<Z, R> transcoder; field in FixedLoadProvider
25 public FixedLoadProvider(ModelLoader<A, T> modelLoader, ResourceTranscoder<Z, R> transcoder, in FixedLoadProvider() argument
32 if (transcoder == null) { in FixedLoadProvider()
35 this.transcoder = transcoder; in FixedLoadProvider()
56 return transcoder; in getTranscoder()
DChildLoadProvider.java26 private ResourceTranscoder<Z, R> transcoder; field in ChildLoadProvider
72 public void setTranscoder(ResourceTranscoder<Z, R> transcoder) { in setTranscoder() argument
73 this.transcoder = transcoder; in setTranscoder()
138 if (transcoder != null) { in getTranscoder()
139 return transcoder; in getTranscoder()
/external/glide/library/src/main/java/com/bumptech/glide/
DGifTypeRequest.java26 ResourceTranscoder<GifDrawable, R> transcoder) { in buildProvider() argument
31 if (transcoder == null) { in buildProvider()
32 transcoder = glide.buildTranscoder(GifDrawable.class, transcodeClass); in buildProvider()
36 …return new FixedLoadProvider<A, InputStream, GifDrawable, R>(streamModelLoader, transcoder, dataLo… in buildProvider()
62 ResourceTranscoder<GifDrawable, R> transcoder, Class<R> transcodeClass) { in transcode() argument
64 transcodeClass, transcoder); in transcode()
DBitmapTypeRequest.java32 Class<R> transcodedClass, ResourceTranscoder<Bitmap, R> transcoder) { in buildProvider() argument
37 if (transcoder == null) { in buildProvider()
38 transcoder = glide.buildTranscoder(Bitmap.class, transcodedClass); in buildProvider()
45 …return new FixedLoadProvider<A, ImageVideoWrapper, Bitmap, R>(modelLoader, transcoder, loadProvide… in buildProvider()
68 … public <R> BitmapRequestBuilder<ModelType, R> transcode(ResourceTranscoder<Bitmap, R> transcoder, in transcode() argument
71 … buildProvider(glide, streamModelLoader, fileDescriptorModelLoader, transcodeClass, transcoder), in transcode()
DGenericTranscodeRequest.java40 Class<T> dataClass, Class<Z> resourceClass, ResourceTranscoder<Z, R> transcoder) { in build() argument
42 return new FixedLoadProvider<A, T, Z, R>(modelLoader, transcoder, dataLoadProvider); in build()
77 … ResourceTranscoder<ResourceType, TranscodeType> transcoder, Class<TranscodeType> transcodeClass) { in transcode() argument
79 dataClass, resourceClass, transcoder); in transcode()
100 ResourceTranscoder<File, File> transcoder = UnitTranscoder.get(); in getDownloadOnlyRequest() local
103 … new FixedLoadProvider<ModelType, DataType, File, File>(modelLoader, transcoder, dataLoadProvider); in getDownloadOnlyRequest()
DDrawableTypeRequest.java39 ResourceTranscoder<Z, R> transcoder) { in buildProvider() argument
44 if (transcoder == null) { in buildProvider()
45 transcoder = glide.buildTranscoder(resourceClass, transcodedClass); in buildProvider()
51 …return new FixedLoadProvider<A, ImageVideoWrapper, Z, R>(modelLoader, transcoder, dataLoadProvider… in buildProvider()
DGifRequestBuilder.java223 …public GifRequestBuilder<ModelType> transcoder(ResourceTranscoder<GifDrawable, GifDrawable> transc… in transcoder() argument
224 super.transcoder(transcoder); in transcoder()
DDrawableRequestBuilder.java236 public DrawableRequestBuilder<ModelType> transcoder( in transcoder() method in DrawableRequestBuilder
237 ResourceTranscoder<GifBitmapWrapper, GlideDrawable> transcoder) { in transcoder() argument
238 super.transcoder(transcoder); in transcoder()
DBitmapRequestBuilder.java310 public BitmapRequestBuilder<ModelType, TranscodeType> transcoder( in transcoder() method in BitmapRequestBuilder
311 ResourceTranscoder<Bitmap, TranscodeType> transcoder) { in transcoder()
312 super.transcoder(transcoder); in transcoder()
DGenericRequestBuilder.java346 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> transcoder( in transcoder() method in GenericRequestBuilder
347 ResourceTranscoder<ResourceType, TranscodeType> transcoder) { in transcoder()
349 loadProvider.setTranscoder(transcoder); in transcoder()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DTranscoderRegistry.java28 …id register(Class<Z> decodedClass, Class<R> transcodedClass, ResourceTranscoder<Z, R> transcoder) { in register() argument
29 factories.put(new MultiClassKey(decodedClass, transcodedClass), transcoder); in register()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DGenericRequest.java416 ResourceTranscoder<Z, R> transcoder = loadProvider.getTranscoder(); in onSizeReady() local
421 …atus = engine.load(signature, width, height, dataFetcher, loadProvider, transformation, transcoder, in onSizeReady()
/external/protobuf/src/google/protobuf/util/internal/testdata/
Dmaps.proto53 // the wire-format compatibility of the JSON transcoder (e.g., whether it