Home
last modified time | relevance | path

Searched refs:formatWidth (Results 1 – 24 of 24) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java122 private final transient FormatWidth formatWidth; field in MeasureFormat
232 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance() argument
233 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale)); in getInstance()
246 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() argument
247 return getInstance(ULocale.forLocale(locale), formatWidth); in getInstance()
264 FormatWidth formatWidth, in getInstance() argument
266 return new MeasureFormat(locale, formatWidth, format, null, null); in getInstance()
283 FormatWidth formatWidth, in getInstance() argument
285 return getInstance(ULocale.forLocale(locale), formatWidth, format); in getInstance()
448 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasuresInternal()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java116 private final transient FormatWidth formatWidth; field in MeasureFormat
215 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance() argument
216 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale)); in getInstance()
228 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() argument
229 return getInstance(ULocale.forLocale(locale), formatWidth); in getInstance()
245 FormatWidth formatWidth, in getInstance() argument
247 return new MeasureFormat(locale, formatWidth, format, null, null); in getInstance()
263 FormatWidth formatWidth, in getInstance() argument
265 return getInstance(ULocale.forLocale(locale), formatWidth, format); in getInstance()
422 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasuresInternal()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalFormatProperties.java95 private transient int formatWidth; field in DecimalFormatProperties
167 formatWidth = -1; in _clear()
213 formatWidth = other.formatWidth; in _copyFrom()
260 eq = eq && _equalsHelper(formatWidth, other.formatWidth); in _equals()
323 hashCode ^= _hashCodeHelper(formatWidth); in _hashCode()
447 return formatWidth; in getFormatWidth()
791 this.formatWidth = paddingWidth; in setFormatWidth()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalFormatProperties.java100 private transient int formatWidth; field in DecimalFormatProperties
172 formatWidth = -1; in _clear()
218 formatWidth = other.formatWidth; in _copyFrom()
265 eq = eq && _equalsHelper(formatWidth, other.formatWidth); in _equals()
328 hashCode ^= _hashCodeHelper(formatWidth); in _hashCode()
452 return formatWidth; in getFormatWidth()
796 this.formatWidth = paddingWidth; in setFormatWidth()
/external/icu/icu4c/source/i18n/
Dnumber_decimfmtprops.cpp44 formatWidth = -1; in clear()
92 eq = eq && formatWidth == other.formatWidth; in _equals()
Dnumber_decimfmtprops.h109 int32_t formatWidth; member
Dnumber_padding.cpp59 …return {padCp, properties.formatWidth, properties.padPosition.getOrDefault(UNUM_PAD_BEFORE_PREFIX)… in forProperties()
Dnumber_patternstring.cpp598 properties.formatWidth = paddingWidth; in patternInfoToProperties()
613 properties.formatWidth = -1; in patternInfoToProperties()
676 int32_t paddingWidth = uprv_min(properties.formatWidth, dosMax); in propertiesToPatternString()
Ddecimfmt.cpp1061 return DecimalFormatProperties::getDefault().formatWidth; in getFormatWidth()
1063 return fields->properties.formatWidth; in getFormatWidth()
1068 if (width == fields->properties.formatWidth) { return; } in setFormatWidth()
1069 fields->properties.formatWidth = width; in setFormatWidth()
Dnumber_mapper.cpp173 if (properties.formatWidth > 0) { in oldToNew()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatDataDrivenTest.java227 if (tuple.formatWidth != null) {
228 fmt.setFormatWidth(tuple.formatWidth);
400 if (tuple.formatWidth != null) {
507 if (tuple.formatWidth != null) { in propertiesFromTuple()
508 properties.setFormatWidth(tuple.formatWidth); in propertiesFromTuple()
DDataDrivenNumberFormatTestData.java99 public Integer formatWidth = null; field in DataDrivenNumberFormatTestData
327 formatWidth = Integer.valueOf(value); in setFormatWidth()
DMeasureUnitTest.java2396 FormatWidth formatWidth = (FormatWidth) row[0]; in testSimplePer() local
2404 ULocale.ENGLISH, formatWidth); in testSimplePer()
2521 FormatWidth formatWidth = (FormatWidth) test[2]; in testDisplayNames() local
2524 MeasureFormat mf = MeasureFormat.getInstance(locale, formatWidth); in testDisplayNames()
2526 … assertEquals(String.format("Unit Display Name for %s, %s, %s", unit, locale, formatWidth), in testDisplayNames()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatDataDrivenTest.java224 if (tuple.formatWidth != null) {
225 fmt.setFormatWidth(tuple.formatWidth);
397 if (tuple.formatWidth != null) {
504 if (tuple.formatWidth != null) { in propertiesFromTuple()
505 properties.setFormatWidth(tuple.formatWidth); in propertiesFromTuple()
DDataDrivenNumberFormatTestData.java96 public Integer formatWidth = null; field in DataDrivenNumberFormatTestData
324 formatWidth = Integer.valueOf(value); in setFormatWidth()
DMeasureUnitTest.java2393 FormatWidth formatWidth = (FormatWidth) row[0]; in testSimplePer() local
2401 ULocale.ENGLISH, formatWidth); in testSimplePer()
2518 FormatWidth formatWidth = (FormatWidth) test[2]; in testDisplayNames() local
2521 MeasureFormat mf = MeasureFormat.getInstance(locale, formatWidth); in testDisplayNames()
2523 … assertEquals(String.format("Unit Display Name for %s, %s, %s", unit, locale, formatWidth), in testDisplayNames()
/external/icu/libicu/cts_headers/
Dnumber_decimfmtprops.h109 int32_t formatWidth; member
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.h106 int32_t formatWidth; variable
Dnumberformattesttuple.cpp313 FIELD_INIT(formatWidth, &gIntOps),
Dnumfmtdatadriventest.cpp114 fmt.setFormatWidth(tuple.formatWidth); in adjustDecimalFormat()
/external/icu/icu4c/source/test/testdata/
Dnumberformattestspecification.txt550 padCharacter formatWidth output breaks
701 set formatWidth 8
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/
Dnumberformattestspecification.txt550 padCharacter formatWidth output breaks
701 set formatWidth 8
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberformattestspecification.txt550 padCharacter formatWidth output breaks
701 set formatWidth 8
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...