Home
last modified time | relevance | path

Searched refs:SelectionItem (Results 1 – 21 of 21) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionItem.java36 class SelectionItem { class
61 public SelectionItem(LayoutCanvas canvas, CanvasViewInfo canvasViewInfo) { in SelectionItem() method in SelectionItem
145 static String getAsText(LayoutCanvas canvas, List<SelectionItem> selection) { in getAsText()
149 for (SelectionItem cs : selection) { in getAsText()
172 static SimpleElement[] getAsElements(@NonNull List<SelectionItem> items) { in getAsElements()
185 @NonNull List<SelectionItem> items, in getAsElements()
186 @Nullable SelectionItem primary) { in getAsElements()
196 for (SelectionItem cs : items) { in getAsElements()
DSelectionManager.java99 private final LinkedList<SelectionItem> mSelections = new LinkedList<SelectionItem>();
102 private final List<SelectionItem> mUnmodifiableSelection =
143 List<SelectionItem> getSelections() { in getSelections()
154 public List<SelectionItem> getSnapshot() { in getSnapshot()
159 return new ArrayList<SelectionItem>(mSelections); in getSnapshot()
174 for (SelectionItem cs : mSelections) { in getSelection()
242 for (SelectionItem cs : mSelections) { in setSelection()
313 for (SelectionItem cs : mSelections) { in menuClick()
354 for (SelectionItem cs : mSelections) { in select()
454 SelectionItem selectSingle(CanvasViewInfo vi) { in selectSingle()
[all …]
DOutlineDragListener.java33 private final ArrayList<SelectionItem> mDragSelection = new ArrayList<SelectionItem>();
78 mDragElements = SelectionItem.getAsElements(mDragSelection); in dragStart()
80 mDragSelection.toArray(new SelectionItem[imageCount]), in dragStart()
98 e.data = SelectionItem.getAsText(canvas, mDragSelection); in dragSetData()
DClipboardSupport.java96 public void copySelectionToClipboard(List<SelectionItem> selection) { in copySelectionToClipboard()
120 SelectionItem.getAsElements(selection), in copySelectionToClipboard()
121 message != null ? message : SelectionItem.getAsText(mCanvas, selection) in copySelectionToClipboard()
145 public void cutSelectionToClipboard(List<SelectionItem> selection) { in cutSelectionToClipboard()
161 public void deleteSelection(String verb, final List<SelectionItem> selection) { in deleteSelection()
170 for (SelectionItem cs : selection) { in deleteSelection()
213 for (SelectionItem cs : selection) { in deleteSelection()
239 for (SelectionItem cs : selection) { in deleteSelection()
261 public void pasteSelection(List<SelectionItem> selection) { in pasteSelection()
283 SelectionItem cs = selection.get(0); in pasteSelection()
DGlobalCanvasDragInfo.java48 private SelectionItem[] mCurrentSelection;
82 @Nullable SelectionItem[] selection, in startDrag()
113 public SelectionItem[] getCurrentSelection() { in getCurrentSelection()
DGestureManager.java319 Pair<SelectionItem, SelectionHandle> handlePair = in updateCursor()
333 for (SelectionItem item : selectionManager.getSelections()) { in updateCursor()
474 Pair<SelectionItem, SelectionHandle> handlePair = in mouseUp()
708 private final ArrayList<SelectionItem> mDragSelection = new ArrayList<SelectionItem>();
727 Pair<SelectionItem, SelectionHandle> handle = in dragStart()
745 List<SelectionItem> selections = selectionManager.getSelections(); in dragStart()
747 SelectionItem primary = null; in dragStart()
753 for (SelectionItem cs : selections) { in dragStart()
782 for (SelectionItem cs : selections) { in dragStart()
807 mDragElements = SelectionItem.getAsElements(mDragSelection, primary); in dragStart()
[all …]
DFragmentMenu.java79 List<SelectionItem> selections = selectionManager.getSelections(); in addMenuItems()
84 SelectionItem first = selections.get(0); in addMenuItems()
219 for (SelectionItem item : selectionManager.getSelections()) { in getSelectedLayout()
241 for (SelectionItem item : selectionManager.getSnapshot()) { in setNewLayout()
DSimpleElement.java51 private SelectionItem mSelectionItem;
155 void setSelectionItem(@Nullable SelectionItem selectionItem) { in setSelectionItem()
160 SelectionItem getSelectionItem() { in getSelectionItem()
165 static SimpleElement findPrimary(SimpleElement[] elements, SelectionItem primary) { in findPrimary()
DMarqueeGesture.java56 List<SelectionItem> selection = canvas.getSelectionManager().getSelections(); in MarqueeGesture()
58 for (SelectionItem item : selection) { in MarqueeGesture()
DSelectionHandles.java36 private final SelectionItem mItem;
44 public SelectionHandles(SelectionItem item) { in SelectionHandles()
DPlayAnimationMenu.java90 List<SelectionItem> selection = selectionManager.getSelections(); in addMenuItems()
145 List<SelectionItem> selection = selectionManager.getSelections(); in run()
146 SelectionItem canvasSelection = selection.get(0); in run()
DHoverOverlay.java155 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections(); in paint()
156 for (SelectionItem item : selections) { in paint()
DSelectionOverlay.java77 List<SelectionItem> selections = selectionManager.getSelections(); in paint()
82 for (SelectionItem s : selections) { in paint()
188 private void paintSelection(IGraphics gc, GC swtGc, SelectionItem item, in paintSelection()
DDynamicContextMenu.java161 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections(); in populateDynamicContextMenu()
166 for (SelectionItem item : selections) { in populateDynamicContextMenu()
221 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); in insertParentItems()
245 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); in insertVisualRefactorings()
284 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); in insertTagSpecificMenus()
288 for (SelectionItem item : selection) { in insertTagSpecificMenus()
500 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); in addMenuItems()
DOutlineDropListener.java195 SelectionItem[] sel = GlobalCanvasDragInfo.getInstance().getCurrentSelection(); in validateDrop()
197 for (SelectionItem item : sel) { in validateDrop()
DListViewTypeMenu.java189 for (SelectionItem item : selectionManager.getSelections()) { in getSelectedLayout()
208 for (SelectionItem item : selectionManager.getSnapshot()) { in setNewType()
DMoveGesture.java468 SelectionItem[] selection = dragInfo.getCurrentSelection(); in getInsertType()
470 for (SelectionItem item : selection) { in getInsertType()
706 SelectionItem[] selection = mGlobalDragInfo.getCurrentSelection(); in processDropEvent()
708 for (SelectionItem cs : selection) { in processDropEvent()
DLayoutActionBar.java121 List<SelectionItem> selections = selectionManager.getSelections(); in updateSelection()
145 for (SelectionItem item : selections) { in updateSelection()
349 List<SelectionItem> selections = in getSelectedNodes()
352 for (SelectionItem item : selections) { in getSelectedNodes()
DResizeGesture.java62 public ResizeGesture(LayoutCanvas canvas, SelectionItem item, SelectionHandle handle) { in ResizeGesture()
DOutlinePage.java1146 final ArrayList<SelectionItem> dragSelection = new ArrayList<SelectionItem>(); in move()
1151 final SimpleElement[] elements = SelectionItem.getAsElements(dragSelection); in move()
DLayoutCanvas.java1058 List<SelectionItem> selections = mSelectionManager.getSelections(); in getNodesToExplode()
1062 for (SelectionItem item : selections) { in getNodesToExplode()
1394 List<SelectionItem> selections = getSelectionManager().getSelections(); in updateMenuActionState()