OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BitmapResource
(Results
1 - 11
of
11
) sorted by null
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
BitmapResource.java
12
public class
BitmapResource
implements Resource<Bitmap> {
17
* Returns a new {@link
BitmapResource
} wrapping the given {@link Bitmap} if the Bitmap is non-null or null if the
23
public static
BitmapResource
obtain(Bitmap bitmap, BitmapPool bitmapPool) {
27
return new
BitmapResource
(bitmap, bitmapPool);
31
public
BitmapResource
(Bitmap bitmap, BitmapPool bitmapPool) {
BitmapTransformation.java
56
result =
BitmapResource
.obtain(transformed, bitmapPool);
FileDescriptorBitmapDecoder.java
46
return
BitmapResource
.obtain(bitmap, bitmapPool);
StreamBitmapDecoder.java
51
return
BitmapResource
.obtain(bitmap, bitmapPool);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
GifFrameResourceDecoder.java
9
import com.bumptech.glide.load.resource.bitmap.
BitmapResource
;
21
return
BitmapResource
.obtain(bitmap, bitmapPool);
GifDrawableTransformation.java
8
import com.bumptech.glide.load.resource.bitmap.
BitmapResource
;
32
Resource<Bitmap>
bitmapResource
= new
BitmapResource
(firstFrame, bitmapPool);
33
Resource<Bitmap> transformed = wrapped.transform(
bitmapResource
, outWidth, outHeight);
34
if (!
bitmapResource
.equals(transformed)) {
35
bitmapResource
.recycle();
GifResourceEncoder.java
15
import com.bumptech.glide.load.resource.bitmap.
BitmapResource
;
115
Resource<Bitmap>
bitmapResource
= factory.buildFrameResource(currentFrame, bitmapPool);
116
Resource<Bitmap> transformedResource = transformation.transform(
bitmapResource
,
118
if (!
bitmapResource
.equals(transformedResource)) {
119
bitmapResource
.recycle();
145
return new
BitmapResource
(bitmap, bitmapPool);
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
BitmapPreFillRunner.java
12
import com.bumptech.glide.load.resource.bitmap.
BitmapResource
;
98
memoryCache.put(new UniqueKey(),
BitmapResource
.obtain(bitmap, bitmapPool));
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
GifBitmapWrapperResourceDecoder.java
9
import com.bumptech.glide.load.resource.bitmap.
BitmapResource
;
109
result = new GifBitmapWrapper(null /*
bitmapResource
*/, gifResource);
111
Resource<Bitmap>
bitmapResource
= new
BitmapResource
(drawable.getFirstFrame(), bitmapPool);
112
result = new GifBitmapWrapper(
bitmapResource
, null /*gifResource*/);
121
Resource<Bitmap>
bitmapResource
= bitmapDecoder.decode(toDecode, width, height);
122
if (
bitmapResource
!= null) {
123
result = new GifBitmapWrapper(
bitmapResource
, null);
/prebuilts/tools/common/m2/repository/com/github/bumptech/glide/glide/3.6.1/
glide-3.6.1.jar
/prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/
glide-SNAPSHOT.jar
Completed in 97 milliseconds