/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
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));
|
FragmentRule.java | 33 String fqcn = mRulesEngine.displayFragmentSourceInput();
|
ImageButtonRule.java | 37 String src = mRulesEngine.displayResourceInput("drawable", ""); //$NON-NLS-1$ //$NON-NLS-2$
|
ImageViewRule.java | 37 String src = mRulesEngine.displayResourceInput("drawable", ""); //$NON-NLS-1$ //$NON-NLS-2$
|
IncludeRule.java | 32 String include = mRulesEngine.displayIncludeSourceInput();
|
GridLayoutRule.java | 180 mRulesEngine.redraw(); 184 mRulesEngine.redraw(); 188 mRulesEngine.redraw(); 192 mRulesEngine.layout(); 196 GridModel grid = new GridModel(mRulesEngine, parentNode, null); 326 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 372 GridModel grid = new GridModel(mRulesEngine, parent, null); 413 grid = new GridModel(mRulesEngine, resizeState.layout, resizeState.layoutView); 496 return mRulesEngine.screenToLayout(NEW_CELL_WIDTH / 2); 513 parentNode, graphics, new GridModel(mRulesEngine, parentNode, view)) [all...] |
TableRowRule.java | 61 TableLayoutRule.addTableLayoutActions(mRulesEngine, actions, grandParent,
|
AbsoluteLayoutRule.java | 226 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x))); 231 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y))); 244 mRulesEngine.pxToDp(newBounds.x - parentBounds.x), 245 mRulesEngine.pxToDp(newBounds.y - parentBounds.y),
|
BaseViewRule.java | 86 protected IClientRulesEngine mRulesEngine; 94 this.mRulesEngine = engine; 121 return mRulesEngine; 199 IValidator validator = mRulesEngine.getResourceValidator(); 200 String newId = mRulesEngine.displayInput("New Id:", oldId, validator); 242 v = mRulesEngine.displayResourceInput(resourceTypeName, oldValue); 322 return mRulesEngine.displayReferenceInput(oldValue); 333 return mRulesEngine.displayResourceInput(format.name(), oldValue); 339 return mRulesEngine.displayInput(message, oldValue, null); 352 String value = mRulesEngine.displayInput [all...] |
TableLayoutRule.java | 80 mRulesEngine.select(Collections.singletonList(newRow)); 90 addTableLayoutActions(mRulesEngine, actions, parentNode, children);
|
RelativeLayoutRule.java | 154 return new DropFeedback(new MoveHandler(targetNode, elements, mRulesEngine), 291 ResizeHandler state = new ResizeHandler(parent, child, mRulesEngine, 344 mRulesEngine.redraw(); 350 mRulesEngine.redraw(); 354 mRulesEngine.redraw();
|
FrameLayoutRule.java | 174 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
|
LinearLayoutRule.java | 180 weight = mRulesEngine.displayInput("Enter Weight Value:", weight, 557 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 772 unweightedSizes = mRulesEngine.measureChildren(layout, [all...] |
BaseLayoutRule.java | 128 String[] margins = mRulesEngine.displayMarginInput(all, left, 642 Map<INode, Rect> sizes = mRulesEngine.measureChildren(parent, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ClientRulesEngine.java | 100 private final RulesEngine mRulesEngine; 104 mRulesEngine = rulesEngine; 120 return mRulesEngine.loadRule(fqcn, fqcn); 170 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); 182 IAndroidTarget target = currentSdk.getTarget(mRulesEngine.getEditor().getProject()); 197 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor(); 230 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor(); 272 AndroidXmlEditor editor = mRulesEngine.getEditor().getLayoutEditor(); 291 AndroidXmlEditor editor = mRulesEngine.getEditor().getLayoutEditor(); 297 LayoutCanvas layoutCanvas = mRulesEngine.getEditor().getCanvasControl() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutCanvas.java | 127 private RulesEngine mRulesEngine; 233 mRulesEngine = rulesEngine; 354 if (mRulesEngine != null) { 355 mRulesEngine.dispose(); 356 mRulesEngine = null; 409 return mRulesEngine; 414 mRulesEngine = rulesEngine; 755 mSelectionOverlay.paint(mSelectionManager, mGCWrapper, gc, mRulesEngine); [all...] |
GraphicalEditorPart.java | 222 private RulesEngine mRulesEngine; 351 mCanvasViewer = new LayoutCanvasViewer(mLayoutEditor, mRulesEngine, mSashError, SWT.NONE); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridModel.java | 129 private final IClientRulesEngine mRulesEngine; 153 mRulesEngine = rulesEngine; 656 IViewMetadata metadata = mRulesEngine.getMetadata(view.node.getFqcn()); 723 mRulesEngine.select(Collections.singletonList(newView)); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelineHandler.java | 222 protected IClientRulesEngine mRulesEngine; 231 mRulesEngine = rulesEngine; 600 int dp = mRulesEngine.pxToDp(margin); [all...] |