Home
last modified time | relevance | path

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

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/
DXLocaleMatcher.java32 private final int thresholdDistance; field in XLocaleMatcher
45 private int thresholdDistance = -1; field in XLocaleMatcher.Builder
75 public Builder setThresholdDistance(int thresholdDistance) { in setThresholdDistance() argument
76 this.thresholdDistance = thresholdDistance; in setThresholdDistance()
168 thresholdDistance = in XLocaleMatcher()
169 builder.thresholdDistance < 0 in XLocaleMatcher()
171 : builder.thresholdDistance; in XLocaleMatcher()
328 thresholdDistance,
341 if (bestDistance >= thresholdDistance) {
400 thresholdDistance,
[all …]
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/util/
DLocaleMatcher.java337 private final int thresholdDistance; field in LocaleMatcher
363 private int thresholdDistance = -1; field in LocaleMatcher.Builder
599 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument
600 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 …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java318 private final int thresholdDistance; field in LocaleMatcher
344 private int thresholdDistance = -1; field in LocaleMatcher.Builder
566 public Builder internalSetThresholdDistance(int thresholdDistance) { in internalSetThresholdDistance() argument
567 if (thresholdDistance > 100) { in internalSetThresholdDistance()
568 thresholdDistance = 100; in internalSetThresholdDistance()
570 this.thresholdDistance = thresholdDistance; in internalSetThresholdDistance()
599 if (thresholdDistance >= 0) { in toString()
600 s.append(String.format(" threshold=%d", thresholdDistance)); in toString()
729 if (builder.thresholdDistance >= 0) { in LocaleMatcher()
730 threshold = builder.thresholdDistance; in LocaleMatcher()
[all …]
/external/cronet/tot/third_party/icu/source/common/
Dlocalematcher.cpp279 …Matcher::Builder &LocaleMatcher::Builder::internalSetThresholdDistance(int32_t thresholdDistance) {
281 if (thresholdDistance > 100) {
282 thresholdDistance = 100;
284 thresholdDistance_ = thresholdDistance;
343 thresholdDistance(builder.thresholdDistance_), in LocaleMatcher()
466 if (thresholdDistance >= 0) { in LocaleMatcher()
477 thresholdDistance = LocaleDistance::getDistanceFloor(indexAndDistance) + 1; in LocaleMatcher()
479 thresholdDistance = 0; in LocaleMatcher()
482 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
489 thresholdDistance(src.thresholdDistance), in LocaleMatcher()
[all …]
/external/cronet/stable/third_party/icu/source/common/
Dlocalematcher.cpp279 …Matcher::Builder &LocaleMatcher::Builder::internalSetThresholdDistance(int32_t thresholdDistance) {
281 if (thresholdDistance > 100) {
282 thresholdDistance = 100;
284 thresholdDistance_ = thresholdDistance;
343 thresholdDistance(builder.thresholdDistance_), in LocaleMatcher()
466 if (thresholdDistance >= 0) { in LocaleMatcher()
477 thresholdDistance = LocaleDistance::getDistanceFloor(indexAndDistance) + 1; in LocaleMatcher()
479 thresholdDistance = 0; in LocaleMatcher()
482 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
489 thresholdDistance(src.thresholdDistance), in LocaleMatcher()
[all …]
/external/icu/icu4c/source/common/
Dlocalematcher.cpp281 …Matcher::Builder &LocaleMatcher::Builder::internalSetThresholdDistance(int32_t thresholdDistance) {
283 if (thresholdDistance > 100) {
284 thresholdDistance = 100;
286 thresholdDistance_ = thresholdDistance;
345 thresholdDistance(builder.thresholdDistance_), in LocaleMatcher()
468 if (thresholdDistance >= 0) { in LocaleMatcher()
479 thresholdDistance = LocaleDistance::getDistanceFloor(indexAndDistance) + 1; in LocaleMatcher()
481 thresholdDistance = 0; in LocaleMatcher()
484 thresholdDistance = localeDistance.getDefaultScriptDistance(); in LocaleMatcher()
491 thresholdDistance(src.thresholdDistance), in LocaleMatcher()
[all …]
/external/icu/icu4c/source/common/unicode/
Dlocalematcher.h687 int32_t thresholdDistance; variable
/external/cronet/tot/third_party/icu/source/common/unicode/
Dlocalematcher.h685 int32_t thresholdDistance; variable
/external/icu/libicu/cts_headers/unicode/
Dlocalematcher.h687 int32_t thresholdDistance; variable
/external/cronet/stable/third_party/icu/source/common/unicode/
Dlocalematcher.h685 int32_t thresholdDistance; variable