Home | History | Annotate | Download | only in widget

Lines Matching defs:weightSum

538      * weightSum to 1.0.
540 * @param weightSum a number greater than 0.0f, or a number lower than or equals
544 public void setWeightSum(float weightSum) {
545 mWeightSum = Math.max(0.0f, weightSum);
776 float weightSum = mWeightSum > 0.0f ? mWeightSum : totalWeight;
792 int share = (int) (childExtra * delta / weightSum);
793 weightSum -= childExtra;
1159 float weightSum = mWeightSum > 0.0f ? mWeightSum : totalWeight;
1180 int share = (int) (childExtra * delta / weightSum);
1181 weightSum -= childExtra;