Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java123 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()
447 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasuresInternal()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java123 private final transient FormatWidth formatWidth; field in MeasureFormat
221 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance() argument
222 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale)); in getInstance()
234 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() argument
235 return getInstance(ULocale.forLocale(locale), formatWidth); in getInstance()
251 FormatWidth formatWidth, in getInstance() argument
253 return new MeasureFormat(locale, formatWidth, format, null, null); in getInstance()
269 FormatWidth formatWidth, in getInstance() argument
271 return getInstance(ULocale.forLocale(locale), formatWidth, format); in getInstance()
428 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasuresInternal()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalFormatProperties.java96 private transient int formatWidth; field in DecimalFormatProperties
169 formatWidth = -1; in _clear()
216 formatWidth = other.formatWidth; in _copyFrom()
264 eq = eq && _equalsHelper(formatWidth, other.formatWidth); in _equals()
328 hashCode ^= _hashCodeHelper(formatWidth); in _hashCode()
456 return formatWidth; in getFormatWidth()
812 this.formatWidth = paddingWidth; in setFormatWidth()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalFormatProperties.java101 private transient int formatWidth; field in DecimalFormatProperties
174 formatWidth = -1; in _clear()
221 formatWidth = other.formatWidth; in _copyFrom()
269 eq = eq && _equalsHelper(formatWidth, other.formatWidth); in _equals()
333 hashCode ^= _hashCodeHelper(formatWidth); in _hashCode()
461 return formatWidth; in getFormatWidth()
817 this.formatWidth = paddingWidth; in setFormatWidth()
/external/cronet/third_party/icu/source/i18n/
Dnumber_decimfmtprops.cpp45 formatWidth = -1; in clear()
94 eq = eq && formatWidth == other.formatWidth; in _equals()
Dnumber_decimfmtprops.h110 int32_t formatWidth; member
Dnumber_padding.cpp59 …return {padCp, properties.formatWidth, properties.padPosition.getOrDefault(UNUM_PAD_BEFORE_PREFIX)… in forProperties()
Dnumber_patternstring.cpp646 properties.formatWidth = paddingWidth; in patternInfoToProperties()
661 properties.formatWidth = -1; in patternInfoToProperties()
724 int32_t paddingWidth = uprv_min(properties.formatWidth, dosMax); in propertiesToPatternString()
Ddecimfmt.cpp1065 return DecimalFormatProperties::getDefault().formatWidth; in getFormatWidth()
1067 return fields->properties.formatWidth; in getFormatWidth()
1072 if (width == fields->properties.formatWidth) { return; } in setFormatWidth()
1073 fields->properties.formatWidth = width; in setFormatWidth()
/external/icu/icu4c/source/i18n/
Dnumber_decimfmtprops.cpp45 formatWidth = -1; in clear()
94 eq = eq && formatWidth == other.formatWidth; in _equals()
Dnumber_decimfmtprops.h110 int32_t formatWidth; member
Dnumber_padding.cpp59 …return {padCp, properties.formatWidth, properties.padPosition.getOrDefault(UNUM_PAD_BEFORE_PREFIX)… in forProperties()
Dnumber_patternstring.cpp646 properties.formatWidth = paddingWidth; in patternInfoToProperties()
661 properties.formatWidth = -1; in patternInfoToProperties()
724 int32_t paddingWidth = uprv_min(properties.formatWidth, dosMax); in propertiesToPatternString()
Ddecimfmt.cpp1065 return DecimalFormatProperties::getDefault().formatWidth; in getFormatWidth()
1067 return fields->properties.formatWidth; in getFormatWidth()
1072 if (width == fields->properties.formatWidth) { return; } in setFormatWidth()
1073 fields->properties.formatWidth = width; in setFormatWidth()
Dnumber_mapper.cpp174 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()
/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()
/external/icu/libicu/cts_headers/
Dnumber_decimfmtprops.h110 int32_t formatWidth; member
/external/cronet/third_party/icu/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/intltest/
Dnumberformattesttuple.h106 int32_t formatWidth; variable
Dnumberformattesttuple.cpp313 FIELD_INIT(formatWidth, &gIntOps),

12