/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
H A D | ResizeState.java | 113 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.w)); 128 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.h));
|
H A D | FragmentRule.java | 35 String fqcn = mRulesEngine.displayFragmentSourceInput();
|
H A D | ImageButtonRule.java | 39 String src = mRulesEngine.displayResourceInput("drawable", ""); //$NON-NLS-1$ //$NON-NLS-2$
|
H A D | ImageViewRule.java | 39 String src = mRulesEngine.displayResourceInput("drawable", ""); //$NON-NLS-1$ //$NON-NLS-2$
|
H A D | IncludeRule.java | 34 String include = mRulesEngine.displayIncludeSourceInput();
|
H A D | GridLayoutRule.java | 192 mRulesEngine.redraw(); 196 mRulesEngine.redraw(); 200 mRulesEngine.redraw(); 204 mRulesEngine.layout(); 208 GridModel grid = GridModel.get(mRulesEngine, parentNode, null); 351 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 370 namespace = mRulesEngine.getAppNameSpace(); 412 GridModel grid = GridModel.get(mRulesEngine, parent, null); 445 grid = GridModel.get(mRulesEngine, resizeState.layout, resizeState.layoutView); 529 return mRulesEngine [all...] |
H A D | BaseViewRule.java | 89 protected IClientRulesEngine mRulesEngine; field in class:BaseViewRule 98 mRulesEngine = engine; 116 return mRulesEngine; 197 IValidator validator = mRulesEngine.getResourceValidator("id",//$NON-NLS-1$ 202 String newId = mRulesEngine.displayInput("New Id:", oldId, validator); 245 v = mRulesEngine.displayResourceInput(resourceTypeName, oldValue); 251 v = mRulesEngine.displayFragmentSourceInput(); 329 return mRulesEngine.displayReferenceInput(oldValue); 340 return mRulesEngine.displayResourceInput(format.name(), oldValue); 346 return mRulesEngine [all...] |
H A D | AbsoluteLayoutRule.java | 232 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x))); 237 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y))); 250 mRulesEngine.pxToDp(newBounds.x - parentBounds.x), 251 mRulesEngine.pxToDp(newBounds.y - parentBounds.y),
|
H A D | TableRowRule.java | 66 TableLayoutRule.addTableLayoutActions(mRulesEngine, actions, grandParent,
|
H A D | TableLayoutRule.java | 88 mRulesEngine.select(Collections.singletonList(newRow)); 100 addTableLayoutActions(mRulesEngine, actions, parentNode, children);
|
H A D | RelativeLayoutRule.java | 152 return new DropFeedback(new MoveHandler(targetNode, elements, mRulesEngine), 270 ResizeHandler state = new ResizeHandler(parent, child, mRulesEngine, 338 mRulesEngine.redraw(); 344 mRulesEngine.redraw(); 348 mRulesEngine.redraw();
|
H A D | FrameLayoutRule.java | 183 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
|
H A D | LinearLayoutRule.java | 188 weight = mRulesEngine.displayInput("Enter Weight Value:", weight, 570 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 785 unweightedSizes = mRulesEngine.measureChildren(layout,
|
H A D | BaseLayoutRule.java | 132 String[] margins = mRulesEngine.displayMarginInput(all, left, 628 Map<INode, Rect> sizes = mRulesEngine.measureChildren(parent,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
H A D | ClientRulesEngine.java | 119 private final RulesEngine mRulesEngine; field in class:ClientRulesEngine 123 mRulesEngine = rulesEngine; 142 return mRulesEngine.loadRule(fqcn, fqcn); 187 ViewHierarchy views = mRulesEngine.getEditor().getCanvasControl().getViewHierarchy(); 212 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); 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 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
H A D | GridModel.java | 148 private final IClientRulesEngine mRulesEngine; field in class:GridModel 166 mRulesEngine = rulesEngine; 365 mNamespace = mRulesEngine.getAppNameSpace(); 606 Object child = mRulesEngine.getViewObject(view.node); 824 IViewMetadata metadata = mRulesEngine.getMetadata(view.node.getFqcn()); 893 mRulesEngine.select(Collections.singletonList(newView)); 1047 int columnWidthDip = mRulesEngine.pxToDp(columnWidth); 1106 mRulesEngine.select(Collections.singletonList(newView)); 1707 int dp = mRulesEngine.pxToDp(px); 1792 int dp = mRulesEngine [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
H A D | LayoutCanvas.java | 128 private RulesEngine mRulesEngine; field in class:LayoutCanvas 248 mRulesEngine = rulesEngine; 450 if (mRulesEngine != null) { 451 mRulesEngine.dispose(); 452 mRulesEngine = null; 515 return mRulesEngine; 520 mRulesEngine = rulesEngine; 893 mSelectionOverlay.paint(mSelectionManager, mGCWrapper, gc, mRulesEngine);
|
H A D | GraphicalEditorPart.java | 259 private RulesEngine mRulesEngine; field in class:GraphicalEditorPart 423 mCanvasViewer = new LayoutCanvasViewer(mEditorDelegate, mRulesEngine, mSashError, SWT.NONE); 1117 if (mRulesEngine == null) { 1118 mRulesEngine = new RulesEngine(this, mEditedFile.getProject()); 1120 mCanvasViewer.getCanvas().setRulesEngine(mRulesEngine); 1197 return mRulesEngine;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
H A D | GuidelineHandler.java | 224 protected IClientRulesEngine mRulesEngine; field in class:GuidelineHandler 233 mRulesEngine = rulesEngine; 607 int dp = mRulesEngine.pxToDp(margin); 837 return mRulesEngine;
|