Searched refs:sum (Results 1 – 3 of 3) sorted by relevance
230 double sum = -1.0; in distributeWeights() local234 sum = Double.parseDouble(weightSum); in distributeWeights()241 if (sum <= 0.0) { in distributeWeights()246 share = sum / numTargets; in distributeWeights()912 float sum = getWeightSum(layout);913 if (sum <= 0.0f) {914 sum = 1.0f;915 resizeState.setWeightSum(sum);963 float weight = missing * sum / remaining;1070 float sum = -1.0f;[all …]
360 float sum = 0; in getWeightSum() local362 sum += getWeight(child); in getWeightSum()365 return sum; in getWeightSum()
316 android:weightSum : Defines the maximum weight sum. [float]