/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasAlternateSelection.java | 26 private final CanvasViewInfo mOriginatingView; 27 private final List<CanvasViewInfo> mAltViews; 34 public CanvasAlternateSelection(CanvasViewInfo originatingView, List<CanvasViewInfo> altViews) { 43 public List<CanvasViewInfo> getAltViews() { 48 public CanvasViewInfo getOriginatingView() { 56 public CanvasViewInfo getCurrent() { 64 public CanvasViewInfo getNext() {
|
ViewHierarchy.java | 70 * The CanvasViewInfo root created by the last call to {@link #setSession} 78 private CanvasViewInfo mLastValidViewInfoRoot; 92 * A list of invisible parents (see {@link CanvasViewInfo#isInvisible()} for 95 private final List<CanvasViewInfo> mInvisibleParents = new ArrayList<CanvasViewInfo>(); 101 private final List<CanvasViewInfo> mInvisibleParentsReadOnly = 121 private Map<UiViewElementNode, CanvasViewInfo> mNodeToView = Collections.emptyMap(); 124 private Map<Node, CanvasViewInfo> mDomNodeToView = Collections.emptyMap(); 162 mNodeToView = new HashMap<UiViewElementNode, CanvasViewInfo>(50); 166 Pair<CanvasViewInfo,List<Rectangle>> infos = null [all...] |
CanvasViewInfo.java | 70 public class CanvasViewInfo implements IPropertySource { 82 private CanvasViewInfo mParent; 84 private final List<CanvasViewInfo> mChildren = new ArrayList<CanvasViewInfo>(); 102 private List<CanvasViewInfo> mNodeSiblings; 105 * Constructs a {@link CanvasViewInfo} initialized with the given initial values. 107 private CanvasViewInfo(CanvasViewInfo parent, String name, 155 * Returns the parent {@link CanvasViewInfo}. 158 * @return the parent {@link CanvasViewInfo}, which can be nul [all...] |
SelectionManager.java | 164 * actually a {@link CanvasViewInfo}. 175 CanvasViewInfo vi = cs.getViewInfo(); 190 public static TreePath getTreePath(CanvasViewInfo viewInfo) { 202 * of the tree path is a {@link CanvasViewInfo}. A null selection is considered 241 Set<CanvasViewInfo> oldSelected = new HashSet<CanvasViewInfo>(); 250 if (seg instanceof CanvasViewInfo) { 251 CanvasViewInfo newVi = (CanvasViewInfo) seg; 276 for (CanvasViewInfo vi : oldSelected) [all...] |
SelectionItem.java | 42 private final CanvasViewInfo mCanvasViewInfo; 59 * @param canvasViewInfo The view info being selected. Must not be null. 61 public SelectionItem(LayoutCanvas canvas, CanvasViewInfo canvasViewInfo) { 62 assert canvasViewInfo != null; 65 mCanvasViewInfo = canvasViewInfo; 67 if (canvasViewInfo == null) { 71 Rectangle r = canvasViewInfo.getSelectionRect(); 73 mNodeProxy = mCanvas.getNodeFactory().create(canvasViewInfo); 103 public CanvasViewInfo getViewInfo() [all...] |
OutlineOverlay.java | 76 CanvasViewInfo lastRoot = mViewHierarchy.getRoot(); 87 private void drawOutline(GC gc, CanvasViewInfo info) { 102 for (CanvasViewInfo vi : info.getChildren()) {
|
OutlineDragListener.java | 52 CanvasViewInfo over = getViewInfo(overTreeItem); 68 CanvasViewInfo viewInfo = getViewInfo(item); 121 private CanvasViewInfo getViewInfo(TreeItem item) {
|
OutlinePage.java | 403 // The tree viewer will hold CanvasViewInfo instances, however these 409 if (element instanceof CanvasViewInfo) { 410 UiViewElementNode key = ((CanvasViewInfo) element).getUiViewNode(); 423 if (a instanceof CanvasViewInfo && b instanceof CanvasViewInfo) { 424 UiViewElementNode keyA = ((CanvasViewInfo) a).getUiViewNode(); 425 UiViewElementNode keyB = ((CanvasViewInfo) b).getUiViewNode(); 453 CanvasViewInfo vi = getViewInfo(selection[0].getData()); 555 public void setModel(CanvasViewInfo rootViewInfo) { 658 * which would be the root {@link CanvasViewInfo} [all...] |
SelectionOverlay.java | 98 CanvasViewInfo root = mCanvas.getViewHierarchy().getRoot(); 113 CanvasViewInfo root = mCanvas.getViewHierarchy().getRoot(); 179 CanvasViewInfo viewInfo = viewHierarchy.findViewInfoFor((NodeProxy) parent); 190 CanvasViewInfo view = item.getViewInfo(); 219 List<CanvasViewInfo> siblings = view.getNodeSiblings(); 221 for (CanvasViewInfo sibling : siblings) {
|
ClipboardSupport.java | 171 CanvasViewInfo vi = cs.getViewInfo(); 173 CanvasViewInfo parent = vi.getParent(); 240 CanvasViewInfo vi = cs.getViewInfo(); 270 CanvasViewInfo lastRoot = mCanvas.getViewHierarchy().getRoot(); 281 final CanvasViewInfo target;
|
MarqueeGesture.java | 43 private Collection<CanvasViewInfo> mInitialSelection; 57 mInitialSelection = new ArrayList<CanvasViewInfo>(selection.size());
|
EmptyViewsOverlay.java | 82 for (CanvasViewInfo info : mViewHierarchy.getInvisibleViews()) {
|
OutlineDropListener.java | 84 CanvasViewInfo parent = OutlinePage.getViewInfo(event.item.getData()); 177 CanvasViewInfo parent = OutlinePage.getViewInfo(event.item.getData());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasViewInfoTest.java | 89 CanvasViewInfo rootView = CanvasViewInfo.create(root, layoutlib5).getFirst(); 97 CanvasViewInfo childView1 = rootView.getChildren().get(0); 98 CanvasViewInfo childView2 = rootView.getChildren().get(1); 135 CanvasViewInfo rootView = CanvasViewInfo.create(root, layoutlib5).getFirst(); 143 CanvasViewInfo includedView = rootView.getChildren().get(0); 151 CanvasViewInfo grandChild = includedView.getChildren().get(0); 174 CanvasViewInfo rootView = CanvasViewInfo.create(root, layoutlib5).getFirst() [all...] |
SelectionManagerTest.java | 56 CanvasViewInfo rootView = CanvasViewInfo.create(root, true /* layoutlib5 */).getFirst(); 107 CanvasViewInfo rootView = CanvasViewInfo.create(root, true /* layoutlib5 */).getFirst();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeFactoryTest.java | 23 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 51 CanvasViewInfo cvi = CanvasViewInfo.create(lvi, true /* layoutlib5 */).getFirst(); 98 CanvasViewInfo cvi = CanvasViewInfo.create(lvi, true /* layoutlib5 */).getFirst(); 110 CanvasViewInfo cvi = CanvasViewInfo.create(lvi, true /* layoutlib5 */).getFirst();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
PropertySheetPage.java | 20 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 74 private List<CanvasViewInfo> mSelection; 136 if (next instanceof CanvasViewInfo) { 137 CanvasViewInfo info = (CanvasViewInfo) next; 160 List<CanvasViewInfo> newSelection = new ArrayList<CanvasViewInfo>(selectionCount); 164 if (next instanceof CanvasViewInfo) { 165 CanvasViewInfo info = (CanvasViewInfo) next [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeFactory.java | 20 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 46 * {@link CanvasViewInfo}. The bounds of the node are set to the canvas view bounds. 48 public NodeProxy create(CanvasViewInfo canvasViewInfo) { 49 return create(canvasViewInfo.getUiViewNode(), canvasViewInfo.getAbsRect());
|
NodeProxy.java | 34 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 99 CanvasViewInfo view = viewHierarchy.findViewInfoFor(this); 114 CanvasViewInfo view = viewHierarchy.findViewInfoFor(this);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeLayoutRefactoringTest.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 120 CanvasViewInfo rootView = info.mRootView;
|
RefactoringTest.java | 23 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 295 CanvasViewInfo rootView = CanvasViewInfo.create(info, true /* layoutlib5 */).getFirst(); 325 protected CanvasViewInfo mRootView;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
GridLayoutConverter.java | 64 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 115 private final CanvasViewInfo mRootView; 123 Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) { 138 CanvasViewInfo layoutView = findViewForElement(mRootView, mLayout); 472 * Searches a view hierarchy and locates the {@link CanvasViewInfo} for the given 475 * @param info the root {@link CanvasViewInfo} to search below 477 * @return the {@link CanvasViewInfo} which corresponds to the given element 479 private CanvasViewInfo findViewForElement(CanvasViewInfo info, Element element) { 484 for (CanvasViewInfo child : info.getChildren()) [all...] |
VisualRefactoringAction.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 86 if (firstElement instanceof CanvasViewInfo) {
|
RelativeLayoutConversionHelper.java | 66 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 109 private final CanvasViewInfo mRootView; 113 Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) { 128 CanvasViewInfo layoutView = findViewForElement(mRootView, mLayout); 150 private List<View> analyzeLayout(CanvasViewInfo layoutView) { [all...] |
VisualRefactoring.java | 40 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 199 if (lastSegment instanceof CanvasViewInfo) { 200 CanvasViewInfo viewInfo = (CanvasViewInfo) lastSegment; 672 if (lastSegment instanceof CanvasViewInfo) { 673 CanvasViewInfo viewInfo = (CanvasViewInfo) lastSegment; 767 protected List<CanvasViewInfo> getSelectedViewInfos() { 768 List<CanvasViewInfo> infos = new ArrayList<CanvasViewInfo>(); [all...] |