Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGCWrapper.java62 private static class ColorWrapper implements IColor { class in GCWrapper
65 public ColorWrapper(Color color) { in ColorWrapper() method in GCWrapper.ColorWrapper
75 private final HashMap<Integer, ColorWrapper> mColorMap = new HashMap<Integer, ColorWrapper>();
120 for (ColorWrapper c : mColorMap.values()) { in dispose()
143 ColorWrapper c = mColorMap.get(key); in registerColor()
145 c = new ColorWrapper(new Color(getGc().getDevice(), in registerColor()
169 return new ColorWrapper(c); in getForeground()
175 return new ColorWrapper(c); in getBackground()
186 getGc().setForeground(((ColorWrapper) color).getColor()); in setForeground()
192 getGc().setBackground(((ColorWrapper) color).getColor()); in setBackground()