Home
last modified time | relevance | path

Searched refs:inputFieldWidth (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp614 int32_t inputFieldWidth = inputSkeletonFieldWidth[i]; in getBestSkeleton() local
616 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
619 if ( inputFieldWidth == 0 ) { in getBestSkeleton()
625 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
629 distance += (inputFieldWidth > fieldWidth) ? in getBestSkeleton()
630 (inputFieldWidth - fieldWidth) : in getBestSkeleton()
631 (fieldWidth - inputFieldWidth); in getBestSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java1087 int inputFieldWidth = inputSkeletonFieldWidth[i]; in getBestSkeleton() local
1089 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1092 if ( inputFieldWidth == 0 ) { in getBestSkeleton()
1098 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1102 distance += Math.abs(inputFieldWidth - fieldWidth); in getBestSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java1109 int inputFieldWidth = inputSkeletonFieldWidth[i]; in getBestSkeleton() local
1111 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1114 if ( inputFieldWidth == 0 ) { in getBestSkeleton()
1120 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1124 distance += Math.abs(inputFieldWidth - fieldWidth); in getBestSkeleton()