Lines Matching refs:weight
41 float weight;
49 weight(1),
59 weight(1),
69 weight = info.weight;
164 SimpleLayouter::SetWeight(int32 element, float weight)
171 fElements[element].weight = weight;
259 info->weight = weights[i];
267 int64 weight = 0;
271 weight += info->tempWeight;
273 sumSize = (int32)(size * weight / sumWeight);
288 // sum up the floating point weight, so we get a scale
292 scale += info->weight;
295 int64 weight = 0;
298 // The weight sum is 0: We assign each info a temporary weight of 1.
302 weight += info->tempWeight;
315 info->tempWeight = (int64)(info->weight * scale);
316 weight += info->tempWeight;
320 return weight;
380 // int64 weight = 0;
383 // weight += infos[i].tempWeight;
385 // sumSize = (int)(additionalSpace * weight / sumWeight);
425 // I.e. we simply assign space according to the weight. To avoid the