Searched refs:destWidth (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 | 185 int destWidth = imageWidth; in onPaint() local 191 destWidth = (int) (mScale * destWidth); in onPaint() 198 + mTopMargin, destWidth, destHeight); in onPaint() 207 gc.fillRectangle(0, 0, destWidth, destHeight); in onPaint()
|
D | SwtUtils.java | 266 int destWidth = (int) (scale * boundingBox.width); 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() 293 alphaData[dy * destWidth + dx] = alpha; in drawRectangles() 308 alphaData[dy * destWidth + dx] = alpha; in drawRectangles()
|
D | ImageOverlay.java | 286 int destWidth = hi.getScaledImgSize(); in paint() local 291 destX, destY, destWidth, destHeight); in paint() 294 SwtUtils.drawRectangleShadow(gc, destX, destY, destWidth, destHeight); in paint()
|
D | ImageUtils.java | 843 int destWidth = Math.max(1, (int) (xScale * sourceWidth)); 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() 891 int nearestWidth = destWidth; // Width closest to source width that = 2^x, x is integer in scale()
|
D | RenderPreviewManager.java | 612 int destWidth = hi.getScaledImgSize(); in paint() local 615 int x = destX + destWidth / 2 - preview.getWidth() / 2; in paint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtilsTest.java | 245 int destWidth = (int) (scale * boundingBox.width); in drawRectangles() local 247 BufferedImage dest = new BufferedImage(destWidth, destHeight, image.getType()); in drawRectangles()
|