Searched refs:mRulesEngine (Results 1 - 19 of 19) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
H A DResizeState.java113 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 DFragmentRule.java35 String fqcn = mRulesEngine.displayFragmentSourceInput();
H A DImageButtonRule.java39 String src = mRulesEngine.displayResourceInput("drawable", ""); //$NON-NLS-1$ //$NON-NLS-2$
H A DImageViewRule.java39 String src = mRulesEngine.displayResourceInput("drawable", ""); //$NON-NLS-1$ //$NON-NLS-2$
H A DIncludeRule.java34 String include = mRulesEngine.displayIncludeSourceInput();
H A DGridLayoutRule.java192 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 DBaseViewRule.java89 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 DAbsoluteLayoutRule.java232 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 DTableRowRule.java66 TableLayoutRule.addTableLayoutActions(mRulesEngine, actions, grandParent,
H A DTableLayoutRule.java88 mRulesEngine.select(Collections.singletonList(newRow));
100 addTableLayoutActions(mRulesEngine, actions, parentNode, children);
H A DRelativeLayoutRule.java152 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 DFrameLayoutRule.java183 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
H A DLinearLayoutRule.java188 weight = mRulesEngine.displayInput("Enter Weight Value:", weight,
570 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
785 unweightedSizes = mRulesEngine.measureChildren(layout,
H A DBaseLayoutRule.java132 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 DClientRulesEngine.java119 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 DGridModel.java148 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 DLayoutCanvas.java128 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 DGraphicalEditorPart.java259 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 DGuidelineHandler.java224 protected IClientRulesEngine mRulesEngine; field in class:GuidelineHandler
233 mRulesEngine = rulesEngine;
607 int dp = mRulesEngine.pxToDp(margin);
837 return mRulesEngine;

Completed in 173 milliseconds