Home
last modified time | relevance | path

Searched refs:viewInfo (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.java190 public static TreePath getTreePath(CanvasViewInfo viewInfo) { in getTreePath() argument
192 while (viewInfo != null) { in getTreePath()
193 segments.add(0, viewInfo); in getTreePath()
194 viewInfo = viewInfo.getParent(); in getTreePath()
522 for (CanvasViewInfo viewInfo : viewInfos) { in selectMultiple()
523 mSelections.add(createSelection(viewInfo)); in selectMultiple()
524 if (viewInfo.isInvisible()) { in selectMultiple()
587 for (CanvasViewInfo viewInfo : viewInfos) { in selectWithin()
588 if (toggled.contains(viewInfo)) { in selectWithin()
589 result.remove(viewInfo); in selectWithin()
[all …]
DOutlineDragListener.java68 CanvasViewInfo viewInfo = getViewInfo(item); in dragStart() local
69 if (viewInfo != null) { in dragStart()
70 mDragSelection.add(selectionManager.createSelection(viewInfo)); in dragStart()
DCanvasViewInfo.java109 Rectangle selectionRect, ViewInfo viewInfo) { in CanvasViewInfo() argument
113 mViewInfo = viewInfo; in CanvasViewInfo()
844 private CanvasViewInfo createSubtree(CanvasViewInfo parent, ViewInfo viewInfo, in createSubtree() argument
846 assert viewInfo.getCookie() != null; in createSubtree()
848 CanvasViewInfo view = createView(parent, viewInfo, parentX, parentY); in createSubtree()
857 parentX += viewInfo.getLeft(); in createSubtree()
858 parentY += viewInfo.getTop(); in createSubtree()
860 List<ViewInfo> children = viewInfo.getChildren(); in createSubtree()
1155 private CanvasViewInfo addKeyedSubtrees(CanvasViewInfo parent, ViewInfo viewInfo, in addKeyedSubtrees() argument
1162 if (viewInfo.getCookie() != null) { in addKeyedSubtrees()
[all …]
DPaletteControl.java1024 ViewInfo viewInfo = null; in renderPreview() local
1029 viewInfo = viewInfoList.get(0); in renderPreview()
1030 mBaseline = viewInfo.getBaseLine(); in renderPreview()
1033 if (viewInfo != null) { in renderPreview()
1034 int x1 = viewInfo.getLeft(); in renderPreview()
1035 int x2 = viewInfo.getRight(); in renderPreview()
1036 int y2 = viewInfo.getBottom(); in renderPreview()
1037 int y1 = viewInfo.getTop(); in renderPreview()
1052 if (viewInfo != null) { in renderPreview()
1053 if (viewInfo.getRight() < image.getWidth()-1) { in renderPreview()
[all …]
DSelectionOverlay.java179 CanvasViewInfo viewInfo = viewHierarchy.findViewInfoFor((NodeProxy) parent); in paintSelectionFeedback() local
180 Object view = viewInfo != null ? viewInfo.getViewObject() : null; in paintSelectionFeedback()
DOutlinePage.java1119 CanvasViewInfo viewInfo = getSingleSelectedItem(); in canMove() local
1120 if (viewInfo != null) { in canMove()
1121 UiViewElementNode node = viewInfo.getUiViewNode(); in canMove()
1134 CanvasViewInfo viewInfo = getSingleSelectedItem(); in move() local
1135 if (viewInfo != null) { in move()
1137 UiViewElementNode selected = viewInfo.getUiViewNode(); in move()
1147 dragSelection.add(selectionManager.createSelection(viewInfo)); in move()
DLayoutCanvas.java1063 CanvasViewInfo viewInfo = item.getViewInfo(); in getNodesToExplode() local
1066 if (invisibleParents.contains(viewInfo)) { in getNodesToExplode()
1067 UiViewElementNode node = viewInfo.getUiViewNode(); in getNodesToExplode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java200 CanvasViewInfo viewInfo = (CanvasViewInfo) lastSegment; in VisualRefactoring() local
201 UiViewElementNode uiNode = viewInfo.getUiViewNode(); in VisualRefactoring()
673 CanvasViewInfo viewInfo = (CanvasViewInfo) lastSegment; in initElements() local
674 UiViewElementNode uiNode = viewInfo.getUiViewNode(); in initElements()