Searched refs:thresholdDistance (Results 1 – 5 of 5) sorted by relevance
32 private final int thresholdDistance; field in XLocaleMatcher44 private int thresholdDistance = -1; field in XLocaleMatcher.Builder73 public Builder setThresholdDistance(int thresholdDistance) { in setThresholdDistance() argument74 this.thresholdDistance = thresholdDistance; in setThresholdDistance()156 … thresholdDistance = builder.thresholdDistance < 0 ? localeDistance.getDefaultScriptDistance() in XLocaleMatcher()157 : builder.thresholdDistance; in XLocaleMatcher()291 thresholdDistance, distanceOption);303 if (bestDistance >= thresholdDistance) {354 thresholdDistance, distanceOption);364 if (bestDistance >= thresholdDistance) {[all …]
309 private final int thresholdDistance; field in LocaleMatcher335 private int thresholdDistance = -1; field in LocaleMatcher.Builder476 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument477 if (thresholdDistance > 100) { in internalSetThresholdDistance()478 thresholdDistance = 100; in internalSetThresholdDistance()480 this.thresholdDistance = thresholdDistance; in internalSetThresholdDistance()511 if (thresholdDistance >= 0) { in toString()512 s.append(String.format(" threshold=%d", thresholdDistance)); in toString()555 thresholdDistance = builder.thresholdDistance < 0 ? in LocaleMatcher()556 LocaleDistance.INSTANCE.getDefaultScriptDistance() : builder.thresholdDistance; in LocaleMatcher()[all …]
320 private final int thresholdDistance; field in LocaleMatcher346 private int thresholdDistance = -1; field in LocaleMatcher.Builder496 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument497 if (thresholdDistance > 100) { in internalSetThresholdDistance()498 thresholdDistance = 100; in internalSetThresholdDistance()500 this.thresholdDistance = thresholdDistance; in internalSetThresholdDistance()533 if (thresholdDistance >= 0) { in toString()534 s.append(String.format(" threshold=%d", thresholdDistance)); in toString()580 thresholdDistance = builder.thresholdDistance < 0 ? in LocaleMatcher()581 LocaleDistance.INSTANCE.getDefaultScriptDistance() : builder.thresholdDistance; in LocaleMatcher()[all …]
265 …Matcher::Builder &LocaleMatcher::Builder::internalSetThresholdDistance(int32_t thresholdDistance) {267 if (thresholdDistance > 100) {268 thresholdDistance = 100;270 thresholdDistance_ = thresholdDistance;328 thresholdDistance(builder.thresholdDistance_), in LocaleMatcher()336 if (thresholdDistance < 0) { in LocaleMatcher()337 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()485 thresholdDistance(src.thresholdDistance), in LocaleMatcher()523 thresholdDistance = src.thresholdDistance; in operator =()665 for (int32_t bestDistance = thresholdDistance;;) { in getBestSuppIndex()[all …]
581 int32_t thresholdDistance; variable