Home
last modified time | relevance | path

Searched refs:SwtUtils (Results 1 – 18 of 18) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtilsTest.java54 Image outImage = SwtUtils.convertToSwt(display, inImage, false, -1); in testImageConvertNoAlpha()
63 PaletteData inPalette = SwtUtils.getAwtPaletteData(inImage.getType()); in testImageConvertNoAlpha()
78 BufferedImage awtImage = SwtUtils.convertToAwt(outImage); in testImageConvertNoAlpha()
109 Image outImage = SwtUtils.convertToSwt(display, inImage, false, 128); in testImageConvertGlobalAlpha()
119 PaletteData inPalette = SwtUtils.getAwtPaletteData(inImage.getType()); in testImageConvertGlobalAlpha()
142 Image outImage = SwtUtils.convertToSwt(display, inImage, true, -1); in testImageConvertAlpha()
150 PaletteData inPalette = SwtUtils.getAwtPaletteData(inImage.getType()); in testImageConvertAlpha()
176 Image outImage = SwtUtils.convertToSwt(display, inImage, true, 32); in testImageConvertAlphaMultiplied()
187 PaletteData inPalette = SwtUtils.getAwtPaletteData(inImage.getType()); in testImageConvertAlphaMultiplied()
205 SwtUtils.set(r, r2); in testSetRectangle()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeFactory.java22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils;
79 } else if (bounds != null && !SwtUtils.equals(proxy.getBounds(), bounds)) { in create()
DNodeProxy.java36 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils;
87 mBounds = SwtUtils.toRect(bounds); in NodeProxy()
127 SwtUtils.set(mBounds, bounds); in setBounds()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageOverlay.java142 mImage = SwtUtils.convertToSwt(mCanvas.getDisplay(), awtImage, in setImage()
153 mImage = SwtUtils.convertToSwt(mCanvas.getDisplay(), awtImage, true, -1); in setImage()
190 awtImage = SwtUtils.convertToAwt(mImage); in getAwtImage()
262 mPreScaledImage = SwtUtils.convertToSwt(mCanvas.getDisplay(), scaledAwtImage, in paint()
294 SwtUtils.drawRectangleShadow(gc, destX, destY, destWidth, destHeight); in paint()
DSwtUtils.java46 public class SwtUtils { class
48 private SwtUtils() { in SwtUtils() method in SwtUtils
327 return SwtUtils.convertToSwt(display, image, false, 0);
DSelectionOverlay.java223 r = SwtUtils.toRect(sibling.getSelectionRect()); in paintSelection()
DPaletteControl.java878 BufferedImage awtImage = SwtUtils.convertToAwt(image); in createDragImage()
882 mImage = SwtUtils.convertToSwt(display, awtImage, true, IMG_ALPHA); in createDragImage()
1081 Image swtImage = SwtUtils.convertToSwt(display, cropped, true, alpha); in renderPreview()
DCanvasViewInfo.java517 Rect bounds = SwtUtils.toRect(getAbsRect()); in toSimpleElement()
525 parentBounds = SwtUtils.toRect(getParent().getAbsRect()); in toSimpleElement()
DRenderPreview.java700 mThumbnail = SwtUtils.convertToSwt(mCanvas.getDisplay(), image, in createThumbnail()
731 mThumbnail = SwtUtils.convertToSwt(mCanvas.getDisplay(), image, in createErrorThumbnail()
DGestureManager.java857 e.image = SwtUtils.drawRectangles(image, rectangles, boundingBox, scale, in dragStart()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourcePreviewHelper.java28 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils;
106 mPreviewImageControl = new ImageControl(panel, SWT.NONE, SwtUtils in updatePreview()
185 mPreviewImageControl.setImage(SwtUtils.convertToSwt(display, image, true, -1)); in updatePreview()
187 mPreviewImageControl.setImage(SwtUtils.createEmptyImage(display, WIDTH, HEIGHT)); in updatePreview()
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/
DSwtUtils.java22 public class SwtUtils { class
DSdkLocationChooserDialog.java68 .hint(SwtUtils.getFontWidth(mTextBox) * 80, SWT.DEFAULT) in createDialogArea()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DSwtUtils.java22 public class SwtUtils { class
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintColumn.java21 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils;
61 return getPreferredCharWidth() * SwtUtils.getAverageCharWidth(mList.getDisplay(), in getPreferredWidth()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DXmlPropertyEditor.java44 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils;
219 swtImage = SwtUtils.convertToSwt(gc.getDevice(), drawable, in paint()
257 swtImage = SwtUtils.convertToSwt(gc.getDevice(), in paint()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DConfigureAssetSetPage.java38 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils;
781 Image swtImage = SwtUtils.convertToSwt(display, icon, true, -1); in widgetSelected()
883 Image swtImage = SwtUtils.convertToSwt(display, icon, in updateClipartPreview()
989 Image swtImage = SwtUtils.convertToSwt(display, image, true, -1); in updatePreview()
1241 Image image = SwtUtils.convertToSwt(display, coloredImage, false, -1); in updateColor()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DGLFunctionTraceViewer.java23 import com.android.ide.eclipse.gltrace.SwtUtils;
325 gd.widthHint = SwtUtils.getApproximateFontWidth(mFrameSelectionSpinner) * 6; in createFrameSelectionControls()