Home | History | Annotate | Download | only in relative

Lines Matching defs:constraint

64 import com.android.ide.common.layout.relative.DependencyGraph.Constraint;
76 * like move and resize, and performs various constraint computations.
80 * A dependency graph for the relative layout recording constraint relationships
113 * transitively, through horizontal constraints (a "horizontal constraint"
114 * is a constraint between two horizontal edges)
120 * transitively, through vertical constraints (a "vertical constraint"
121 * is a constraint between two vertical edges)
126 protected List<Constraint> mHorizontalCycle;
129 protected List<Constraint> mVerticalCycle;
275 List<Constraint> path = mDependencyGraph.getPathTo(from, to, vertical);
282 String desc = Constraint.describePath(path,
285 feedback.errorMessage = "Constraint creates a cycle: " + desc;
466 // constraint can only apply to the margin bounds and a "bottom"
467 // constraint can only apply to the non-margin bounds.
591 private void applyConstraint(INode n, String constraint) {
592 assert constraint.contains("=") : constraint;
593 String name = constraint.substring(0, constraint.indexOf('='));
594 String value = constraint.substring(constraint.indexOf('=') + 1);
673 for (Constraint constraint : view.dependedOnBy) {
677 constraint.from.node.setAttribute(ANDROID_URI, constraint.type.name, null);