Home
last modified time | relevance | path

Searched refs:thresholdDistance (Results 1 – 5 of 5) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/draft/
DXLocaleMatcher.java32 private final int thresholdDistance; field in XLocaleMatcher
44 private int thresholdDistance = -1; field in XLocaleMatcher.Builder
73 public Builder setThresholdDistance(int thresholdDistance) { in setThresholdDistance() argument
74 this.thresholdDistance = thresholdDistance; in setThresholdDistance()
156thresholdDistance = 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 …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java309 private final int thresholdDistance; field in LocaleMatcher
335 private int thresholdDistance = -1; field in LocaleMatcher.Builder
476 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument
477 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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java320 private final int thresholdDistance; field in LocaleMatcher
346 private int thresholdDistance = -1; field in LocaleMatcher.Builder
496 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument
497 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 …]
/external/icu/icu4c/source/common/
Dlocalematcher.cpp265 …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 …]
/external/icu/icu4c/source/common/unicode/
Dlocalematcher.h581 int32_t thresholdDistance; variable