OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bitmapResource
(Results
1 - 10
of
10
) sorted by null
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
GifBitmapWrapper.java
14
private final Resource<Bitmap>
bitmapResource
;
16
public GifBitmapWrapper(Resource<Bitmap>
bitmapResource
, Resource<GifDrawable> gifResource) {
17
if (
bitmapResource
!= null && gifResource != null) {
20
if (
bitmapResource
== null && gifResource == null) {
23
this.
bitmapResource
=
bitmapResource
;
31
if (
bitmapResource
!= null) {
32
return
bitmapResource
.getSize();
42
return
bitmapResource
;
GifBitmapWrapperResource.java
33
Resource<Bitmap>
bitmapResource
= data.getBitmapResource();
34
if (
bitmapResource
!= null) {
35
bitmapResource
.recycle();
GifBitmapWrapperTransformation.java
31
Resource<Bitmap>
bitmapResource
= resource.get().getBitmapResource();
33
if (
bitmapResource
!= null && bitmapTransformation != null) {
34
Resource<Bitmap> transformed = bitmapTransformation.transform(
bitmapResource
, outWidth, outHeight);
35
if (!
bitmapResource
.equals(transformed)) {
GifBitmapWrapperResourceEncoder.java
29
final Resource<Bitmap>
bitmapResource
= gifBitmap.getBitmapResource();
31
if (
bitmapResource
!= null) {
32
return bitmapEncoder.encode(
bitmapResource
, os);
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);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
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);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
FilterFxRepresentation.java
28
public FilterFxRepresentation(String name, int
bitmapResource
, int nameResource) {
31
mBitmapResource =
bitmapResource
;
109
public void setBitmapResource(int
bitmapResource
) {
110
mBitmapResource =
bitmapResource
;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
GifBitmapWrapperDrawableTranscoder.java
27
Resource<Bitmap>
bitmapResource
= gifBitmap.getBitmapResource();
30
if (
bitmapResource
!= null) {
31
result = bitmapDrawableResourceTranscoder.transcode(
bitmapResource
);
/frameworks/base/libs/hwui/
RenderNode.cpp
526
for (auto&&
bitmapResource
: subtree->getBitmapResources()) {
528
info.prepareTextures = cache.prefetchAndMarkInUse(ownerToken,
bitmapResource
);
[
all
...]
Completed in 290 milliseconds