Home
last modified time | relevance | path

Searched refs:ConstraintType (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDeletionHandler.java25 import static com.android.ide.common.layout.relative.ConstraintType.LAYOUT_CENTER_HORIZONTAL;
26 import static com.android.ide.common.layout.relative.ConstraintType.LAYOUT_CENTER_VERTICAL;
149 ConstraintType type = ConstraintType.fromAttribute(name); in updateConstraints()
160 private void transfer(INode deleted, INode target, ConstraintType targetType, int depth) { in transfer()
171 ConstraintType type = ConstraintType.fromAttribute(name); in transfer()
176 ConstraintType transfer = getCompatibleConstraint(type, targetType); in transfer()
207 private static ConstraintType getCompatibleConstraint( in getCompatibleConstraint()
208 @NonNull ConstraintType first, @NonNull ConstraintType second) { in getCompatibleConstraint()
DConstraintType.java54 enum ConstraintType { enum
83 private ConstraintType(String name, SegmentType sourceSegmentTypeX, in ConstraintType() method in ConstraintType
134 private static Map<String, ConstraintType> sNameToType;
144 public static ConstraintType fromAttribute(@NonNull String attribute) { in fromAttribute()
146 ConstraintType[] types = ConstraintType.values(); in fromAttribute()
147 Map<String, ConstraintType> map = new HashMap<String, ConstraintType>(types.length); in fromAttribute()
148 for (ConstraintType type : types) { in fromAttribute()
176 public static ConstraintType forMatch(boolean withParent, SegmentType from, SegmentType to) { in forMatch()
DMatch.java38 public final ConstraintType type;
56 ConstraintType type, int delta) { in Match()
DConstraintPainter.java29 import static com.android.ide.common.layout.relative.ConstraintType.ALIGN_BASELINE;
30 import static com.android.ide.common.layout.relative.ConstraintType.ALIGN_BOTTOM;
31 import static com.android.ide.common.layout.relative.ConstraintType.LAYOUT_ABOVE;
32 import static com.android.ide.common.layout.relative.ConstraintType.LAYOUT_BELOW;
33 import static com.android.ide.common.layout.relative.ConstraintType.LAYOUT_LEFT_OF;
34 import static com.android.ide.common.layout.relative.ConstraintType.LAYOUT_RIGHT_OF;
70 ConstraintType type = match.type; in paintConstraint()
183 private static void paintConstraint(IGraphics graphics, ConstraintType type, INode sourceNode, in paintConstraint()
277 private static boolean paintCornerConstraint(IGraphics graphics, ConstraintType type, in paintCornerConstraint()
286 ConstraintType opposite1 = null, opposite2 = null; in paintCornerConstraint()
[all …]
DDependencyGraph.java95 ConstraintType type = ConstraintType.fromAttribute(name); in DependencyGraph()
286 public final ConstraintType type;
295 Constraint(ConstraintType type, ViewData from, ViewData to) { in Constraint()
DGuidelineHandler.java52 import static com.android.ide.common.layout.relative.ConstraintType.ALIGN_BASELINE;
466 ConstraintType type = ConstraintType.forMatch(withParent, in addClosest()
616 for (ConstraintType type : ConstraintType.values()) { in removeRelativeParams()