Home
last modified time | relevance | path

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/
DImageControl.java186 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()
DImageOverlay.java287 int destHeight = vi.getScaledImgSize(); in paint() local
291 destX, destY, destWidth, destHeight); in paint()
294 SwtUtils.drawRectangleShadow(gc, destX, destY, destWidth, destHeight); in paint()
DImageUtils.java844 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()
DSwtUtils.java267 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()
DRenderPreviewManager.java612 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/
DImageUtilsTest.java246 int destHeight = (int) (scale * boundingBox.height); in drawRectangles() local
247 BufferedImage dest = new BufferedImage(destWidth, destHeight, image.getType()); in drawRectangles()