Home
last modified time | relevance | path

Searched refs:hEdge (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DResizeHandler.java130 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) { in snapHorizontal() argument
132 if (hEdge.edgeType == TOP) { in snapHorizontal()
140 } else if (hEdge.edgeType == BOTTOM) { in snapHorizontal()
148 assert false : hEdge; in snapHorizontal()
188 Segment hEdge = null; in updateResize() local
196 hEdge = new Segment(b.y, b.x, b.x2(), child, childId, mHorizontalEdgeType, NO_MARGIN); in updateResize()
198 hEdge = new Segment(b.y2(), b.x, b.x2(), child, childId, mHorizontalEdgeType, in updateResize()
214 if (hEdge != null && mHorizontalEdges.size() > 0) { in updateResize()
216 mHorizontalSuggestions = findClosest(hEdge, mHorizontalEdges); in updateResize()
225 snapHorizontal(hEdge, match.edge.at, newBounds); in updateResize()
[all …]
DMoveHandler.java139 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) { in snapHorizontal() argument
141 if (hEdge.edgeType == TOP) { in snapHorizontal()
148 } else if (hEdge.edgeType == BOTTOM) { in snapHorizontal()
155 } else if (hEdge.edgeType == CENTER_HORIZONTAL) { in snapHorizontal()
163 } else if (hEdge.edgeType == BASELINE) { in snapHorizontal()
166 assert false : hEdge; in snapHorizontal()
DGuidelineHandler.java391 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) { in snapHorizontal() argument