Searched refs:thresholdDistance (Results 1 – 8 of 8) sorted by relevance
337 private final int thresholdDistance; field in LocaleMatcher363 private int thresholdDistance = -1; field in LocaleMatcher.Builder599 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument600 if (thresholdDistance > 100) { in internalSetThresholdDistance()601 thresholdDistance = 100; in internalSetThresholdDistance()603 this.thresholdDistance = thresholdDistance; in internalSetThresholdDistance()634 if (thresholdDistance >= 0) { in toString()635 s.append(String.format(" threshold=%d", thresholdDistance)); in toString()767 if (builder.thresholdDistance >= 0) { in LocaleMatcher()768 threshold = builder.thresholdDistance; in LocaleMatcher()[all …]
342 private final int thresholdDistance; field in LocaleMatcher369 private int thresholdDistance = -1; field in LocaleMatcher.Builder524 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument525 if (thresholdDistance > 100) { in internalSetThresholdDistance()526 thresholdDistance = 100; in internalSetThresholdDistance()528 this.thresholdDistance = thresholdDistance; in internalSetThresholdDistance()559 if (thresholdDistance >= 0) { in toString()560 s.append(String.format(" threshold=%d", thresholdDistance)); in toString()603 thresholdDistance = builder.thresholdDistance < 0 ? in LocaleMatcher()604 LocaleDistance.INSTANCE.getDefaultScriptDistance() : builder.thresholdDistance; in LocaleMatcher()[all …]
297 …Matcher::Builder &LocaleMatcher::Builder::internalSetThresholdDistance(int32_t thresholdDistance) {299 if (thresholdDistance > 100) {300 thresholdDistance = 100;302 thresholdDistance_ = thresholdDistance;361 thresholdDistance(builder.thresholdDistance_), in LocaleMatcher()484 if (thresholdDistance >= 0) { in LocaleMatcher()495 thresholdDistance = LocaleDistance::getDistanceFloor(indexAndDistance) + 1; in LocaleMatcher()497 thresholdDistance = 0; in LocaleMatcher()500 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()507 thresholdDistance(src.thresholdDistance), in LocaleMatcher()[all …]
685 int32_t thresholdDistance; variable
691 int32_t thresholdDistance; variable