/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() 66 assertEquals(image.getWidth(), crop.getWidth()); in testCropNonblank() 74 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropSomething() 81 assertEquals(50, crop.getWidth()); in testCropSomething() 91 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropSomethingPre() 98 assertEquals(50, crop.getWidth()); in testCropSomethingPre() 108 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropSomethingPre2() 115 assertEquals(50, crop.getWidth()); in testCropSomethingPre2() [all …]
|
D | SwtUtilsTest.java | 47 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertNoAlpha() 58 assertEquals(inImage.getWidth(), outData.width); in testImageConvertNoAlpha() 103 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertGlobalAlpha() 113 assertEquals(inImage.getWidth(), outData.width); in testImageConvertGlobalAlpha() 136 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertAlpha() 146 assertEquals(inImage.getWidth(), outData.width); in testImageConvertAlpha() 171 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertAlphaMultiplied() 183 assertEquals(inImage.getWidth(), outData.width); in testImageConvertAlphaMultiplied()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtils.java | 64 for (int x = 0, width = image.getWidth(); x < width; x++) { in containsDarkPixels() 250 x2 = image.getWidth(); in crop() 310 if (x1 == 0 && y1 == 0 && x2 == image.getWidth() && y2 == image.getHeight()) { in crop() 357 BufferedImage image = new BufferedImage(source.getWidth() + shadowSize * 2, in createDropShadow() 364 int dstWidth = image.getWidth(); in createDropShadow() 464 int width = source.getWidth(); in createRectangularDropShadow() 578 assert sShadowBottomRight.getWidth() == SHADOW_SIZE; in drawRectangleShadow() 582 int blWidth = sShadowBottomLeft.getWidth(); in drawRectangleShadow() 595 x + sShadowBottomLeft.getWidth(), y + height, in drawRectangleShadow() 597 0, 0, sShadowBottom.getWidth(), sShadowBottom.getHeight(), in drawRectangleShadow() [all …]
|
D | ImageOverlay.java | 230 double xScale = hi.getScaledImgSize() / (double) awtImage.getWidth(); in paint() 252 scaledAwtImage.getWidth() - SHADOW_SIZE, in paint() 422 awtImage.getWidth() != w || in getImage()
|
D | RenderPreview.java | 673 double scale = getWidth() / (double) image.getWidth(); in createThumbnail() 686 image.getWidth() - shadowSize, in createThumbnail() 694 image.getWidth() - shadowSize, in createThumbnail() 706 int width = getWidth(); in createErrorThumbnail() 722 image.getWidth() - SHADOW_SIZE, in createErrorThumbnail() 726 image.getWidth() - SMALL_SHADOW_SIZE, in createErrorThumbnail() 755 public int getWidth() { in getWidth() method in RenderPreview 852 int width = getWidth(); in paint() 970 int width = getWidth(); in paintTitle()
|
D | RenderPreviewManager.java | 273 maxPreviewWidth = Math.max(maxPreviewWidth, preview.getWidth()); in computePreviewWidth() 395 if (x > 0 && x + preview.getWidth() > availableWidth) { in rowLayout() 443 x += preview.getWidth(); in rowLayout() 463 int width = first.getWidth(); in previewsHaveIdenticalSize() 468 if (width != preview.getWidth() || height != preview.getHeight()) { in previewsHaveIdenticalSize() 515 minWidth = Math.min(minWidth, preview.getWidth()); in layoutFullFit() 539 int previewWidth = preview.getWidth(); in layoutFullFit() 615 int x = destX + destWidth / 2 - preview.getWidth() / 2; in paint() 1379 if (mousePos.x >= x && mousePos.x <= x + preview.getWidth()) { in getPreview() 1620 preview1.getWidth(), preview1.getHeight()); in SwapAnimation() [all …]
|
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() 136 int width = awtImage.getWidth(); in convertToSwt()
|
D | BinPacker.java | 304 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in dumpImage()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
D | ScreenViewer.java | 295 int width = getWidth(); 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() 342 int x = Math.max(0, Math.min((event.getX() + left) / zoom, image.getWidth() - 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() 513 crosshair.x = Math.max(0, Math.min(image.getWidth() - 1, event.getX())); in moveToPoint() 535 if (crosshair == null || width != getWidth() || height != getHeight()) { in paint() 536 width = getWidth(); in paint() [all …]
|
D | LayoutRenderer.java | 67 g.fillRect(0, 0, getWidth(), getHeight()); in paintComponent() 71 getWidth() - insets.left - insets.right, in paintComponent() 83 int x = (getWidth() - insets.left - insets.right - root.width) / 2; in paintComponent() 146 int xoffset = (getWidth() - insets.left - insets.right - root.width) / 2 + insets.left + 1; in selectChild()
|
D | CaptureRenderer.java | 57 int x = (getWidth() - width) / 2; in paintComponent()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
D | MultiTouchView.java | 126 mBaseMatrix.postTranslate(getWidth(), 0); in setDxDy() 202 bb.putInt((int) (getWidth() - event.getX(ptr_index) / mDx)); in constructEventMessage()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
D | IconLoader.java | 42 image.getWidth(), image.getHeight(), image.getTransparency()); in toCompatibleImage()
|
D | PsdFile.java | 100 int width = image.getWidth(); in writeImage() 318 final int width = image.getWidth(); in Layer()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
D | ImageViewer.java | 329 int width = mNinePatchedImage.getWidth(); in mouseMove() 377 && posX <= mNinePatchedImage.getWidth() in mouseMove() 410 int imageWidth = getZoomedPixelSize(mNinePatchedImage.getWidth() + 1); in calcScrollBarSettings() 500 int width = mNinePatchedImage.getWidth(); 620 baseX + getZoomedPixelSize(mNinePatchedImage.getWidth() - 1), 636 getZoomedPixelSize(mNinePatchedImage.getWidth() - 2),
|
D | StretchesViewer.java | 146 int imageWidth = mNinePatchedImage.getWidth(); 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 | 30 int width = glMsg.getFb().getWidth(); in getImageData()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | ResourceExplorerView.java | 297 prefs.setValue(pref_name, col.getWidth()); in createTreeColumn() 314 int w = ((TreeColumn)e.widget).getWidth(); in createTreeColumn()
|
D | ResourcePreviewHelper.java | 153 int width = image.getWidth(); in updatePreview()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
D | MultiTouchActivity.java | 107 mHandler.setViewSize(mImageView.getWidth(), mImageView.getHeight()); in onServiceConnected() 353 int w = mImageView.getWidth(); in updateDisplay()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
D | CaptureLoader.java | 114 BufferedImage image = new BufferedImage(chunk.getWidth(), chunk.getHeight(), in readLayer()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
D | IconEditor.java | 55 x > scroller.getScrollX() + scroller.getWidth()) { in bindEditor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
D | AddTranslationDialog.java | 313 availableWidth -= column.getWidth(); in updateColumnWidths() 317 column.setWidth(column.getWidth() + availableWidth / 2); in updateColumnWidths() 319 column.setWidth(column.getWidth() + availableWidth / 2 + availableWidth % 2); in updateColumnWidths()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | LinearLayoutRule.java | 415 if (data.getWidth() != null) { 416 int width = data.getWidth(); 747 private Integer getWidth() {
|