/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 | 185 mRulesEngine.redraw(); 189 mRulesEngine.redraw(); 193 mRulesEngine.redraw(); 197 mRulesEngine.layout(); 201 GridModel grid = new GridModel(mRulesEngine, parentNode, null); 331 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 353 namespace = mRulesEngine.getAppNameSpace(); 394 GridModel grid = new GridModel(mRulesEngine, parent, null); 436 grid = new GridModel(mRulesEngine, resizeState.layout, resizeState.layoutView); 520 return mRulesEngine.screenToLayout(NEW_CELL_WIDTH / 2) [all...] |
TableRowRule.java | 61 TableLayoutRule.addTableLayoutActions(mRulesEngine, actions, grandParent,
|
BaseViewRule.java | 87 protected IClientRulesEngine mRulesEngine; 96 this.mRulesEngine = engine; 114 return mRulesEngine; 194 IValidator validator = mRulesEngine.getResourceValidator(); 195 String newId = mRulesEngine.displayInput("New Id:", oldId, validator); 238 v = mRulesEngine.displayResourceInput(resourceTypeName, oldValue); 244 v = mRulesEngine.displayFragmentSourceInput(); 322 return mRulesEngine.displayReferenceInput(oldValue); 333 return mRulesEngine.displayResourceInput(format.name(), oldValue); 339 return mRulesEngine.displayInput(message, oldValue, null) [all...] |
AbsoluteLayoutRule.java | 228 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x))); 233 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y))); 246 mRulesEngine.pxToDp(newBounds.x - parentBounds.x), 247 mRulesEngine.pxToDp(newBounds.y - parentBounds.y),
|
TableLayoutRule.java | 81 mRulesEngine.select(Collections.singletonList(newRow)); 91 addTableLayoutActions(mRulesEngine, actions, parentNode, children);
|
RelativeLayoutRule.java | 154 return new DropFeedback(new MoveHandler(targetNode, elements, mRulesEngine), 292 ResizeHandler state = new ResizeHandler(parent, child, mRulesEngine, 348 mRulesEngine.redraw(); 354 mRulesEngine.redraw(); 358 mRulesEngine.redraw();
|
FrameLayoutRule.java | 176 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
|
LinearLayoutRule.java | 182 weight = mRulesEngine.displayInput("Enter Weight Value:", weight, 560 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 775 unweightedSizes = mRulesEngine.measureChildren(layout, [all...] |
BaseLayoutRule.java | 128 String[] margins = mRulesEngine.displayMarginInput(all, left, 618 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 | 104 private final RulesEngine mRulesEngine; 108 mRulesEngine = rulesEngine; 127 return mRulesEngine.loadRule(fqcn, fqcn); 184 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); 198 IAndroidTarget target = currentSdk.getTarget(mRulesEngine.getEditor().getProject()); 217 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor(); 252 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor(); 259 GraphicalEditorPart editor = mRulesEngine.getEditor(); 279 AndroidXmlEditor editor = mRulesEngine.getEditor().getEditorDelegate().getEditor(); 286 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 | 126 private RulesEngine mRulesEngine; 232 mRulesEngine = rulesEngine; 377 if (mRulesEngine != null) { 378 mRulesEngine.dispose(); 379 mRulesEngine = null; 432 return mRulesEngine; 437 mRulesEngine = rulesEngine; 783 mSelectionOverlay.paint(mSelectionManager, mGCWrapper, gc, mRulesEngine); [all...] |
GraphicalEditorPart.java | 246 private RulesEngine mRulesEngine; 402 mCanvasViewer = new LayoutCanvasViewer(mEditorDelegate, mRulesEngine, mSashError, SWT.NONE); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridModel.java | 138 private final IClientRulesEngine mRulesEngine; 165 mRulesEngine = rulesEngine; 333 mNamespace = mRulesEngine.getAppNameSpace(); 718 IViewMetadata metadata = mRulesEngine.getMetadata(view.node.getFqcn()); 787 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...] |