/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 | 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 | RenderPreviewManager.java | 400 && Math.max(nextY, y + preview.getHeight()) > bottomBorder) { in rowLayout() 406 if (bottomBorder - y > y + preview.getHeight() - bottomBorder) { in rowLayout() 418 && Math.max(nextY, y + preview.getHeight()) > bottomBorder) { in rowLayout() 419 if (clientArea.height - bottomBorder < preview.getHeight()) { in rowLayout() 423 if (bottomBorder - y > y + preview.getHeight() - bottomBorder) { in rowLayout() 444 nextY = Math.max(nextY, y + preview.getHeight() + vgap); in rowLayout() 463 int height = first.getHeight(); in previewsHaveIdenticalSize() 467 if (width != preview.getWidth() || height != preview.getHeight()) { in previewsHaveIdenticalSize() 515 minHeight = Math.min(minHeight, preview.getHeight()); in layoutFullFit() 539 int previewHeight = preview.getHeight(); in layoutFullFit() [all …]
|
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()
|
/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/emulator/opengl/host/libs/libOpenglRender/ |
D | ColorBuffer.h | 33 GLuint getHeight() const { return m_height; } in getHeight() function
|
D | WindowSurface.cpp | 105 unsigned int cbHeight = m_attachedColorBuffer->getHeight(); in setColorBuffer() 148 m_attachedColorBuffer->getHeight() != m_height) { in blitToColorBuffer()
|
D | FrameBuffer.h | 60 int getHeight() const { return m_height; } in getHeight() function
|
D | RenderControl.cpp | 140 ret = fb->getHeight(); in rcGetFBParam()
|
/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.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/templates/other/Daydream/root/src/app_package/ |
D | DreamService.java.ftl | 126 final int yRange = windowHeight - mDreamTextView.getHeight();
|
/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() {
|