Searched refs:scaled (Results 1 – 7 of 7) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtilsTest.java | 329 BufferedImage scaled = ImageUtils.scale(image, 0.5, 0.5); in testScaleImage() local 330 assertEquals(50, scaled.getWidth()); in testScaleImage() 331 assertEquals(50, scaled.getHeight()); in testScaleImage() 332 assertEquals(0xFF00FF00, scaled.getRGB(0, 0)); in testScaleImage() 333 assertEquals(0xFF00FF00, scaled.getRGB(49, 49)); in testScaleImage() 334 assertEquals(0xFFFF0000, scaled.getRGB(25, 25)); in testScaleImage() 336 scaled = ImageUtils.scale(image, 2.0, 2.0); in testScaleImage() 337 assertEquals(200, scaled.getWidth()); in testScaleImage() 338 assertEquals(200, scaled.getHeight()); in testScaleImage() 339 assertEquals(0xFF00FF00, scaled.getRGB(0, 0)); in testScaleImage() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtils.java | 850 BufferedImage scaled = in scale() local 852 Graphics2D g2 = scaled.createGraphics(); in scale() 862 return scaled; in scale() 906 BufferedImage scaled = new BufferedImage(nearestWidth, nearestHeight, imageType); in scale() local 907 Graphics2D g2 = scaled.createGraphics(); in scale() 917 source = scaled; in scale() 923 scaled = new BufferedImage(halfWidth + rightMargin, halfHeight + bottomMargin, in scale() 926 scaled = new BufferedImage(halfWidth, halfHeight, imageType); in scale() 928 g2 = scaled.createGraphics(); in scale() 940 source = scaled; in scale() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
D | completionvalues1-expected-completion66.txt | 3 17sp : <b>Scale-independent Pixels</b> - this is like the dp unit, but it is also scaled by the use…
|
D | completionvalues1-expected-completion67.txt | 3 17sp : <b>Scale-independent Pixels</b> - this is like the dp unit, but it is also scaled by the use…
|
D | completion1-expected-completion4.txt | 3 50sp : <b>Scale-independent Pixels</b> - this is like the dp unit, but it is also scaled by the use…
|
D | completionvalues1-expected-completion24.txt | 3 17sp : <b>Scale-independent Pixels</b> - this is like the dp unit, but it is also scaled by the use…
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | ViewMetadataRepository.java | 672 return ResizePolicy.scaled(); in getResizePolicy()
|