OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:decodeFormat
(Results
1 - 10
of
10
) sorted by null
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
FileDescriptorBitmapDecoder.java
8
import com.bumptech.glide.load.
DecodeFormat
;
22
private
DecodeFormat
decodeFormat
;
25
this(Glide.get(context).getBitmapPool(),
DecodeFormat
.DEFAULT);
28
public FileDescriptorBitmapDecoder(Context context,
DecodeFormat
decodeFormat
) {
29
this(Glide.get(context).getBitmapPool(),
decodeFormat
);
32
public FileDescriptorBitmapDecoder(BitmapPool bitmapPool,
DecodeFormat
decodeFormat
) {
33
this(new VideoBitmapDecoder(), bitmapPool,
decodeFormat
);
[
all
...]
StreamBitmapDecoder.java
7
import com.bumptech.glide.load.
DecodeFormat
;
23
private
DecodeFormat
decodeFormat
;
31
this(bitmapPool,
DecodeFormat
.DEFAULT);
34
public StreamBitmapDecoder(Context context,
DecodeFormat
decodeFormat
) {
35
this(Glide.get(context).getBitmapPool(),
decodeFormat
);
38
public StreamBitmapDecoder(BitmapPool bitmapPool,
DecodeFormat
decodeFormat
) {
39
this(Downsampler.AT_LEAST, bitmapPool,
decodeFormat
);
[
all
...]
BitmapDecoder.java
5
import com.bumptech.glide.load.
DecodeFormat
;
23
* @param
decodeFormat
The desired configuration for the returned bitmap.
25
Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight,
DecodeFormat
decodeFormat
)
FileDescriptorBitmapDataLoadProvider.java
6
import com.bumptech.glide.load.
DecodeFormat
;
27
public FileDescriptorBitmapDataLoadProvider(BitmapPool bitmapPool,
DecodeFormat
decodeFormat
) {
28
cacheDecoder = new FileToStreamDecoder<Bitmap>(new StreamBitmapDecoder(bitmapPool,
decodeFormat
));
29
sourceDecoder = new FileDescriptorBitmapDecoder(bitmapPool,
decodeFormat
);
StreamBitmapDataLoadProvider.java
5
import com.bumptech.glide.load.
DecodeFormat
;
27
public StreamBitmapDataLoadProvider(BitmapPool bitmapPool,
DecodeFormat
decodeFormat
) {
29
decoder = new StreamBitmapDecoder(bitmapPool,
decodeFormat
);
VideoBitmapDecoder.java
7
import com.bumptech.glide.load.
DecodeFormat
;
32
DecodeFormat
decodeFormat
)
Downsampler.java
9
import com.bumptech.glide.load.
DecodeFormat
;
103
public Bitmap decode(InputStream is, BitmapPool pool, int outWidth, int outHeight,
DecodeFormat
decodeFormat
) {
142
decodeFormat
);
191
int inWidth, int inHeight, int sampleSize,
DecodeFormat
decodeFormat
) {
193
Bitmap.Config config = getConfig(is,
decodeFormat
);
233
private static Bitmap.Config getConfig(InputStream is,
DecodeFormat
format) {
235
if (format ==
DecodeFormat
.ALWAYS_ARGB_8888 || Build.VERSION.SDK_INT == Build.VERSION_CODES.JELLY_BEAN) {
/external/glide/library/src/main/java/com/bumptech/glide/
GlideBuilder.java
6
import com.bumptech.glide.load.
DecodeFormat
;
34
private
DecodeFormat
decodeFormat
;
117
* Sets the {@link com.bumptech.glide.load.
DecodeFormat
} that will be the default format for all the default
122
* Decode format is always a suggestion, not a requirement. See {@link com.bumptech.glide.load.
DecodeFormat
} for
128
* {@link com.bumptech.glide.load.
DecodeFormat
#DEFAULT} as its default.
131
* @param
decodeFormat
The format to use.
134
public GlideBuilder setDecodeFormat(
DecodeFormat
decodeFormat
) {
135
this.
decodeFormat
= decodeFormat
[
all
...]
BitmapRequestBuilder.java
9
import com.bumptech.glide.load.
DecodeFormat
;
51
private
DecodeFormat
decodeFormat
;
59
this.
decodeFormat
= other.glide.getDecodeFormat();
61
imageDecoder = new StreamBitmapDecoder(bitmapPool,
decodeFormat
);
62
videoDecoder = new FileDescriptorBitmapDecoder(bitmapPool,
decodeFormat
);
112
imageDecoder = new StreamBitmapDecoder(downsampler, bitmapPool,
decodeFormat
);
222
* {@link
DecodeFormat
#PREFER_RGB_565}. This replaces any previous calls to {@link #imageDecoder(ResourceDecoder)},
233
* @see
DecodeFormat
238
public BitmapRequestBuilder<ModelType, TranscodeType> format(
DecodeFormat
format)
[
all
...]
Glide.java
19
import com.bumptech.glide.load.
DecodeFormat
;
90
private final
DecodeFormat
decodeFormat
;
187
Glide(Engine engine, MemoryCache memoryCache, BitmapPool bitmapPool, Context context,
DecodeFormat
decodeFormat
) {
191
this.
decodeFormat
=
decodeFormat
;
194
bitmapPreFiller = new BitmapPreFiller(memoryCache, bitmapPool,
decodeFormat
);
199
new StreamBitmapDataLoadProvider(bitmapPool,
decodeFormat
);
203
new FileDescriptorBitmapDataLoadProvider(bitmapPool,
decodeFormat
);
[
all
...]
Completed in 315 milliseconds