Home
last modified time | relevance | path

Searched refs:selections (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionManager.java1039 List<SelectionItem> selections = selectionManager.getSelections(); in addMenuItems() local
1040 boolean selectedOne = selections.size() == 1; in addMenuItems()
1041 boolean notRoot = selectedOne && !selections.get(0).isRoot(); in addMenuItems()
1042 boolean haveSelection = selections.size() > 0; in addMenuItems()
1129 final List<SelectionItem> selections = getSelections(); in performDefaultAction() local
1130 if (selections.size() > 0) { in performDefaultAction()
1131 NodeProxy primary = selections.get(0).getNode(); in performDefaultAction()
1153 for (SelectionItem item : selections) { in performDefaultAction()
1184 final List<SelectionItem> selections = getSelections(); in performRename() local
1185 if (selections.size() > 0) { in performRename()
[all …]
DSelectionOverlay.java77 List<SelectionItem> selections = selectionManager.getSelections(); in paint() local
78 int n = selections.size(); in paint()
82 for (SelectionItem s : selections) { in paint()
107 NodeProxy node = selections.get(0).getNode(); in paint()
DHoverOverlay.java155 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections(); in paint() local
156 for (SelectionItem item : selections) { in paint()
DLayoutActionBar.java121 List<SelectionItem> selections = selectionManager.getSelections(); in updateSelection() local
122 if (selections.size() > 0) { in updateSelection()
127 NodeProxy node = selections.get(0).getNode(); in updateSelection()
140 selections = Collections.emptyList(); in updateSelection()
145 for (SelectionItem item : selections) { in updateSelection()
349 List<SelectionItem> selections = in getSelectedNodes() local
351 List<INode> nodes = new ArrayList<INode>(selections.size()); in getSelectedNodes()
352 for (SelectionItem item : selections) { in getSelectedNodes()
DGestureManager.java745 List<SelectionItem> selections = selectionManager.getSelections(); in dragStart() local
749 if (!selections.isEmpty()) { in dragStart()
753 for (SelectionItem cs : selections) { in dragStart()
774 if (selections.size() == 1) { in dragStart()
779 mDragSelection.addAll(selections); in dragStart()
782 for (SelectionItem cs : selections) { in dragStart()
798 mDragSelection.addAll(selections); in dragStart()
DFragmentMenu.java79 List<SelectionItem> selections = selectionManager.getSelections(); in addMenuItems() local
80 if (selections.size() == 0) { in addMenuItems()
84 SelectionItem first = selections.get(0); in addMenuItems()
DLayoutCanvas.java1058 List<SelectionItem> selections = mSelectionManager.getSelections(); in getNodesToExplode() local
1059 if (selections.size() > 0) { in getNodesToExplode()
1062 for (SelectionItem item : selections) { in getNodesToExplode()
1394 List<SelectionItem> selections = getSelectionManager().getSelections(); in updateMenuActionState() local
1395 boolean hasSelection = !selections.isEmpty(); in updateMenuActionState()
1396 if (hasSelection && selections.size() == 1 && selections.get(0).isRoot()) { in updateMenuActionState()
DDynamicContextMenu.java161 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections(); in populateDynamicContextMenu() local
162 if (selections.size() == 0) { in populateDynamicContextMenu()
165 List<INode> nodes = new ArrayList<INode>(selections.size()); in populateDynamicContextMenu()
166 for (SelectionItem item : selections) { in populateDynamicContextMenu()