Lines Matching defs:source
2 * Copyright (C) 2009 The Android Open Source Project
151 Bitmap source,
156 int deltaX = source.getWidth() - targetWidth;
157 int deltaY = source.getHeight() - targetHeight;
174 deltaXHalf + Math.min(targetWidth, source.getWidth()),
175 deltaYHalf + Math.min(targetHeight, source.getHeight()));
183 c.drawBitmap(source, src, dst, null);
185 source.recycle();
189 float bitmapWidthF = source.getWidth();
190 float bitmapHeightF = source.getHeight();
214 b1 = Bitmap.createBitmap(source, 0, 0,
215 source.getWidth(), source.getHeight(), scaler, true);
217 b1 = source;
220 if (recycle && b1 != source) {
221 source.recycle();
235 if (recycle || b1 != source) {