Home
last modified time | relevance | path

Searched refs:crop (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageUtilsTest.java41 BufferedImage crop = ImageUtils.cropBlank(image, null); in testCropBlank() local
42 assertNull(crop); in testCropBlank()
52 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); in testCropBlankPre() local
53 assertNull(crop); in testCropBlankPre()
63 BufferedImage crop = ImageUtils.cropBlank(image, null); in testCropNonblank() local
64 assertNotNull(crop); in testCropNonblank()
65 assertEquals(image.getWidth(), crop.getWidth()); in testCropNonblank()
66 assertEquals(image.getHeight(), crop.getHeight()); in testCropNonblank()
78 BufferedImage crop = ImageUtils.cropBlank(image, null); in testCropSomething() local
79 assertNotNull(crop); in testCropSomething()
[all …]
/sdk/assetstudio/tests/src/com/android/assetstudiolib/
DLauncherIconGeneratorTest.java27 boolean crop, int background, boolean isWebGraphic) throws IOException { in checkGraphic() argument
30 options.crop = crop; in checkGraphic()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageUtils.java157 public boolean crop(BufferedImage bufferedImage, int x, int y) { in cropBlank()
164 return crop(image, filter, initialCrop, imageType); in cropBlank()
206 public boolean crop(BufferedImage bufferedImage, int x, int y) { in cropColor()
210 return crop(image, filter, initialCrop, imageType); in cropColor()
226 boolean crop(BufferedImage image, int x, int y); in crop() method
229 private static BufferedImage crop(BufferedImage image, CropFilter filter, Rect initialCrop, in crop() method in ImageUtils
266 if (!filter.crop(image, x, y1)) { in crop()
280 if (!filter.crop(image, x1, y)) { in crop()
289 if (!filter.crop(image, x2 - 1, y)) { in crop()
298 if (!filter.crop(image, x, y2 - 1)) { in crop()
/sdk/assetstudio/src/com/android/assetstudiolib/
DLauncherIconGenerator.java80 if (launcherOptions.crop) { in generate()
131 public boolean crop = true; field in LauncherIconGenerator.LauncherOptions
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DCreateAssetSetWizardState.java88 public boolean crop; field in CreateAssetSetWizardState
DConfigureAssetSetPage.java706 mValues.crop = true; in widgetSelected()
710 mValues.crop = false; in widgetSelected()
1122 launcherOptions.crop = mValues.crop; in generateImages()