Home
last modified time | relevance | path

Searched refs:initialCrop (Results 1 – 2 of 2) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageUtils.java142 @Nullable Rect initialCrop) { in cropBlank() argument
143 return cropBlank(image, initialCrop, image.getType()); in cropBlank()
159 public static BufferedImage cropBlank(BufferedImage image, Rect initialCrop, int imageType) { in cropBlank() argument
169 return crop(image, filter, initialCrop, imageType); in cropBlank()
189 @Nullable Rect initialCrop) { in cropColor() argument
190 return cropColor(image, blankArgb, initialCrop, image.getType()); in cropColor()
208 final int blankArgb, Rect initialCrop, int imageType) { in cropColor() argument
215 return crop(image, filter, initialCrop, imageType); in cropColor()
234 private static BufferedImage crop(BufferedImage image, CropFilter filter, Rect initialCrop, in crop() argument
242 if (initialCrop != null) { in crop()
[all …]
DPaletteControl.java1023 Rect initialCrop = null; in renderPreview() local
1038 initialCrop = new Rect(x1, y1, x2 - x1, y2 - y1); in renderPreview()
1042 cropped = ImageUtils.cropBlank(image, initialCrop); in renderPreview()
1061 cropped = ImageUtils.cropColor(image, edgeColor, initialCrop); in renderPreview()
1065 int width = initialCrop != null ? initialCrop.w : cropped.getWidth(); in renderPreview()
1066 int height = initialCrop != null ? initialCrop.h : cropped.getHeight(); in renderPreview()