Lines Matching refs:m1
739 public int compare(Match m1, Match m2) {
741 int parent1 = m1.edge.node == layout ? -1 : 1;
746 if (m1.edge.edgeType == CENTER_HORIZONTAL
747 || m1.edge.edgeType == CENTER_VERTICAL) {
759 if (m1.edge.edgeType.isHorizontal()) {
760 int cycle1 = mHorizontalDeps.contains(m1.edge.node) ? 1 : -1;
766 int cycle1 = mVerticalDeps.contains(m1.edge.node) ? 1 : -1;
777 if (m1.edge.to <= m1.with.from) {
778 distance1 = m1.with.from - m1.edge.to;
779 } else if (m1.edge.from >= m1.with.to) {
780 distance1 = m1.edge.from - m1.with.to;
799 int baseline1 = (m1.edge.edgeType == BASELINE) ? -1 : 1;
806 int orientation1 = (m1.with.edgeType == LEFT ||
807 m1.with.edgeType == TOP) ? -1 : 1;
821 int edgeType1 = (m1.edge.edgeType != m1.with.edgeType) ? -1 : 1;