Lines Matching refs:scale
184 float scale = 512f / max;
185 int w = Math.round(scale * width);
186 int h = Math.round(scale * height);
224 float scale;
226 scale = width / (float) source.getWidth();
228 scale = height / (float) source.getHeight();
231 matrix.setScale(scale, scale);
411 float scale = targetHeight / bitmapHeightF;
412 if (scale < .9F || scale > 1F) {
413 scaler.setScale(scale, scale);
418 float scale = targetWidth / bitmapWidthF;
419 if (scale < .9F || scale > 1F) {
420 scaler.setScale(scale, scale);