/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | TableLayoutRule.java | 97 final @NonNull INode parentNode, in addLayoutActions() argument 99 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 100 addTableLayoutActions(mRulesEngine, actions, parentNode, children); in addLayoutActions() 107 List<RuleAction> actions, final INode parentNode, in addTableLayoutActions() argument 116 parentNode.editXml("Add/Remove Table Row", new INodeHandler() { in addTableLayoutActions() 124 INode[] rows = parentNode.getChildren(); in addTableLayoutActions() 129 while (child != null && child.getParent() != parentNode) { in addTableLayoutActions() 145 newRow = parentNode.appendChild(FQCN_TABLE_ROW); in addTableLayoutActions() 147 newRow = parentNode.insertChildAt(FQCN_TABLE_ROW, index); in addTableLayoutActions() 157 while (child != null && child.getParent() != parentNode) { in addTableLayoutActions() [all …]
|
D | TableRowRule.java | 56 final @NonNull INode parentNode, in addLayoutActions() argument 58 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 64 INode grandParent = parentNode.getParent(); in addLayoutActions()
|
D | GridLayoutRule.java | 157 final @NonNull INode parentNode, in addLayoutActions() argument 159 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 161 String namespace = getNamespace(parentNode); in addLayoutActions() 165 new PropertyCallback(Collections.singletonList(parentNode), in addLayoutActions() 169 "horizontal", "vertical"), getCurrentOrientation(parentNode), in addLayoutActions() 177 actions.add(createMarginAction(parentNode, children)); in addLayoutActions() 188 parentNode.editXml("Add/Remove Row/Column", new INodeHandler() { in addLayoutActions() 210 GridModel grid = GridModel.get(mRulesEngine, parentNode, null); in addLayoutActions() 586 public void paintSelectionFeedback(@NonNull IGraphics graphics, @NonNull INode parentNode, in paintSelectionFeedback() argument 588 super.paintSelectionFeedback(graphics, parentNode, childNodes, view); in paintSelectionFeedback() [all …]
|
D | LinearLayoutRule.java | 129 final @NonNull INode parentNode, in addLayoutActions() argument 131 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 135 new PropertyCallback(Collections.singletonList(parentNode), in addLayoutActions() 141 getCurrentOrientation(parentNode), in addLayoutActions() 149 if (!isVertical(parentNode)) { in addLayoutActions() 150 String current = parentNode.getStringAttr(ANDROID_URI, ATTR_BASELINE_ALIGNED); in addLayoutActions() 154 new PropertyCallback(Collections.singletonList(parentNode), in addLayoutActions() 165 actions.add(createMarginAction(parentNode, children)); in addLayoutActions() 178 parentNode.editXml("Change Weight", new INodeHandler() { in addLayoutActions() 200 distributeWeights(parentNode, parentNode.getChildren()); in addLayoutActions() [all …]
|
D | RelativeLayoutRule.java | 93 public List<String> getSelectionHint(@NonNull INode parentNode, @NonNull INode childNode) { in getSelectionHint() argument 131 public void paintSelectionFeedback(@NonNull IGraphics graphics, @NonNull INode parentNode, in paintSelectionFeedback() argument 133 super.paintSelectionFeedback(graphics, parentNode, childNodes, view); in paintSelectionFeedback() 137 childNodes = Arrays.asList(parentNode.getChildren()); in paintSelectionFeedback() 144 ConstraintPainter.paintSelectionFeedback(graphics, parentNode, childNodes, showDependents); in paintSelectionFeedback() 309 final @NonNull INode parentNode, in addLayoutActions() argument 311 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 313 actions.add(createGravityAction(Collections.<INode>singletonList(parentNode), in addLayoutActions() 316 actions.add(createMarginAction(parentNode, children)); in addLayoutActions() 326 parentNode.editXml("Center", new INodeHandler() { in addLayoutActions()
|
D | BaseLayoutRule.java | 109 protected final RuleAction createMarginAction(final INode parentNode, in createMarginAction() argument 113 Collections.singletonList(parentNode) in createMarginAction() 123 parentNode.editXml("Change Margins", new INodeHandler() { in createMarginAction() 189 final @NonNull INode parentNode, in addLayoutActions() argument 191 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 194 Collections.singletonList(parentNode) in addLayoutActions() 215 parentNode.editXml(undoLabel, new INodeHandler() { in addLayoutActions() 282 public void onPasteBeforeChild(INode parentNode, Object parentView, INode targetNode, in onPasteBeforeChild() argument 284 DropFeedback feedback = onDropEnter(parentNode, parentView, elements); in onPasteBeforeChild() 286 Point parentP = parentNode.getBounds().getTopLeft(); in onPasteBeforeChild() [all …]
|
D | FrameLayoutRule.java | 168 final @NonNull INode parentNode, 170 super.addLayoutActions(actions, parentNode, children); 172 actions.add(createMarginAction(parentNode, children));
|
D | AbsoluteLayoutRule.java | 50 public List<String> getSelectionHint(@NonNull INode parentNode, @NonNull INode childNode) { in getSelectionHint() argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | RulesEngine.java | 220 NodeProxy parentNode, List<NodeProxy> children ) { in callAddLayoutActions() argument 222 IViewRule rule = loadRule(parentNode.getNode()); in callAddLayoutActions() 227 rule.addLayoutActions(actions, parentNode, children); in callAddLayoutActions() 246 public List<String> callGetSelectionHint(NodeProxy parentNode, NodeProxy childNode) { in callGetSelectionHint() argument 248 IViewRule rule = loadRule(parentNode.getNode()); in callGetSelectionHint() 252 return rule.getSelectionHint(parentNode, childNode); in callGetSelectionHint() 264 public void callPaintSelectionFeedback(GCWrapper gcWrapper, NodeProxy parentNode, in callPaintSelectionFeedback() argument 267 IViewRule rule = loadRule(parentNode.getNode()); in callPaintSelectionFeedback() 271 rule.paintSelectionFeedback(gcWrapper, parentNode, childNodes, view); in callPaintSelectionFeedback() 506 NodeProxy parentNode, NodeProxy childNode, in callCreateHooks() argument [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | OutlineDropListener.java | 90 UiViewElementNode parentNode = parent.getUiViewNode(); in performDrop() local 92 UiViewElementNode node = parentNode; in performDrop() 97 parentNode = parent.getUiViewNode(); in performDrop() 101 for (UiElementNode child : parentNode.getUiChildren()) { in performDrop() 114 final NodeProxy targetNode = canvas.getNodeFactory().create(parentNode); in performDrop() 182 UiViewElementNode parentNode = parent.getUiViewNode(); in validateDrop() local 187 if (!DescriptorsUtils.canInsertChildren(parentNode.getDescriptor(), in validateDrop() 198 if (isAncestor(item.getViewInfo().getUiViewNode(), parentNode)) { in validateDrop()
|
D | SelectionOverlay.java | 126 NodeProxy parentNode = (NodeProxy) parent; in paintHints() local 127 List<String> infos = rulesEngine.callGetSelectionHint(parentNode, node); in paintHints() 166 NodeProxy parentNode = (NodeProxy) parent; in paintSelectionFeedback() local 167 parents.add(parentNode); in paintSelectionFeedback()
|
D | RenderService.java | 578 UiElementNode parentNode = ((NodeProxy) parent).getNode(); in measureChildren() local 579 UiElementPullParser topParser = new UiElementPullParser(parentNode, in measureChildren()
|
D | OutlinePage.java | 1152 UiViewElementNode parentNode = target.getFirst(); in move() local 1153 final NodeProxy targetNode = canvas.getNodeFactory().create(parentNode); in move()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
D | ValuesContentAssist.java | 142 Node parentNode, Node currentNode, UiElementNode uiParent, in computeTextValues() argument 144 super.computeTextValues(proposals, offset, parentNode, currentNode, uiParent, in computeTextValues() 147 if (parentNode.getNodeName().equals(TAG_ITEM) && in computeTextValues() 148 parentNode.getParentNode() != null && in computeTextValues() 149 TAG_STYLE.equals(parentNode.getParentNode().getNodeName())) { in computeTextValues() 162 Element element = (Element) parentNode; in computeTextValues() 208 if (parentNode.getNodeName().equals(TAG_ITEM)) { in computeTextValues() 218 Node typeNode = parentNode.getAttributes().getNamedItem(ATTR_TYPE); in computeTextValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssist.java | 163 Node parentNode = context.getFirst(); in computeCompletionProposals() local 165 assert parentNode != null || currentNode != null; in computeCompletionProposals() 170 rootUiNode == null ? null : rootUiNode.findXmlNode(parentNode); in computeCompletionProposals() 171 computeTextValues(proposals, offset, parentNode, currentNode, parentUiNode, in computeCompletionProposals() 182 parentNode, currentNode, parent, info, nextChar); in computeCompletionProposals() 184 computeNonAttributeProposals(viewer, offset, wordPrefix, proposals, parentNode, in computeCompletionProposals() 193 List<ICompletionProposal> proposals, Node parentNode, Node currentNode, String parent, in computeNonAttributeProposals() argument 220 parentNode != null ? parentNode : null, wordPrefix, needTag, in computeNonAttributeProposals() 227 int offset, String wordPrefix, UiElementNode currentUiNode, Node parentNode, in computeAttributeProposals() argument 255 addMatchingProposals(proposals, choices, offset, parentNode != null ? parentNode : null, in computeAttributeProposals() [all …]
|
D | Hyperlinks.java | 1339 Node parentNode = context.getNode().getParentNode(); in detectHyperlinks() local 1340 if (parentNode != null && parentNode.getNodeType() == Node.ELEMENT_NODE) { in detectHyperlinks()
|
/sdk/templates/docs/ |
D | jquery-1.8.0.min.js | 2 …parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return …
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | LayoutContentAssist.java | 113 protected ElementDescriptor[] getElementChoicesForTextNode(Node parentNode) { in getElementChoicesForTextNode() argument 114 ElementDescriptor[] choices = super.getElementChoicesForTextNode(parentNode); in getElementChoicesForTextNode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
D | AttrsXmlParser.java | 294 Node parentNode = node.getAttributes().getNamedItem("parent"); //$NON-NLS-1$ in parseResources() local 295 String parents = parentNode == null ? null : parentNode.getNodeValue(); in parseResources()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | ConstraintPainter.java | 111 public static void paintSelectionFeedback(IGraphics graphics, INode parentNode, in paintSelectionFeedback() argument 114 DependencyGraph dependencyGraph = new DependencyGraph(parentNode); in paintSelectionFeedback()
|