Lines Matching refs:Strength
101 function Strength(strengthValue, name) { class
106 Strength.stronger = function (s1, s2) {
110 Strength.weaker = function (s1, s2) {
114 Strength.weakestOf = function (s1, s2) {
118 Strength.strongest = function (s1, s2) {
122 Strength.prototype.nextWeaker = function () {
124 case 0: return Strength.STRONG_PREFERRED;
125 case 1: return Strength.PREFERRED;
126 case 2: return Strength.STRONG_DEFAULT;
127 case 3: return Strength.NORMAL;
128 case 4: return Strength.WEAK_DEFAULT;
129 case 5: return Strength.WEAKEST;
134 Strength.REQUIRED = new Strength(0, "required");
135 Strength.STRONG_PREFERRED = new Strength(1, "strongPreferred");
136 Strength.PREFERRED = new Strength(2, "preferred");
137 Strength.STRONG_DEFAULT = new Strength(3, "strongDefault");
138 Strength.NORMAL = new Strength(4, "normal");
139 Strength.WEAK_DEFAULT = new Strength(5, "weakDefault");
140 Strength.WEAKEST = new Strength(6, "weakest");
175 if (this.strength == Strength.REQUIRED)
235 && Strength.stronger(this.strength, this.myOutput.walkStrength);
358 … this.direction = (this.v2.mark != mark && Strength.stronger(this.strength, this.v2.walkStrength))
363 … this.direction = (this.v1.mark != mark && Strength.stronger(this.strength, this.v1.walkStrength))
367 if (Strength.weaker(this.v1.walkStrength, this.v2.walkStrength)) {
368 this.direction = Strength.stronger(this.strength, this.v1.walkStrength)
372 this.direction = Strength.stronger(this.strength, this.v2.walkStrength)
422 out.walkStrength = Strength.weakestOf(this.strength, ihn.walkStrength);
502 out.walkStrength = Strength.weakestOf(this.strength, ihn.walkStrength);
542 this.walkStrength = Strength.WEAKEST;
611 var strength = Strength.REQUIRED;
619 } while (strength != Strength.WEAKEST);
714 out.walkStrength = Strength.WEAKEST;
806 new EqualityConstraint(prev, v, Strength.REQUIRED);
812 new StayConstraint(last, Strength.STRONG_DEFAULT);
813 var edit = new EditConstraint(first, Strength.PREFERRED);
842 new StayConstraint(src, Strength.NORMAL);
843 new ScaleConstraint(src, scale, offset, dst, Strength.REQUIRED);
863 var edit = new EditConstraint(v, Strength.PREFERRED);