Lines Matching refs:weight
194 final double weight = matchWeight.value * languageList.getWeight(language) - penalty;
195 if (weight > bestWeight) {
196 bestWeight = weight;
250 * @return best matching language code and weight (as per
273 final double weight = match * matchedWeight;
274 if (weight > bestWeight) {
275 bestWeight = weight;
277 if (weight > 0.999d) { // bail on good enough match.
287 outputWeight.value = bestWeight; // only return the weight when needed
301 private void add(ULocale language, Double weight) {
303 R3<ULocale, ULocale, Double> row = Row.of(language, addLikelySubtags(language), weight);