Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGridLayoutRule.java54 import com.android.ide.common.layout.grid.GridDropHandler;
55 import com.android.ide.common.layout.grid.GridLayoutPainter;
56 import com.android.ide.common.layout.grid.GridModel;
57 import com.android.ide.common.layout.grid.GridModel.ViewData;
210 GridModel grid = GridModel.get(mRulesEngine, parentNode, null); in addLayoutActions()
212 grid.addRow(children); in addLayoutActions()
214 grid.removeRows(children); in addLayoutActions()
216 grid.addColumn(children); in addLayoutActions()
218 grid.removeColumns(children); in addLayoutActions()
419 GridModel grid = GridModel.get(mRulesEngine, parent, null); in onRemovingChildren() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java16 package com.android.ide.common.layout.grid;
20 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED;
61 GridModel grid) { in paintStructure() argument
65 for (int row = 0; row < grid.actualRowCount; row++) { in paintStructure()
66 int y = grid.getRowY(row); in paintStructure()
69 for (int column = 0; column < grid.actualColumnCount; column++) { in paintStructure()
70 int x = grid.getColumnX(column); in paintStructure()
109 public static void paintResizeFeedback(IGraphics gc, INode layout, GridModel grid) { in paintResizeFeedback() argument
110 paintStructure(DrawingStyle.GRID, layout, gc, grid); in paintResizeFeedback()
155 GridModel grid = data.getGrid(); in paintFreeFormDropFeedback() local
[all …]
DGridMatch.java16 package com.android.ide.common.layout.grid;
18 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED;
DGridDropHandler.java16 package com.android.ide.common.layout.grid;
29 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED;
DGridModel.java16 package com.android.ide.common.layout.grid;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DSectionHelper.java220 Composite grid = toolkit.createComposite(composite); in createGridLayout() local
223 grid.setLayout(layout); in createGridLayout()
224 toolkit.paintBordersFor(grid); in createGridLayout()
226 ((Section) composite).setClient(grid); in createGridLayout()
228 return grid; in createGridLayout()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java193 Grid grid = new Grid(views, left, top); in analyzeLayout() local
195 computeHorizontalConstraints(grid); in analyzeLayout()
196 computeVerticalConstraints(grid); in analyzeLayout()
854 private void computeHorizontalConstraints(Grid grid) { in computeHorizontalConstraints() argument
855 int columns = grid.getColumns(); in computeHorizontalConstraints()
861 if (!grid.colContainsTopLeftCorner(col)) { in computeHorizontalConstraints()
863 marginLeft += grid.getColumnWidth(col); in computeHorizontalConstraints()
867 for (View view : grid.viewsStartingInCol(col, true)) { in computeHorizontalConstraints()
891 View view = grid.findRightEdgeView(col); in computeHorizontalConstraints()
899 marginLeft = grid.getColumnWidth(col); in computeHorizontalConstraints()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiTreeBlock.java209 Composite grid = SectionHelper.createGridLayout(section, toolkit, 2); in createMasterPart() local
211 Tree tree = createTreeViewer(toolkit, grid, managedForm); in createMasterPart()
212 createButtons(toolkit, grid); in createMasterPart()
244 private Tree createTreeViewer(FormToolkit toolkit, Composite grid, in createTreeViewer() argument
248 final Tree tree = toolkit.createTree(grid, SWT.MULTI); in createTreeViewer()
425 private void createButtons(FormToolkit toolkit, Composite grid) { in createButtons() argument
429 Composite button_grid = SectionHelper.createGridLayout(grid, toolkit, 1); in createButtons()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DScreenViewer.java251 private BufferedImage grid; field in ScreenViewer.LoupeViewer
303 grid = new BufferedImage(width + zoom + 1, height + zoom + 1, in paintComponent()
306 g2 = grid.createGraphics(); in paintComponent()
308 g2 = grid.createGraphics(); in paintComponent()
310 g2.fillRect(0, 0, grid.getWidth(), grid.getHeight()); in paintComponent()
335 g.drawImage(grid, clip.x - clip.x % zoom, clip.y - clip.y % zoom, null); in paintComponent()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
DGridModelTest.java16 package com.android.ide.common.layout.grid;
29 import com.android.ide.common.layout.grid.GridModel.ViewData;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/META-INF/
DMANIFEST.MF57 com.android.ide.common.layout.grid;x-friends:="com.android.ide.eclipse.tests",