OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:toReuse
(Results
1 - 2
of
2
) sorted by null
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
CenterCrop.java
28
final Bitmap
toReuse
= pool.get(outWidth, outHeight, toTransform.getConfig() != null
30
Bitmap transformed = TransformationUtils.centerCrop(
toReuse
, toTransform, outWidth, outHeight);
31
if (
toReuse
!= null &&
toReuse
!= transformed && !pool.put(
toReuse
)) {
32
toReuse
.recycle();
TransformationUtils.java
111
Bitmap
toReuse
= pool.get(targetWidth, targetHeight, config);
112
if (
toReuse
== null) {
113
toReuse
= Bitmap.createBitmap(targetWidth, targetHeight, config);
116
TransformationUtils.setAlpha(toFit,
toReuse
);
121
Log.v(TAG, "
toReuse
: " +
toReuse
.getWidth() + "x" +
toReuse
.getHeight());
125
Canvas canvas = new Canvas(
toReuse
);
131
return
toReuse
;
Completed in 959 milliseconds