Lines Matching refs:constraint
66 import com.android.ide.common.layout.relative.DependencyGraph.Constraint;
78 * like move and resize, and performs various constraint computations.
82 * A dependency graph for the relative layout recording constraint relationships
115 * transitively, through horizontal constraints (a "horizontal constraint"
116 * is a constraint between two horizontal edges)
122 * transitively, through vertical constraints (a "vertical constraint"
123 * is a constraint between two vertical edges)
128 protected List<Constraint> mHorizontalCycle;
131 protected List<Constraint> mVerticalCycle;
277 List<Constraint> path = mDependencyGraph.getPathTo(from, to, vertical);
284 String desc = Constraint.describePath(path,
287 feedback.errorMessage = "Constraint creates a cycle: " + desc;
473 // constraint can only apply to the margin bounds and a "bottom"
474 // constraint can only apply to the non-margin bounds.
598 private void applyConstraint(INode n, String constraint) {
599 assert constraint.contains("=") : constraint;
600 String name = constraint.substring(0, constraint.indexOf('='));
601 String value = constraint.substring(constraint.indexOf('=') + 1);
681 for (Constraint constraint : view.dependedOnBy) {
685 constraint.from.node.setAttribute(ANDROID_URI, constraint.type.name, null);