/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtilsTest.java | 39 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropBlank() 50 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropBlankPre() 61 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropNonblank() 67 assertEquals(image.getHeight(), crop.getHeight()); in testCropNonblank() 74 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropSomething() 82 assertEquals(50, crop.getHeight()); in testCropSomething() 91 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropSomethingPre() 99 assertEquals(50, crop.getHeight()); in testCropSomethingPre() 108 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropSomethingPre2() 116 assertEquals(50, crop.getHeight()); in testCropSomethingPre2() [all …]
|
D | SwtUtilsTest.java | 47 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertNoAlpha() 59 assertEquals(inImage.getHeight(), outData.height); in testImageConvertNoAlpha() 103 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertGlobalAlpha() 114 assertEquals(inImage.getHeight(), outData.height); in testImageConvertGlobalAlpha() 136 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertAlpha() 147 assertEquals(inImage.getHeight(), outData.height); in testImageConvertAlpha() 171 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertAlphaMultiplied() 184 assertEquals(inImage.getHeight(), outData.height); in testImageConvertAlphaMultiplied()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtils.java | 63 for (int y = 0, height = image.getHeight(); y < height; y++) { in containsDarkPixels() 251 y2 = image.getHeight(); in crop() 277 if (y1 == image.getHeight()) { in crop() 310 if (x1 == 0 && y1 == 0 && x2 == image.getWidth() && y2 == image.getHeight()) { in crop() 358 source.getHeight() + shadowSize * 2, in createDropShadow() 365 int dstHeight = image.getHeight(); in createDropShadow() 465 int height = source.getHeight(); in createRectangularDropShadow() 579 assert sShadowBottomRight.getHeight() == SHADOW_SIZE; in drawRectangleShadow() 583 int trHeight = sShadowTopRight.getHeight(); in drawRectangleShadow() 596 x + width, y + height + sShadowBottom.getHeight(), in drawRectangleShadow() [all …]
|
D | RenderPreviewManager.java | 401 && Math.max(nextY, y + preview.getHeight()) > bottomBorder) { in rowLayout() 407 if (bottomBorder - y > y + preview.getHeight() - bottomBorder) { in rowLayout() 419 && Math.max(nextY, y + preview.getHeight()) > bottomBorder) { in rowLayout() 420 if (clientArea.height - bottomBorder < preview.getHeight()) { in rowLayout() 424 if (bottomBorder - y > y + preview.getHeight() - bottomBorder) { in rowLayout() 445 nextY = Math.max(nextY, y + preview.getHeight() + vgap); in rowLayout() 464 int height = first.getHeight(); in previewsHaveIdenticalSize() 468 if (width != preview.getWidth() || height != preview.getHeight()) { in previewsHaveIdenticalSize() 516 minHeight = Math.min(minHeight, preview.getHeight()); in layoutFullFit() 540 int previewHeight = preview.getHeight(); in layoutFullFit() [all …]
|
D | ImageOverlay.java | 231 double yScale = vi.getScaledImgSize() / (double) awtImage.getHeight(); in paint() 253 scaledAwtImage.getHeight() - SHADOW_SIZE); in paint() 423 awtImage.getHeight() != h) { in getImage()
|
D | RenderPreview.java | 687 image.getHeight() - shadowSize); in createThumbnail() 695 image.getHeight() - shadowSize); in createThumbnail() 707 int height = getHeight(); in createErrorThumbnail() 723 image.getHeight() - SHADOW_SIZE); in createErrorThumbnail() 727 image.getHeight() - SMALL_SHADOW_SIZE); in createErrorThumbnail() 764 public int getHeight() { in getHeight() method in RenderPreview 853 int height = getHeight(); in paint() 978 int fontHeight = gc.getFontMetrics().getHeight(); in paintTitle()
|
D | PreviewIconFactory.java | 283 if (image != null && image.getWidth() > 0 && image.getHeight() > 0) { in render() 294 int p = image.getRGB(image.getWidth() - 1, image.getHeight() - 1); in render() 448 int rgb = image.getRGB(image.getWidth() / 2, image.getHeight() / 2); in renderDrawableResource()
|
D | SwtUtils.java | 104 BufferedImage converted = new BufferedImage(image.getWidth(), image.getHeight(), in convertToCompatibleFormat() 137 int height = awtImage.getHeight(); in convertToSwt()
|
D | GCWrapper.java | 161 mFontHeight = fm.getHeight(); in getFontHeight() 396 int lineHeight = getGc().getFontMetrics().getHeight(); in drawBoxedStrings()
|
D | BinPacker.java | 304 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in dumpImage()
|
D | PaletteControl.java | 1051 int edgeY = image.getHeight() -1; in renderPreview() 1056 if (viewInfo.getBottom() < image.getHeight()-1) { in renderPreview() 1066 int height = initialCrop != null ? initialCrop.h : cropped.getHeight(); in renderPreview()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
D | ScreenViewer.java | 290 g2.drawImage(overlay, 0, image.getHeight() - overlay.getHeight(), null); in paintComponent() 296 int height = getHeight(); in paintComponent() 310 g2.fillRect(0, 0, grid.getWidth(), grid.getHeight()); in paintComponent() 334 g.clipRect(0, 0, image.getWidth() * zoom + 1, image.getHeight() * zoom + 1); in paintComponent() 343 int y = Math.max(0, Math.min((event.getY() + top) / zoom, image.getHeight() - 1)); in moveToPoint() 441 g.fillRect(0, 0, getWidth(), getHeight()); in paintComponent() 470 g.fillRect(0, 0, getWidth(), getHeight()); in paintComponent() 473 g.drawRect(0, 0, getWidth() - 1, getHeight() - 1); in paintComponent() 514 crosshair.y = Math.max(0, Math.min(image.getHeight() - 1, event.getY())); in moveToPoint() 535 if (crosshair == null || width != getWidth() || height != getHeight()) { in paint() [all …]
|
D | LayoutRenderer.java | 67 g.fillRect(0, 0, getWidth(), getHeight()); in paintComponent() 72 getHeight() - insets.top - insets.bottom); in paintComponent() 84 int y = (getHeight() - insets.top - insets.bottom - root.height) / 2; in paintComponent() 147 int yoffset = (getHeight() - insets.top - insets.bottom - root.height) / 2 + insets.top + 1; in selectChild()
|
D | CaptureRenderer.java | 58 int y = (getHeight() - height) / 2; in paintComponent()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
D | IconLoader.java | 42 image.getWidth(), image.getHeight(), image.getTransparency()); in toCompatibleImage()
|
D | PsdFile.java | 101 int height = image.getHeight(); in writeImage() 317 final int height = image.getHeight(); in Layer()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
D | ImageViewer.java | 330 int height = mNinePatchedImage.getHeight(); in mouseMove() 378 && posY <= mNinePatchedImage.getHeight()) { in mouseMove() 411 int imageHeight = getZoomedPixelSize(mNinePatchedImage.getHeight() + 1); in calcScrollBarSettings() 501 int height = mNinePatchedImage.getHeight(); 606 baseY + getZoomedPixelSize(mNinePatchedImage.getHeight() - 1), 637 getZoomedPixelSize(mNinePatchedImage.getHeight() - 2));
|
D | StretchesViewer.java | 147 int imageHeight = mNinePatchedImage.getHeight(); in setScale() 174 setSize(image.getWidth(), image.getHeight()); in setImage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | ProtoBufUtils.java | 31 int height = glMsg.getFb().getHeight(); in getImageData()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
D | MultiTouchActivity.java | 107 mHandler.setViewSize(mImageView.getWidth(), mImageView.getHeight()); in onServiceConnected() 354 int h = mImageView.getHeight(); in updateDisplay()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
D | CaptureLoader.java | 114 BufferedImage image = new BufferedImage(chunk.getWidth(), chunk.getHeight(), in readLayer()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | ResourcePreviewHelper.java | 154 int height = image.getHeight(); in updatePreview()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | LinearLayoutRule.java | 420 } else if (data.getHeight() != null) { 421 int height = data.getHeight(); 755 private Integer getHeight() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | XmlPropertyEditor.java | 240 && awtImage.getHeight() > 0) { in paint() 245 int imageHeight = awtImage.getHeight(); in paint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
D | DurationMinimap.java | 208 mFontHeight = gc.getFontMetrics().getHeight(); in initializeFonts()
|