Home
last modified time | relevance | path

Searched refs:minGrouping (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DGrouper.java56 short minGrouping = (short) properties.getMinimumGroupingDigits(); in forProperties() local
59 return getInstance(grouping1, grouping2, minGrouping); in forProperties()
62 public static Grouper getInstance(short grouping1, short grouping2, short minGrouping) { in getInstance() argument
65 } else if (grouping1 == 3 && grouping2 == 3 && minGrouping == 1) { in getInstance()
67 } else if (grouping1 == 3 && grouping2 == 2 && minGrouping == 1) { in getInstance()
69 } else if (grouping1 == 3 && grouping2 == 3 && minGrouping == 2) { in getInstance()
71 } else if (grouping1 == 3 && grouping2 == 2 && minGrouping == 2) { in getInstance()
74 return new Grouper(grouping1, grouping2, minGrouping); in getInstance()
113 private final short minGrouping; field in Grouper
115 private Grouper(short grouping1, short grouping2, short minGrouping) { in Grouper() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DGrouper.java58 short minGrouping = (short) properties.getMinimumGroupingDigits(); in forProperties() local
61 return getInstance(grouping1, grouping2, minGrouping); in forProperties()
64 public static Grouper getInstance(short grouping1, short grouping2, short minGrouping) { in getInstance() argument
67 } else if (grouping1 == 3 && grouping2 == 3 && minGrouping == 1) { in getInstance()
69 } else if (grouping1 == 3 && grouping2 == 2 && minGrouping == 1) { in getInstance()
71 } else if (grouping1 == 3 && grouping2 == 3 && minGrouping == 2) { in getInstance()
73 } else if (grouping1 == 3 && grouping2 == 2 && minGrouping == 2) { in getInstance()
76 return new Grouper(grouping1, grouping2, minGrouping); in getInstance()
115 private final short minGrouping; field in Grouper
117 private Grouper(short grouping1, short grouping2, short minGrouping) { in Grouper() argument
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_grouping.cpp61 auto minGrouping = static_cast<int16_t>(properties.minimumGroupingDigits); in forProperties() local
64 return {grouping1, grouping2, minGrouping, UNUM_GROUPING_COUNT}; in forProperties()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1277 …Grouper(int16_t grouping1, int16_t grouping2, int16_t minGrouping, UNumberGroupingStrategy strateg… in Grouper() argument
1280 fMinGrouping(minGrouping), in Grouper()