/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SwtUtilsTest.java | 54 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/ |
D | NodeFactory.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils; 79 } else if (bounds != null && !SwtUtils.equals(proxy.getBounds(), bounds)) { in create()
|
D | NodeProxy.java | 36 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/ |
D | ImageOverlay.java | 142 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()
|
D | SwtUtils.java | 46 public class SwtUtils { class 48 private SwtUtils() { in SwtUtils() method in SwtUtils 327 return SwtUtils.convertToSwt(display, image, false, 0);
|
D | SelectionOverlay.java | 223 r = SwtUtils.toRect(sibling.getSelectionRect()); in paintSelection()
|
D | PaletteControl.java | 878 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()
|
D | CanvasViewInfo.java | 517 Rect bounds = SwtUtils.toRect(getAbsRect()); in toSimpleElement() 525 parentBounds = SwtUtils.toRect(getParent().getAbsRect()); in toSimpleElement()
|
D | RenderPreview.java | 700 mThumbnail = SwtUtils.convertToSwt(mCanvas.getDisplay(), image, in createThumbnail() 731 mThumbnail = SwtUtils.convertToSwt(mCanvas.getDisplay(), image, in createErrorThumbnail()
|
D | GestureManager.java | 857 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/ |
D | ResourcePreviewHelper.java | 28 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/ |
D | SwtUtils.java | 22 public class SwtUtils { class
|
D | SdkLocationChooserDialog.java | 68 .hint(SwtUtils.getFontWidth(mTextBox) * 80, SWT.DEFAULT) in createDialogArea()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | SwtUtils.java | 22 public class SwtUtils { class
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintColumn.java | 21 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/ |
D | XmlPropertyEditor.java | 44 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/ |
D | ConfigureAssetSetPage.java | 38 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/ |
D | GLFunctionTraceViewer.java | 23 import com.android.ide.eclipse.gltrace.SwtUtils; 325 gd.widthHint = SwtUtils.getApproximateFontWidth(mFrameSelectionSpinner) * 6; in createFrameSelectionControls()
|