Searched refs:destHeight (Results 1 – 6 of 6) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageControl.java | 186 int destHeight = imageHeight; in onPaint() local 192 destHeight = (int) (mScale * destHeight); in onPaint() 198 + mTopMargin, destWidth, destHeight); in onPaint() 207 gc.fillRectangle(0, 0, destWidth, destHeight); in onPaint()
|
D | ImageOverlay.java | 287 int destHeight = vi.getScaledImgSize(); in paint() local 291 destX, destY, destWidth, destHeight); in paint() 294 SwtUtils.drawRectangleShadow(gc, destX, destY, destWidth, destHeight); in paint()
|
D | ImageUtils.java | 844 int destHeight = Math.max(1, (int) (yScale * sourceHeight)); in scale() local 851 … new BufferedImage(destWidth + rightMargin, destHeight + bottomMargin, imageType); in scale() 855 g2.fillRect(0, 0, destWidth + rightMargin, destHeight + bottomMargin); in scale() 859 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, in scale() 892 int nearestHeight = destHeight; in scale()
|
D | SwtUtils.java | 267 int destHeight = (int) (scale * boundingBox.height); in drawRectangles() local 269 ImageData destData = new ImageData(destWidth, destHeight, srcData.depth, srcData.palette); in drawRectangles() 270 byte[] alphaData = new byte[destHeight * destWidth]; in drawRectangles()
|
D | RenderPreviewManager.java | 612 int destHeight = vi.getScaledImgSize(); in paint() local 615 int y = destY + destHeight; in paint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtilsTest.java | 246 int destHeight = (int) (scale * boundingBox.height); in drawRectangles() local 247 BufferedImage dest = new BufferedImage(destWidth, destHeight, image.getType()); in drawRectangles()
|