Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 24 of 24) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLintTooltipManager.java75 List<UiViewElementNode> nodes = computeNodes(event); in handleEvent() local
76 if (nodes != null && !nodes.isEmpty()) { in handleEvent()
77 if (nodes.equals(mShowingNodes)) { in handleEvent()
80 show(nodes); in handleEvent()
112 List<UiViewElementNode> nodes = computeNodes(event); in show() local
113 if (nodes != null && !nodes.isEmpty()) { in show()
114 show(nodes); in show()
119 private void show(List<UiViewElementNode> nodes) { in show() argument
126 mTip = new LintTooltip(mCanvas, nodes); in show()
135 mShowingNodes = nodes; in show()
[all …]
DDynamicContextMenu.java165 List<INode> nodes = new ArrayList<INode>(selections.size()); in populateDynamicContextMenu() local
167 nodes.add(item.getNode()); in populateDynamicContextMenu()
170 List<IContributionItem> menuItems = getMenuItems(nodes); in populateDynamicContextMenu()
187 private List<IContributionItem> getMenuItems(List<INode> nodes) { in getMenuItems() argument
189 for (INode node : nodes) { in getMenuItems()
204 NodeProxy first = (NodeProxy) nodes.get(0); in getMenuItems()
214 items.add(createContributionItem(action, nodes, defaultId)); in getMenuItems()
396 final List<INode> nodes, final String defaultId) { in createContributionItem() argument
401 return new ActionContributionItem(new NestedActionMenu(parentAction, nodes)); in createContributionItem()
404 return new ActionContributionItem(new NestedChoiceMenu(parentAction, nodes)); in createContributionItem()
[all …]
DLintOverlay.java64 Collection<Node> nodes = editor.getLintNodes(); in paint() local
65 if (nodes != null && !nodes.isEmpty()) { in paint()
68 nodes = Lists.newArrayList(nodes); in paint()
86 for (Node node : nodes) { in paint()
DSelectionManager.java539 public void select(Collection<INode> nodes) { in select() argument
540 List<CanvasViewInfo> infos = new ArrayList<CanvasViewInfo>(nodes.size()); in select()
541 for (INode node : nodes) { in select()
899 public boolean selectDropped(List<INode> nodes, List<Integer> indices) { in selectDropped() argument
900 assert indices == null || nodes.size() == indices.size(); in selectDropped()
906 for (int i = 0, n = nodes.size(); i < n; i++) { in selectDropped()
907 INode node = nodes.get(i); in selectDropped()
945 if (nodes.size() > 1 && viewInfo.isHidden()) { in selectDropped()
958 boolean found = nodes.size() == newChildren.size(); in selectDropped()
971 public void setOutlineSelection(final List<INode> nodes) { in setOutlineSelection() argument
[all …]
DLintTooltip.java40 LintTooltip(LayoutCanvas canvas, List<UiViewElementNode> nodes) { in LintTooltip() argument
43 mNodes = nodes; in LintTooltip()
DSelectionOverlay.java157 private void paintSelectionFeedback(GCWrapper gcWrapper, List<NodeProxy> nodes, in paintSelectionFeedback() argument
163 for (INode node : nodes) { in paintSelectionFeedback()
173 for (INode node : nodes) { in paintSelectionFeedback()
DMoveGesture.java417 final List<INode> nodes = new ArrayList<INode>(); in drop() local
423 nodes.add(node); in drop()
435 if (!selectionManager.selectDropped(nodes, null /* indices */)) { in drop()
444 selectionManager.selectDropped(nodes, indices); in drop()
DViewHierarchy.java680 Set<UiElementNode> nodes = new HashSet<UiElementNode>(mInvisibleParents.size()); in getInvisibleNodes() local
684 nodes.add(node); in getInvisibleNodes()
688 return nodes; in getInvisibleNodes()
DLayoutActionBar.java351 List<INode> nodes = new ArrayList<INode>(selections.size()); in getSelectedNodes() local
353 nodes.add(item.getNode()); in getSelectedNodes()
356 return nodes; in getSelectedNodes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiActions.java141 public void doRemove(final List<UiElementNode> nodes, Shell shell) { in doRemove() argument
143 if (nodes == null || nodes.size() == 0) { in doRemove()
147 final int len = nodes.size(); in doRemove()
150 for (UiElementNode node : nodes) { in doRemove()
167 UiElementNode node = nodes.get(i); in doRemove()
374 final List<UiElementNode> nodes, in doDown() argument
376 if (nodes == null || nodes.size() < 1) { in doDown()
388 for (int i = nodes.size() - 1; i >= 0; i--) { in doDown()
389 final UiElementNode node = uiLastNode[0] = nodes.get(i); in doDown()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DPropertyCallback.java67 final List<? extends INode> nodes = selectedNodes; in action() local
71 for (INode targetNode : nodes) { in action()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DMoveHandler.java66 List<INode> nodes = new ArrayList<INode>(); in MoveHandler() local
70 nodes.add(view.node); in MoveHandler()
73 mDraggedNodes = nodes; in MoveHandler()
75 mHorizontalDeps = mDependencyGraph.dependsOn(nodes, false /* verticalEdge */); in MoveHandler()
76 mVerticalDeps = mDependencyGraph.dependsOn(nodes, true /* verticalEdge */); in MoveHandler()
DDependencyGraph.java63 INode[] nodes = layout.getChildren(); in DependencyGraph() local
80 for (INode child : nodes) { in DependencyGraph()
160 public Set<INode> dependsOn(Collection<? extends INode> nodes, boolean vertical) { in dependsOn() argument
166 for (INode node : nodes) { in dependsOn()
DResizeHandler.java73 Set<INode> nodes = Collections.singleton(resized); in ResizeHandler() local
74 mDraggedNodes = nodes; in ResizeHandler()
76 mHorizontalDeps = mDependencyGraph.dependsOn(nodes, false /* vertical */); in ResizeHandler()
77 mVerticalDeps = mDependencyGraph.dependsOn(nodes, true /* vertical */); in ResizeHandler()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DExplodedRenderingHelper.java354 private Map<String, Node> computeIdNodeMap(Set<Node> nodes) { in computeIdNodeMap() argument
356 for (Node node : nodes) { in computeIdNodeMap()
384 private ArrayList<Node> getMatchingNode(Set<Node> nodes, String resId, in getMatchingNode() argument
388 for (Node node : nodes) { in getMatchingNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java659 List<Element> nodes = new ArrayList<Element>(); in initElements() local
681 nodes.add(element); in initElements()
718 nodes.add(first); in initElements()
724 nodes.add((Element) node); in initElements()
747 return nodes; in initElements()
803 List<UiViewElementNode> nodes = new ArrayList<UiViewElementNode>(infos in validateContiguous() local
808 nodes.add(node); in validateContiguous()
811 if (nodes.size() == 0) { in validateContiguous()
816 UiElementNode parent = nodes.get(0).getUiParent(); in validateContiguous()
817 for (UiViewElementNode node : nodes) { in validateContiguous()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeProxy.java202 List<INode> nodes = new ArrayList<INode>(uiChildren.size()); in getChildren() local
205 nodes.add(mFactory.create((UiViewElementNode) uiChild)); in getChildren()
209 return nodes.toArray(new INode[nodes.size()]); in getChildren()
DClientRulesEngine.java400 public void select(final @NonNull Collection<INode> nodes) {
403 selectionManager.select(nodes);
410 selectionManager.select(nodes);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandler.java832 List<Node> nodes = new ArrayList<Node>(children.getLength()); in mergeResourceFile() local
835 nodes.add(child); in mergeResourceFile()
838 Collections.reverse(nodes); in mergeResourceFile()
857 for (Node node : nodes) { in mergeResourceFile()
891 for (Node node : nodes) { in mergeResourceFile()
/sdk/eclipse/sites/external/web/
Dsite.xsl92 <xsl:variable name="rtf-nodes">
100 <xsl:variable name="myNodeSet" select="msxsl:node-set($rtf-nodes)/*"/>
/sdk/eclipse/sites/internal/web/
Dsite.xsl92 <xsl:variable name="rtf-nodes">
100 <xsl:variable name="myNodeSet" select="msxsl:node-set($rtf-nodes)/*"/>
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DEclipseLintClient.java1187 List<? extends lombok.ast.Node> nodes = converter.getAll();
1191 for (lombok.ast.Node node : nodes) {
1206 List<lombok.ast.Node> nodes = source.getNodes();
1233 for (lombok.ast.Node node : nodes) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java1460 List<INode> nodes = new ArrayList<INode>(); in getIntersectsRow() local
1466 nodes.add(view.node); in getIntersectsRow()
1471 return nodes; in getIntersectsRow()
1952 public void onDeleted(@NonNull List<INode> nodes) { in onDeleted() argument
1953 if (nodes.size() == 0) { in onDeleted()
1962 for (INode child : nodes) { in onDeleted()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DLayoutTestBase.java295 public void select(@NonNull Collection<INode> nodes) { in select() argument