Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java23 import com.android.ide.common.api.DrawingStyle;
60 public static void paintStructure(DrawingStyle style, INode layout, IGraphics gc, in paintStructure()
87 gc.useStyle(DrawingStyle.GUIDELINE); in paintGrid()
110 paintStructure(DrawingStyle.GRID, layout, gc, grid); in paintResizeFeedback()
139 gc.useStyle(DrawingStyle.DROP_RECIPIENT); in paint()
159 GridLayoutPainter.paintStructure(DrawingStyle.GRID, node, gc, grid); in paintFreeFormDropFeedback()
190 gc.useStyle(DrawingStyle.DISTANCE); in paintFreeFormDropFeedback()
207 gc.useStyle(rowMatch.margin == 0 ? DrawingStyle.DISTANCE in paintFreeFormDropFeedback()
208 : rowMatch.createCell ? DrawingStyle.GUIDELINE_DASHED in paintFreeFormDropFeedback()
209 : DrawingStyle.GUIDELINE); in paintFreeFormDropFeedback()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DGuidelinePainter.java27 import com.android.ide.common.api.DrawingStyle;
53 gc.useStyle(DrawingStyle.DRAGGED); in paint()
66 gc.useStyle(DrawingStyle.DEPENDENCY); in paint()
79 gc.useStyle(DrawingStyle.DROP_PREVIEW); in paint()
83 gc.useStyle(DrawingStyle.RESIZE_PREVIEW); in paint()
85 gc.useStyle(DrawingStyle.RESIZE_FAIL); in paint()
168 gc.useStyle(DrawingStyle.CYCLE); in paintCycle()
DConstraintPainter.java18 import static com.android.ide.common.api.DrawingStyle.DEPENDENCY;
19 import static com.android.ide.common.api.DrawingStyle.GUIDELINE;
20 import static com.android.ide.common.api.DrawingStyle.GUIDELINE_DASHED;
36 import com.android.ide.common.api.DrawingStyle;
397 graphics.useStyle(DrawingStyle.DROP_ZONE_ACTIVE); in paintVerticalConstraint()
627 graphics.useStyle(DrawingStyle.DROP_ZONE_ACTIVE); in paintHorizontalConstraint()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGCWrapper.java20 import com.android.ide.common.api.DrawingStyle;
81 private final Map<DrawingStyle, Color> mStyleStrokeMap = new EnumMap<DrawingStyle, Color>(
82 DrawingStyle.class);
88 private final Map<DrawingStyle, Color> mStyleFillMap = new EnumMap<DrawingStyle, Color>(
89 DrawingStyle.class);
425 public void useStyle(@NonNull DrawingStyle style) { in useStyle()
472 private Color getStrokeColor(DrawingStyle style, RGB defaultColorDesc) { in getStrokeColor()
487 private Color getFillColor(DrawingStyle style, RGB defaultColorDesc) { in getFillColor()
503 private Color getStyleColor(DrawingStyle style, RGB defaultColorDesc, in getStyleColor()
504 Map<DrawingStyle, Color> map) { in getStyleColor() argument
DSelectionOverlay.java19 import com.android.ide.common.api.DrawingStyle;
129 gcWrapper.useStyle(DrawingStyle.HELP); in paintHints()
201 gc.useStyle(DrawingStyle.SELECTION); in paintSelection()
242 SwtDrawingStyle style = SwtDrawingStyle.of(DrawingStyle.SELECTION); in paintSelection()
DSwtDrawingStyle.java19 import com.android.ide.common.api.DrawingStyle;
245 public static SwtDrawingStyle of(DrawingStyle style) { in of()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DAbsoluteLayoutRule.java26 import com.android.ide.common.api.DrawingStyle;
92 gc.useStyle(DrawingStyle.DROP_RECIPIENT); in drawFeedback()
113 gc.useStyle(DrawingStyle.DROP_PREVIEW); in drawFeedback()
120 gc.useStyle(DrawingStyle.GUIDELINE); in drawFeedback()
127 gc.useStyle(DrawingStyle.DROP_PREVIEW); in drawFeedback()
DAdapterViewRule.java20 import com.android.ide.common.api.DrawingStyle;
42 gc.useStyle(DrawingStyle.DROP_RECIPIENT); in onDropEnter()
DScrollViewRule.java28 import com.android.ide.common.api.DrawingStyle;
89 gc.useStyle(DrawingStyle.DROP_RECIPIENT); in drawFeedback()
DHorizontalScrollViewRule.java28 import com.android.ide.common.api.DrawingStyle;
89 gc.useStyle(DrawingStyle.DROP_RECIPIENT); in drawFeedback()
DFrameLayoutRule.java26 import com.android.ide.common.api.DrawingStyle;
80 gc.useStyle(DrawingStyle.DROP_RECIPIENT);
92 gc.useStyle(DrawingStyle.DROP_PREVIEW);
DGridLayoutRule.java37 import com.android.ide.common.api.DrawingStyle;
444 gc.useStyle(DrawingStyle.RESIZE_PREVIEW); in paintResizeFeedback()
593 if (GridLayoutPainter.paintStructure(view, DrawingStyle.GUIDELINE_DASHED, in paintSelectionFeedback()
598 GridLayoutPainter.paintStructure(DrawingStyle.GUIDELINE_DASHED, in paintSelectionFeedback()
601 GridLayoutPainter.paintStructure(DrawingStyle.GRID, in paintSelectionFeedback()
DLinearLayoutRule.java37 import com.android.ide.common.api.DrawingStyle;
374 gc.useStyle(DrawingStyle.DROP_RECIPIENT);
377 gc.useStyle(DrawingStyle.DROP_ZONE);
404 gc.useStyle(DrawingStyle.DROP_ZONE_ACTIVE);
414 gc.useStyle(DrawingStyle.DROP_PREVIEW);
445 gc.useStyle(DrawingStyle.DROP_PREVIEW);
DBaseLayoutRule.java59 import com.android.ide.common.api.DrawingStyle;
663 gc.useStyle(DrawingStyle.RESIZE_PREVIEW);
668 gc.useStyle(DrawingStyle.GUIDELINE);
673 gc.useStyle(DrawingStyle.GUIDELINE);
679 gc.useStyle(DrawingStyle.GUIDELINE);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestGraphics.java20 import com.android.ide.common.api.DrawingStyle;
164 public void useStyle(@NonNull DrawingStyle style) { in useStyle()