/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SelectionItem.java | 36 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()
|
D | SelectionManager.java | 99 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 …]
|
D | OutlineDragListener.java | 33 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()
|
D | ClipboardSupport.java | 96 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()
|
D | GlobalCanvasDragInfo.java | 48 private SelectionItem[] mCurrentSelection; 82 @Nullable SelectionItem[] selection, in startDrag() 113 public SelectionItem[] getCurrentSelection() { in getCurrentSelection()
|
D | GestureManager.java | 319 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 …]
|
D | FragmentMenu.java | 79 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()
|
D | SimpleElement.java | 51 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()
|
D | MarqueeGesture.java | 56 List<SelectionItem> selection = canvas.getSelectionManager().getSelections(); in MarqueeGesture() 58 for (SelectionItem item : selection) { in MarqueeGesture()
|
D | SelectionHandles.java | 36 private final SelectionItem mItem; 44 public SelectionHandles(SelectionItem item) { in SelectionHandles()
|
D | PlayAnimationMenu.java | 90 List<SelectionItem> selection = selectionManager.getSelections(); in addMenuItems() 145 List<SelectionItem> selection = selectionManager.getSelections(); in run() 146 SelectionItem canvasSelection = selection.get(0); in run()
|
D | HoverOverlay.java | 155 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections(); in paint() 156 for (SelectionItem item : selections) { in paint()
|
D | SelectionOverlay.java | 77 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()
|
D | DynamicContextMenu.java | 161 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()
|
D | OutlineDropListener.java | 195 SelectionItem[] sel = GlobalCanvasDragInfo.getInstance().getCurrentSelection(); in validateDrop() 197 for (SelectionItem item : sel) { in validateDrop()
|
D | ListViewTypeMenu.java | 189 for (SelectionItem item : selectionManager.getSelections()) { in getSelectedLayout() 208 for (SelectionItem item : selectionManager.getSnapshot()) { in setNewType()
|
D | MoveGesture.java | 468 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()
|
D | LayoutActionBar.java | 121 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()
|
D | ResizeGesture.java | 62 public ResizeGesture(LayoutCanvas canvas, SelectionItem item, SelectionHandle handle) { in ResizeGesture()
|
D | OutlinePage.java | 1146 final ArrayList<SelectionItem> dragSelection = new ArrayList<SelectionItem>(); in move() 1151 final SimpleElement[] elements = SelectionItem.getAsElements(dragSelection); in move()
|
D | LayoutCanvas.java | 1058 List<SelectionItem> selections = mSelectionManager.getSelections(); in getNodesToExplode() 1062 for (SelectionItem item : selections) { in getNodesToExplode() 1394 List<SelectionItem> selections = getSelectionManager().getSelections(); in updateMenuActionState()
|