Home
last modified time | relevance | path

Searched refs:getViewInfo (Results 1 – 17 of 17) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DOutlineDragListener.java52 CanvasViewInfo over = getViewInfo(overTreeItem); in dragStart()
68 CanvasViewInfo viewInfo = getViewInfo(item); in dragStart()
121 private CanvasViewInfo getViewInfo(TreeItem item) { in getViewInfo() method in OutlineDragListener
124 return OutlinePage.getViewInfo(data); in getViewInfo()
DSelectionItem.java103 public CanvasViewInfo getViewInfo() { in getViewInfo() method in SelectionItem
150 CanvasViewInfo vi = cs.getViewInfo(); in getAsText()
190 CanvasViewInfo vi = primary.getViewInfo(); in getAsElements()
202 CanvasViewInfo vi = cs.getViewInfo(); in getAsElements()
DSelectionManager.java175 CanvasViewInfo vi = cs.getViewInfo(); in getSelection()
243 oldSelected.add(cs.getViewInfo()); in setSelection()
470 if (mSelections.size() == 1 && mSelections.getFirst().getViewInfo() == vi) { in selectSingle()
498 if (item.getViewInfo().isExploded()) { in hasExplodedItems()
638 CanvasViewInfo parent = mSelections.get(0).getViewInfo().getParent(); in selectParent()
649 CanvasViewInfo viewInfo = mSelections.get(0).getViewInfo(); in selectSameType()
674 CanvasViewInfo vi = mSelections.get(0).getViewInfo(); in selectSiblings()
714 if (canvasViewInfo == s.getViewInfo()) { in deselect()
730 if (canvasViewInfos.contains(s.getViewInfo())) { in deselectAll()
745 UiViewElementNode key = s.getViewInfo().getUiViewNode(); in sync()
[all …]
DOutlineDropListener.java84 CanvasViewInfo parent = OutlinePage.getViewInfo(event.item.getData()); in performDrop()
177 CanvasViewInfo parent = OutlinePage.getViewInfo(event.item.getData()); in validateDrop()
198 if (isAncestor(item.getViewInfo().getUiViewNode(), parentNode)) { in validateDrop()
DFragmentMenu.java85 UiViewElementNode node = first.getViewInfo().getUiViewNode(); in addMenuItems()
220 UiViewElementNode node = item.getViewInfo().getUiViewNode(); in getSelectedLayout()
242 UiViewElementNode node = item.getViewInfo().getUiViewNode(); in setNewLayout()
DClipboardSupport.java171 CanvasViewInfo vi = cs.getViewInfo(); in deleteSelection()
240 CanvasViewInfo vi = cs.getViewInfo(); in deleteSelection()
284 target = cs.getViewInfo(); in pasteSelection()
DListViewTypeMenu.java190 UiViewElementNode node = item.getViewInfo().getUiViewNode(); in getSelectedLayout()
209 UiViewElementNode node = item.getViewInfo().getUiViewNode(); in setNewType()
DDynamicContextMenu.java252 if (selection.size() == 1 && selection.get(0).getViewInfo() != null in insertVisualRefactorings()
253 && selection.get(0).getViewInfo().getName().equals(FQCN_LINEAR_LAYOUT)) { in insertVisualRefactorings()
254 CanvasViewInfo info = selection.get(0).getViewInfo(); in insertVisualRefactorings()
273 selection.get(0).getViewInfo().getName().equals(FQCN_GESTURE_OVERLAY_VIEW))) { in insertVisualRefactorings()
289 UiViewElementNode node = item.getViewInfo().getUiViewNode(); in insertTagSpecificMenus()
DMarqueeGesture.java59 mInitialSelection.add(item.getViewInfo()); in MarqueeGesture()
DHoverOverlay.java157 if (mHoverRect.equals(item.getViewInfo().getSelectionRect())) { in paint()
DPlayAnimationMenu.java147 CanvasViewInfo info = canvasSelection.getViewInfo(); in run()
DSelectionOverlay.java190 CanvasViewInfo view = item.getViewInfo(); in paintSelection()
DOutlinePage.java453 CanvasViewInfo vi = getViewInfo(selection[0].getData()); in createOutline()
682 /* package */ static CanvasViewInfo getViewInfo(Object viewData) { in getViewInfo() method in OutlinePage
1203 return getViewInfo(selection[0].getData()); in getSingleSelectedItem()
DMoveGesture.java709 if (cs.getViewInfo() == targetVi) { in processDropEvent()
DGestureManager.java879 mCanvas.getNodeFactory().create(mDragSelection.get(0).getViewInfo()); in dragStart()
DLayoutCanvas.java1063 CanvasViewInfo viewInfo = item.getViewInfo(); in getNodesToExplode()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionManagerTest.java80 assertSame(rootView, manager.getSelections().get(0).getViewInfo()); in testBasic()
90 assertSame(rootView.getChildren().get(1), manager.getSelections().get(0).getViewInfo()); in testBasic()
113 assertSame(rootView.getChildren().get(0), manager.getSelections().get(0).getViewInfo()); in testSelectParent()
118 assertSame(rootView, manager.getSelections().get(0).getViewInfo()); in testSelectParent()