Lines Matching refs:scale
179 float scale = 512f / max;
180 int w = Math.round(scale * width);
181 int h = Math.round(scale * height);
219 float scale;
221 scale = width / (float) source.getWidth();
223 scale = height / (float) source.getHeight();
226 matrix.setScale(scale, scale);
406 float scale = targetHeight / bitmapHeightF;
407 if (scale < .9F || scale > 1F) {
408 scaler.setScale(scale, scale);
413 float scale = targetWidth / bitmapWidthF;
414 if (scale < .9F || scale > 1F) {
415 scaler.setScale(scale, scale);