Home | History | Annotate | Download | only in assetstudiolib

Lines Matching full:scaledwidth

328             final int scaledWidth = Math.max(1, dstRect.width);
330 Image scaledImage = scaledImage(source, scaledWidth, scaledHeight);
338 0 + scaledWidth,
342 final int scaledWidth = Math.max(1, dstRect.height * srcWidth / srcHeight);
344 Image scaledImage = scaledImage(source, scaledWidth, scaledHeight);
346 dstRect.x + (dstRect.width - scaledWidth) / 2,
348 dstRect.x + (dstRect.width - scaledWidth) / 2 + scaledWidth,
352 0 + scaledWidth,
371 final int scaledWidth = dstRect.height * srcWidth / srcHeight;
373 Image scaledImage = scaledImage(source, scaledWidth, scaledHeight);
379 0 + (scaledWidth - dstRect.width) / 2,
381 0 + (scaledWidth - dstRect.width) / 2 + dstRect.width,
385 final int scaledWidth = dstRect.width;
387 Image scaledImage = scaledImage(source, scaledWidth, scaledHeight);