Home
last modified time | relevance | path

Searched refs:getHeight (Results 1 – 25 of 31) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageUtilsTest.java39 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 …]
DSwtUtilsTest.java47 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/
DImageUtils.java63 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 …]
DRenderPreviewManager.java401 && 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 …]
DImageOverlay.java231 double yScale = vi.getScaledImgSize() / (double) awtImage.getHeight(); in paint()
253 scaledAwtImage.getHeight() - SHADOW_SIZE); in paint()
423 awtImage.getHeight() != h) { in getImage()
DRenderPreview.java687 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()
DPreviewIconFactory.java283 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()
DSwtUtils.java104 BufferedImage converted = new BufferedImage(image.getWidth(), image.getHeight(), in convertToCompatibleFormat()
137 int height = awtImage.getHeight(); in convertToSwt()
DGCWrapper.java161 mFontHeight = fm.getHeight(); in getFontHeight()
396 int lineHeight = getGc().getFontMetrics().getHeight(); in drawBoxedStrings()
DBinPacker.java304 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in dumpImage()
DPaletteControl.java1051 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/
DScreenViewer.java290 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 …]
DLayoutRenderer.java67 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()
DCaptureRenderer.java58 int y = (getHeight() - height) / 2; in paintComponent()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
DIconLoader.java42 image.getWidth(), image.getHeight(), image.getTransparency()); in toCompatibleImage()
DPsdFile.java101 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/
DImageViewer.java330 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));
DStretchesViewer.java147 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/
DProtoBufUtils.java31 int height = glMsg.getFb().getHeight(); in getImageData()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DMultiTouchActivity.java107 mHandler.setViewSize(mImageView.getWidth(), mImageView.getHeight()); in onServiceConnected()
354 int h = mImageView.getHeight(); in updateDisplay()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DCaptureLoader.java114 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/
DResourcePreviewHelper.java154 int height = image.getHeight(); in updatePreview()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DLinearLayoutRule.java420 } 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/
DXmlPropertyEditor.java240 && 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/
DDurationMinimap.java208 mFontHeight = gc.getFontMetrics().getHeight(); in initializeFonts()

12