/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | ClientRulesEngine.java | 119 private final RulesEngine mRulesEngine; field in ClientRulesEngine 123 mRulesEngine = rulesEngine; in ClientRulesEngine() 142 return mRulesEngine.loadRule(fqcn, fqcn); in loadRule() 187 ViewHierarchy views = mRulesEngine.getEditor().getCanvasControl().getViewHierarchy(); in getViewObject() 212 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); in getMetadata() 226 IAndroidTarget target = currentSdk.getTarget(mRulesEngine.getEditor().getProject()); 250 Document doc = mRulesEngine.getEditor().getModel().getXmlDocument(); 260 IProject project = mRulesEngine.getEditor().getProject(); 295 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor(); 331 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor(); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | GridLayoutRule.java | 192 mRulesEngine.redraw(); in addLayoutActions() 196 mRulesEngine.redraw(); in addLayoutActions() 200 mRulesEngine.redraw(); in addLayoutActions() 204 mRulesEngine.layout(); in addLayoutActions() 208 GridModel grid = GridModel.get(mRulesEngine, parentNode, null); in addLayoutActions() 351 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); in onChildInserted() 370 namespace = mRulesEngine.getAppNameSpace(); in getNamespace() 412 GridModel grid = GridModel.get(mRulesEngine, parent, null); in onRemovingChildren() 445 grid = GridModel.get(mRulesEngine, resizeState.layout, resizeState.layoutView); in getGrid() 529 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 | 89 protected IClientRulesEngine mRulesEngine; field in BaseViewRule 98 mRulesEngine = engine; in onInitialize() 116 return mRulesEngine; in getRulesEngine() 197 IValidator validator = mRulesEngine.getResourceValidator("id",//$NON-NLS-1$ in addContextMenuActions() 202 String newId = mRulesEngine.displayInput("New Id:", oldId, validator); in addContextMenuActions() 245 v = mRulesEngine.displayResourceInput(resourceTypeName, oldValue); in addContextMenuActions() 251 v = mRulesEngine.displayFragmentSourceInput(); in addContextMenuActions() 329 return mRulesEngine.displayReferenceInput(oldValue); in addContextMenuActions() 346 return mRulesEngine.displayInput(message, oldValue, null); in addContextMenuActions() 359 String value = mRulesEngine.displayInput( in addContextMenuActions() [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 | 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 | TableRowRule.java | 66 TableLayoutRule.addTableLayoutActions(mRulesEngine, actions, grandParent, in addLayoutActions()
|
D | TableLayoutRule.java | 88 mRulesEngine.select(Collections.singletonList(newRow)); in addContextMenuActions() 100 addTableLayoutActions(mRulesEngine, actions, parentNode, children); in addLayoutActions()
|
D | FrameLayoutRule.java | 183 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
|
D | LinearLayoutRule.java | 188 weight = mRulesEngine.displayInput("Enter Weight Value:", weight, in addLayoutActions() 570 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 785 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() 365 mNamespace = mRulesEngine.getAppNameSpace(); in getNamespace() 606 Object child = mRulesEngine.getViewObject(view.node); in assignRowsAndColumnsFromViews() 824 IViewMetadata metadata = mRulesEngine.getMetadata(view.node.getFqcn()); in initializeMaxBounds() 893 mRulesEngine.select(Collections.singletonList(newView)); in addColumn() 1047 int columnWidthDip = mRulesEngine.pxToDp(columnWidth); in removeColumns() 1106 mRulesEngine.select(Collections.singletonList(newView)); in addRow() 1707 int dp = mRulesEngine.pxToDp(px); in splitColumn() 1792 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 | 128 private RulesEngine mRulesEngine; field in LayoutCanvas 248 mRulesEngine = rulesEngine; in LayoutCanvas() 450 if (mRulesEngine != null) { in dispose() 451 mRulesEngine.dispose(); in dispose() 452 mRulesEngine = null; in dispose() 515 return mRulesEngine; in getRulesEngine() 520 mRulesEngine = rulesEngine; in setRulesEngine() 893 mSelectionOverlay.paint(mSelectionManager, mGCWrapper, gc, mRulesEngine); in onPaint()
|
D | GraphicalEditorPart.java | 259 private RulesEngine mRulesEngine; field in GraphicalEditorPart 423 mCanvasViewer = new LayoutCanvasViewer(mEditorDelegate, mRulesEngine, mSashError, SWT.NONE); in createPartControl() 1117 if (mRulesEngine == null) { in openFile() 1118 mRulesEngine = new RulesEngine(this, mEditedFile.getProject()); in openFile() 1120 mCanvasViewer.getCanvas().setRulesEngine(mRulesEngine); in openFile() 1197 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()
|