/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | ClientRulesEngine.java | 126 private final RulesEngine mRulesEngine; field in ClientRulesEngine 130 mRulesEngine = rulesEngine; in ClientRulesEngine() 149 return mRulesEngine.loadRule(fqcn, fqcn); in loadRule() 162 GraphicalEditorPart editor = mRulesEngine.getEditor(); in rename() 223 ViewHierarchy views = mRulesEngine.getEditor().getCanvasControl().getViewHierarchy(); in getViewObject() 248 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); in getMetadata() 262 IAndroidTarget target = currentSdk.getTarget(mRulesEngine.getEditor().getProject()); 286 Document doc = mRulesEngine.getEditor().getModel().getXmlDocument(); 296 IProject project = mRulesEngine.getEditor().getProject(); 331 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor(); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | GridLayoutRule.java | 194 mRulesEngine.redraw(); in addLayoutActions() 198 mRulesEngine.redraw(); in addLayoutActions() 202 mRulesEngine.redraw(); in addLayoutActions() 206 mRulesEngine.layout(); in addLayoutActions() 210 GridModel grid = GridModel.get(mRulesEngine, parentNode, null); in addLayoutActions() 356 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); in onChildInserted() 376 namespace = mRulesEngine.getAppNameSpace(); in getNamespace() 419 GridModel grid = GridModel.get(mRulesEngine, parent, null); in onRemovingChildren() 453 grid = GridModel.get(mRulesEngine, resizeState.layout, resizeState.layoutView); in getGrid() 582 return mRulesEngine.screenToLayout(NEW_CELL_WIDTH / 2); in getNewCellSize() [all …]
|
D | ResizeState.java | 113 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.w)); in getWidthAttribute() 128 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.h)); in getHeightAttribute()
|
D | BaseViewRule.java | 88 protected IClientRulesEngine mRulesEngine; field in BaseViewRule 97 mRulesEngine = engine; in onInitialize() 115 return mRulesEngine; in getRulesEngine() 193 if (!mRulesEngine.rename(node)) { in addContextMenuActions() 228 v = mRulesEngine.displayResourceInput(resourceTypeName, oldValue); in addContextMenuActions() 234 v = mRulesEngine.displayFragmentSourceInput(); in addContextMenuActions() 312 return mRulesEngine.displayReferenceInput(oldValue); in addContextMenuActions() 329 return mRulesEngine.displayInput(message, oldValue, null); in addContextMenuActions() 342 String value = mRulesEngine.displayInput( in addContextMenuActions() 545 IViewMetadata metadata = mRulesEngine.getMetadata(selectedNode.getFqcn()); in addCommonPropertyActions() [all …]
|
D | AbsoluteLayoutRule.java | 232 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x))); in setNewSizeBounds() 237 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y))); in setNewSizeBounds() 250 mRulesEngine.pxToDp(newBounds.x - parentBounds.x), in getResizeUpdateMessage() 251 mRulesEngine.pxToDp(newBounds.y - parentBounds.y), in getResizeUpdateMessage()
|
D | IncludeRule.java | 34 String include = mRulesEngine.displayIncludeSourceInput(); in onCreate()
|
D | FragmentRule.java | 35 String fqcn = mRulesEngine.displayFragmentSourceInput(); in onCreate()
|
D | ImageButtonRule.java | 39 … String src = mRulesEngine.displayResourceInput("drawable", ""); //$NON-NLS-1$ //$NON-NLS-2$ in onCreate()
|
D | ImageViewRule.java | 39 … String src = mRulesEngine.displayResourceInput("drawable", ""); //$NON-NLS-1$ //$NON-NLS-2$ in onCreate()
|
D | ViewTagRule.java | 35 String fqcn = mRulesEngine.displayCustomViewClassInput(); in onCreate()
|
D | RelativeLayoutRule.java | 152 return new DropFeedback(new MoveHandler(targetNode, elements, mRulesEngine), in onDropEnter() 270 ResizeHandler state = new ResizeHandler(parent, child, mRulesEngine, in onResizeBegin() 338 mRulesEngine.redraw(); in addLayoutActions() 344 mRulesEngine.redraw(); in addLayoutActions() 348 mRulesEngine.redraw(); in addLayoutActions()
|
D | TableLayoutRule.java | 88 mRulesEngine.select(Collections.singletonList(newRow)); in addContextMenuActions() 100 addTableLayoutActions(mRulesEngine, actions, parentNode, children); in addLayoutActions()
|
D | TableRowRule.java | 66 TableLayoutRule.addTableLayoutActions(mRulesEngine, actions, grandParent, in addLayoutActions()
|
D | FrameLayoutRule.java | 183 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
|
D | LinearLayoutRule.java | 188 weight = mRulesEngine.displayInput("Enter Weight Value:", weight, in addLayoutActions() 573 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 788 unweightedSizes = mRulesEngine.measureChildren(layout,
|
D | BaseLayoutRule.java | 132 String[] margins = mRulesEngine.displayMarginInput(all, left, in createMarginAction() 628 Map<INode, Rect> sizes = mRulesEngine.measureChildren(parent, in onResizeBegin()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridModel.java | 148 private final IClientRulesEngine mRulesEngine; field in GridModel 166 mRulesEngine = rulesEngine; in GridModel() 366 mNamespace = mRulesEngine.getAppNameSpace(); in getNamespace() 607 Object child = mRulesEngine.getViewObject(view.node); in assignRowsAndColumnsFromViews() 840 IViewMetadata metadata = mRulesEngine.getMetadata(view.node.getFqcn()); in initializeMaxBounds() 917 mRulesEngine.select(Collections.singletonList(newView)); in addColumn() 1071 int columnWidthDip = mRulesEngine.pxToDp(columnWidth); in removeColumns() 1130 mRulesEngine.select(Collections.singletonList(newView)); in addRow() 1731 int dp = mRulesEngine.pxToDp(px); in splitColumn() 1816 int dp = mRulesEngine.pxToDp(px); in splitRow() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LayoutCanvas.java | 132 private RulesEngine mRulesEngine; field in LayoutCanvas 263 mRulesEngine = rulesEngine; in LayoutCanvas() 516 if (mRulesEngine != null) { in dispose() 517 mRulesEngine.dispose(); in dispose() 518 mRulesEngine = null; in dispose() 592 return mRulesEngine; in getRulesEngine() 597 mRulesEngine = rulesEngine; in setRulesEngine() 1007 mSelectionOverlay.paint(mSelectionManager, mGCWrapper, gc, mRulesEngine); in onPaint()
|
D | GraphicalEditorPart.java | 267 private RulesEngine mRulesEngine; field in GraphicalEditorPart 432 mCanvasViewer = new LayoutCanvasViewer(mEditorDelegate, mRulesEngine, mSashError, SWT.NONE); in createPartControl() 1145 if (mRulesEngine == null) { in openFile() 1146 mRulesEngine = new RulesEngine(this, mEditedFile.getProject()); in openFile() 1148 mCanvasViewer.getCanvas().setRulesEngine(mRulesEngine); in openFile() 1225 return mRulesEngine; in getRulesEngine()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | GuidelineHandler.java | 224 protected IClientRulesEngine mRulesEngine; field in GuidelineHandler 233 mRulesEngine = rulesEngine; in GuidelineHandler() 607 int dp = mRulesEngine.pxToDp(margin); in applyMargin() 837 return mRulesEngine; in getRulesEngine()
|