Home
last modified time | relevance | path

Searched refs:edge (Results 1 – 12 of 12) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DMatch.java32 public final Segment edge; field in Match
55 public Match(GuidelineHandler handler, Segment edge, Segment with, in Match() argument
59 this.edge = edge; in Match()
75 String id = edge.id; in getConstraint()
84 id = edge.node.getStringAttr(ANDROID_URI, ATTR_ID); in getConstraint()
86 id = mHandler.getRulesEngine().getUniqueId(edge.node.getFqcn()); in getConstraint()
87 edge.node.setAttribute(ANDROID_URI, ATTR_ID, id); in getConstraint()
97 return "Match [type=" + type + ", delta=" + delta + ", edge=" + edge in toString()
DMoveHandler.java210 Segment edge = new Segment(b.y, b.x, b.x2(), null, null, TOP, NO_MARGIN); in updateMove() local
211 List<Match> horizontalMatches = findClosest(edge, mHorizontalEdges); in updateMove()
212 edge = new Segment(b.y2(), b.x, b.x2(), null, null, BOTTOM, NO_MARGIN); in updateMove()
213 addClosest(edge, mHorizontalEdges, horizontalMatches); in updateMove()
215 edge = new Segment(b.x, b.y, b.y2(), null, null, LEFT, NO_MARGIN); in updateMove()
216 List<Match> verticalMatches = findClosest(edge, mVerticalEdges); in updateMove()
217 edge = new Segment(b.x2(), b.y, b.y2(), null, null, RIGHT, NO_MARGIN); in updateMove()
218 addClosest(edge, mVerticalEdges, verticalMatches); in updateMove()
221 edge = new Segment(b.centerX(), b.y, b.y2(), null, null, CENTER_VERTICAL, NO_MARGIN); in updateMove()
222 addClosest(edge, mCenterVertEdges, verticalMatches); in updateMove()
[all …]
DGuidelineHandler.java274 INode from = match.edge.node; in checkCycle()
285 match.type.name, match.edge.id); in checkCycle()
404 protected boolean isEdgeTypeCompatible(SegmentType edge, SegmentType dragged, int delta) { in isEdgeTypeCompatible() argument
418 switch (edge) { in isEdgeTypeCompatible()
431 return dragged == edge && Math.abs(delta) < getMaxMatchDistance(); in isEdgeTypeCompatible()
432 default: assert false : edge; in isEdgeTypeCompatible()
452 for (Segment edge : edges) { in addClosest()
453 assert draggedEdge.edgeType.isHorizontal() == edge.edgeType.isHorizontal(); in addClosest()
455 int delta = edge.at - at; in addClosest()
461 if (!isEdgeTypeCompatible(edge.edgeType, draggedEdge.edgeType, delta)) { in addClosest()
[all …]
DResizeHandler.java153 protected boolean isEdgeTypeCompatible(SegmentType edge, SegmentType dragged, int delta) { in isEdgeTypeCompatible() argument
154 boolean compatible = super.isEdgeTypeCompatible(edge, dragged, delta); in isEdgeTypeCompatible()
221 if (mHorizontalDeps.contains(match.edge.node)) { in updateResize()
225 snapHorizontal(hEdge, match.edge.at, newBounds); in updateResize()
245 if (mVerticalDeps.contains(match.edge.node)) { in updateResize()
250 snapVertical(vEdge, match.edge.at, newBounds); in updateResize()
DConstraintPainter.java69 Rect targetBounds = match.edge.node.getBounds(); in paintConstraint()
72 paintConstraint(graphics, type, match.with.node, sourceBounds, match.edge.node, in paintConstraint()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion12-expected-completion75.txt10 android:paddingLeft : Sets the padding, in pixels, of the left edge; see padding. [dimension]
11 android:paddingTop : Sets the padding, in pixels, of the top edge; see padding. [dimension]
12 android:paddingRight : Sets the padding, in pixels, of the right edge; see padding. [dimension]
13 android:paddingBottom : Sets the padding, in pixels, of the bottom edge; see padding. [dimension]
14 android:paddingStart : Sets the padding, in pixels, of the start edge; see padding. [dimension]
15 android:paddingEnd : Sets the padding, in pixels, of the end edge; see padding. [dimension]
71 android:layout_toLeftOf : Positions the right edge of this view to the left of the given anchor vi…
72 android:layout_toRightOf : Positions the left edge of this view to the right of the given anchor v…
73 android:layout_above : Positions the bottom edge of this view above the given anchor view ID. [re…
74 android:layout_below : Positions the top edge of this view below the given anchor view ID. [refer…
[all …]
Dcompletion5-expected-completion40.txt85 android:paddingLeft : Sets the padding, in pixels, of the left edge; see padding. [dimension]
86 android:paddingTop : Sets the padding, in pixels, of the top edge; see padding. [dimension]
87 android:paddingRight : Sets the padding, in pixels, of the right edge; see padding. [dimension]
88 android:paddingBottom : Sets the padding, in pixels, of the bottom edge; see padding. [dimension]
89 android:paddingStart : Sets the padding, in pixels, of the start edge; see padding. [dimension]
90 android:paddingEnd : Sets the padding, in pixels, of the end edge; see padding. [dimension]
Dcompletion1-expected-completion39.txt85 android:paddingLeft : Sets the padding, in pixels, of the left edge; see padding. [dimension]
86 android:paddingTop : Sets the padding, in pixels, of the top edge; see padding. [dimension]
87 android:paddingRight : Sets the padding, in pixels, of the right edge; see padding. [dimension]
88 android:paddingBottom : Sets the padding, in pixels, of the bottom edge; see padding. [dimension]
89 android:paddingStart : Sets the padding, in pixels, of the start edge; see padding. [dimension]
90 android:paddingEnd : Sets the padding, in pixels, of the end edge; see padding. [dimension]
Dcompletionvalues1-expected-completion32.txt20 …ottom : If true, the image view will be baseline aligned with based on its bottom edge. [boolean]
191 android:paddingBottom : Sets the padding, in pixels, of the bottom edge; see padding. [dimension]
192 android:paddingEnd : Sets the padding, in pixels, of the end edge; see padding. [dimension]
193 android:paddingLeft : Sets the padding, in pixels, of the left edge; see padding. [dimension]
194 android:paddingRight : Sets the padding, in pixels, of the right edge; see padding. [dimension]
195 android:paddingStart : Sets the padding, in pixels, of the start edge; see padding. [dimension]
196 android:paddingTop : Sets the padding, in pixels, of the top edge; see padding. [dimension]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewHierarchyLoader.java104 final String edge = parent.name + lastNode.name; in loadScene() local
105 scene.addEdge(edge); in loadScene()
106 scene.setEdgeSource(edge, parent); in loadScene()
107 scene.setEdgeTarget(edge, lastNode); in loadScene()
DViewHierarchyScene.java120 protected Widget attachEdgeWidget(String edge) { in attachEdgeWidget() argument
127 … protected void attachEdgeSourceAnchor(String edge, ViewNode oldSourceNode, ViewNode sourceNode) { in attachEdgeSourceAnchor() argument
128 final ConnectionWidget connection = (ConnectionWidget) findWidget(edge); in attachEdgeSourceAnchor()
136 … protected void attachEdgeTargetAnchor(String edge, ViewNode oldTargetNode, ViewNode targetNode) { in attachEdgeTargetAnchor() argument
137 final ConnectionWidget connection = (ConnectionWidget) findWidget(edge); in attachEdgeTargetAnchor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java1460 void record(Map<Integer, List<View>> map, Integer edge, View info) { in record() argument
1461 List<View> list = map.get(edge); in record()
1464 map.put(edge, list); in record()