Searched refs:xScale (Results 1 – 3 of 3) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageOverlay.java | 230 double xScale = hi.getScaledImgSize() / (double) awtImage.getWidth(); in paint() local 239 if (xScale == 1.0 && yScale == 1.0) { in paint() 249 scaledAwtImage = ImageUtils.scale(awtImage, xScale, yScale, in paint() 255 scaledAwtImage = ImageUtils.scale(awtImage, xScale, yScale); in paint()
|
D | ImageUtils.java | 825 public static BufferedImage scale(BufferedImage source, double xScale, double yScale) { in scale() argument 826 return scale(source, xScale, yScale, 0, 0); in scale() 839 public static BufferedImage scale(BufferedImage source, double xScale, double yScale, in scale() argument 843 int destWidth = Math.max(1, (int) (xScale * sourceWidth)); in scale() 849 if (xScale > 0.5 && yScale > 0.5) { in scale()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | ResourcePreviewHelper.java | 156 double xScale = WIDTH / (double) width; in updatePreview() local 158 double scale = Math.min(xScale, yScale); in updatePreview()
|