/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
H A D | FrameLayoutRule.java | 168 final @NonNull INode parentNode, 170 super.addLayoutActions(actions, parentNode, children); 172 actions.add(createMarginAction(parentNode, children)); 166 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
|
H A D | TableRowRule.java | 56 final @NonNull INode parentNode, 58 super.addLayoutActions(actions, parentNode, children); 64 INode grandParent = parentNode.getParent(); 54 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
|
H A D | AbsoluteLayoutRule.java | 50 public List<String> getSelectionHint(@NonNull INode parentNode, @NonNull INode childNode) { argument
|
H A D | TableLayoutRule.java | 97 final @NonNull INode parentNode, 99 super.addLayoutActions(actions, parentNode, children); 100 addTableLayoutActions(mRulesEngine, actions, parentNode, children); 107 List<RuleAction> actions, final INode parentNode, 116 parentNode.editXml("Add/Remove Table Row", new INodeHandler() { 124 INode[] rows = parentNode.getChildren(); 129 while (child != null && child.getParent() != parentNode) { 145 newRow = parentNode.appendChild(FQCN_TABLE_ROW); 147 newRow = parentNode.insertChildAt(FQCN_TABLE_ROW, index); 153 // this implementation, so the parentNode i 95 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument 106 addTableLayoutActions(final IClientRulesEngine rulesEngine, List<RuleAction> actions, final INode parentNode, final List<? extends INode> children) argument [all...] |
H A D | RelativeLayoutRule.java | 93 public List<String> getSelectionHint(@NonNull INode parentNode, @NonNull INode childNode) { argument 131 public void paintSelectionFeedback(@NonNull IGraphics graphics, @NonNull INode parentNode, argument 133 super.paintSelectionFeedback(graphics, parentNode, childNodes, view); 137 childNodes = Arrays.asList(parentNode.getChildren()); 144 ConstraintPainter.paintSelectionFeedback(graphics, parentNode, childNodes, showDependents); 309 final @NonNull INode parentNode, 311 super.addLayoutActions(actions, parentNode, children); 313 actions.add(createGravityAction(Collections.<INode>singletonList(parentNode), 316 actions.add(createMarginAction(parentNode, children)); 326 parentNode 307 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument [all...] |
H A D | BaseLayoutRule.java | 109 protected final RuleAction createMarginAction(final INode parentNode, argument 113 Collections.singletonList(parentNode) 123 parentNode.editXml("Change Margins", new INodeHandler() { 189 final @NonNull INode parentNode, 191 super.addLayoutActions(actions, parentNode, children); 194 Collections.singletonList(parentNode) 215 parentNode.editXml(undoLabel, new INodeHandler() { 277 * @param parentNode the parent node we're pasting into 282 public void onPasteBeforeChild(INode parentNode, Object parentView, INode targetNode, argument 284 DropFeedback feedback = onDropEnter(parentNode, parentVie 187 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument [all...] |
H A D | GridLayoutRule.java | 157 final @NonNull INode parentNode, 159 super.addLayoutActions(actions, parentNode, children); 161 String namespace = getNamespace(parentNode); 165 new PropertyCallback(Collections.singletonList(parentNode), 169 "horizontal", "vertical"), getCurrentOrientation(parentNode), 177 actions.add(createMarginAction(parentNode, children)); 188 parentNode.editXml("Add/Remove Row/Column", new INodeHandler() { 210 GridModel grid = GridModel.get(mRulesEngine, parentNode, null); 586 public void paintSelectionFeedback(@NonNull IGraphics graphics, @NonNull INode parentNode, argument 588 super.paintSelectionFeedback(graphics, parentNode, childNode 155 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument [all...] |
H A D | LinearLayoutRule.java | 129 final @NonNull INode parentNode, 131 super.addLayoutActions(actions, parentNode, children); 135 new PropertyCallback(Collections.singletonList(parentNode), 141 getCurrentOrientation(parentNode), 149 if (!isVertical(parentNode)) { 150 String current = parentNode.getStringAttr(ANDROID_URI, ATTR_BASELINE_ALIGNED); 154 new PropertyCallback(Collections.singletonList(parentNode), 165 actions.add(createMarginAction(parentNode, children)); 178 parentNode.editXml("Change Weight", new INodeHandler() { 200 distributeWeights(parentNode, parentNod 127 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument 226 distributeWeights(INode parentNode, INode[] targets) argument 262 clearWeights(INode parentNode) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
H A D | LayoutContentAssist.java | 113 protected ElementDescriptor[] getElementChoicesForTextNode(Node parentNode) { argument 114 ElementDescriptor[] choices = super.getElementChoicesForTextNode(parentNode);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
H A D | ValuesContentAssist.java | 142 Node parentNode, Node currentNode, UiElementNode uiParent, 144 super.computeTextValues(proposals, offset, parentNode, currentNode, uiParent, 147 if (parentNode.getNodeName().equals(TAG_ITEM) && 148 parentNode.getParentNode() != null && 149 TAG_STYLE.equals(parentNode.getParentNode().getNodeName())) { 162 Element element = (Element) parentNode; 208 if (parentNode.getNodeName().equals(TAG_ITEM)) { 218 Node typeNode = parentNode.getAttributes().getNamedItem(ATTR_TYPE); 141 computeTextValues(List<ICompletionProposal> proposals, int offset, Node parentNode, Node currentNode, UiElementNode uiParent, String prefix) argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
H A D | ConstraintPainter.java | 107 * @param parentNode the parent relative layout 111 public static void paintSelectionFeedback(IGraphics graphics, INode parentNode, argument 114 DependencyGraph dependencyGraph = new DependencyGraph(parentNode);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
H A D | AndroidContentAssist.java | 163 Node parentNode = context.getFirst(); 165 assert parentNode != null || currentNode != null; 170 rootUiNode == null ? null : rootUiNode.findXmlNode(parentNode); 171 computeTextValues(proposals, offset, parentNode, currentNode, parentUiNode, 182 parentNode, currentNode, parent, info, nextChar); 184 computeNonAttributeProposals(viewer, offset, wordPrefix, proposals, parentNode, 193 List<ICompletionProposal> proposals, Node parentNode, Node currentNode, String parent, 220 parentNode != null ? parentNode : null, wordPrefix, needTag, 227 int offset, String wordPrefix, UiElementNode currentUiNode, Node parentNode, 192 computeNonAttributeProposals(ITextViewer viewer, int offset, String wordPrefix, List<ICompletionProposal> proposals, Node parentNode, Node currentNode, String parent, char nextChar) argument 226 computeAttributeProposals(List<ICompletionProposal> proposals, ITextViewer viewer, int offset, String wordPrefix, UiElementNode currentUiNode, Node parentNode, Node currentNode, String parent, AttribInfo info, char nextChar) argument 492 computeTextValues(List<ICompletionProposal> proposals, int offset, Node parentNode, Node currentNode, UiElementNode uiParent, String wordPrefix) argument 523 getElementChoicesForTextNode(Node parentNode) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
H A D | RulesEngine.java | 212 * @param parentNode The layout node 220 NodeProxy parentNode, List<NodeProxy> children ) { 222 IViewRule rule = loadRule(parentNode.getNode()); 227 rule.addLayoutActions(actions, parentNode, children); 242 * @param parentNode The parent of the node selected. Never null. 246 public List<String> callGetSelectionHint(NodeProxy parentNode, NodeProxy childNode) { argument 248 IViewRule rule = loadRule(parentNode.getNode()); 252 return rule.getSelectionHint(parentNode, childNode); 264 public void callPaintSelectionFeedback(GCWrapper gcWrapper, NodeProxy parentNode, argument 267 IViewRule rule = loadRule(parentNode 219 callAddLayoutActions(List<RuleAction> actions, NodeProxy parentNode, List<NodeProxy> children ) argument 504 callCreateHooks( AndroidXmlEditor editor, NodeProxy parentNode, NodeProxy childNode, InsertType overrideInsertType) argument 527 callCreateHooks( final AndroidXmlEditor editor, final InsertType insertType, final IViewRule parentRule, final INode parentNode, final IViewRule childRule, final INode newNode) argument 582 callOnRemovingChildren(NodeProxy parentNode, List<INode> children) argument [all...] |