/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 118 private final transient FormatWidth formatWidth; field in MeasureFormat 228 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance() argument 229 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale)); in getInstance() 242 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() argument 243 return getInstance(ULocale.forLocale(locale), formatWidth); in getInstance() 260 FormatWidth formatWidth, in getInstance() argument 262 return new MeasureFormat(locale, formatWidth, format, null, null); in getInstance() 279 FormatWidth formatWidth, in getInstance() argument 281 return getInstance(ULocale.forLocale(locale), formatWidth, format); in getInstance() 441 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasuresInternal() [all …]
|
D | DecimalFormat_ICU58_Android.java | 1908 if (formatWidth > 0) { 1909 int len = formatWidth - result.length(); 1999 if (formatWidth > 0 && 2006 if (formatWidth > 0 && (padPosition == PAD_BEFORE_SUFFIX || 2434 if (formatWidth > 0 && padPosition == PAD_BEFORE_PREFIX) { in subparse() 2458 if (formatWidth > 0 && padPosition == PAD_AFTER_PREFIX) { in subparse() 2771 if (formatWidth > 0 && padPosition == PAD_BEFORE_SUFFIX) { in subparse() 2799 if (formatWidth > 0 && padPosition == PAD_AFTER_SUFFIX) { in subparse() 3572 return formatWidth; 3594 formatWidth = width; [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MeasureFormat.java | 112 private final transient FormatWidth formatWidth; field in MeasureFormat 211 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance() argument 212 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale)); in getInstance() 224 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() argument 225 return getInstance(ULocale.forLocale(locale), formatWidth); in getInstance() 241 FormatWidth formatWidth, in getInstance() argument 243 return new MeasureFormat(locale, formatWidth, format, null, null); in getInstance() 259 FormatWidth formatWidth, in getInstance() argument 261 return getInstance(ULocale.forLocale(locale), formatWidth, format); in getInstance() 415 if (formatWidth == FormatWidth.NUMERIC) { in formatMeasuresInternal() [all …]
|
D | DecimalFormat_ICU58_Android.java | 1898 if (formatWidth > 0) { 1899 int len = formatWidth - result.length(); 1987 if (formatWidth > 0 && 1994 if (formatWidth > 0 && (padPosition == PAD_BEFORE_SUFFIX || 2422 if (formatWidth > 0 && padPosition == PAD_BEFORE_PREFIX) { in subparse() 2446 if (formatWidth > 0 && padPosition == PAD_AFTER_PREFIX) { in subparse() 2759 if (formatWidth > 0 && padPosition == PAD_BEFORE_SUFFIX) { in subparse() 2787 if (formatWidth > 0 && padPosition == PAD_AFTER_SUFFIX) { in subparse() 3541 return formatWidth; 3562 formatWidth = width; [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalFormatProperties.java | 93 private transient int formatWidth; field in DecimalFormatProperties 165 formatWidth = -1; in _clear() 211 formatWidth = other.formatWidth; in _copyFrom() 258 eq = eq && _equalsHelper(formatWidth, other.formatWidth); in _equals() 321 hashCode ^= _hashCodeHelper(formatWidth); in _hashCode() 445 return formatWidth; in getFormatWidth() 789 this.formatWidth = paddingWidth; in setFormatWidth()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalFormatProperties.java | 88 private transient int formatWidth; field in DecimalFormatProperties 160 formatWidth = -1; in _clear() 206 formatWidth = other.formatWidth; in _copyFrom() 253 eq = eq && _equalsHelper(formatWidth, other.formatWidth); in _equals() 316 hashCode ^= _hashCodeHelper(formatWidth); in _hashCode() 440 return formatWidth; in getFormatWidth() 784 this.formatWidth = paddingWidth; in setFormatWidth()
|
/external/icu/icu4c/source/i18n/ |
D | number_decimfmtprops.cpp | 43 formatWidth = -1; in clear() 91 eq = eq && formatWidth == other.formatWidth; in _equals()
|
D | number_decimfmtprops.h | 104 int32_t formatWidth; member
|
D | number_padding.cpp | 59 …return {padCp, properties.formatWidth, properties.padPosition.getOrDefault(UNUM_PAD_BEFORE_PREFIX)… in forProperties()
|
D | number_patternstring.cpp | 597 properties.formatWidth = paddingWidth; in patternInfoToProperties() 612 properties.formatWidth = -1; in patternInfoToProperties() 655 int paddingWidth = uprv_min(properties.formatWidth, dosMax); in propertiesToPatternString()
|
D | decimfmt.cpp | 761 return fields->properties->formatWidth; in getFormatWidth() 765 if (width == fields->properties->formatWidth) { return; } in setFormatWidth() 766 fields->properties->formatWidth = width; in setFormatWidth()
|
D | number_mapper.cpp | 179 if (properties.formatWidth != -1) { in oldToNew()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 227 if (tuple.formatWidth != null) { 228 fmt.setFormatWidth(tuple.formatWidth); 588 if (tuple.formatWidth != null) { 695 if (tuple.formatWidth != null) { in propertiesFromTuple() 696 properties.setFormatWidth(tuple.formatWidth); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 99 public Integer formatWidth = null; field in DataDrivenNumberFormatTestData 327 formatWidth = Integer.valueOf(value); in setFormatWidth()
|
D | MeasureUnitTest.java | 1759 FormatWidth formatWidth = (FormatWidth) row[0]; in testSimplePer() local 1767 ULocale.ENGLISH, formatWidth); in testSimplePer() 1884 FormatWidth formatWidth = (FormatWidth) test[2]; in testDisplayNames() local 1887 MeasureFormat mf = MeasureFormat.getInstance(locale, formatWidth); in testDisplayNames() 1889 … 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/ |
D | NumberFormatDataDrivenTest.java | 224 if (tuple.formatWidth != null) { 225 fmt.setFormatWidth(tuple.formatWidth); 585 if (tuple.formatWidth != null) { 692 if (tuple.formatWidth != null) { in propertiesFromTuple() 693 properties.setFormatWidth(tuple.formatWidth); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 96 public Integer formatWidth = null; field in DataDrivenNumberFormatTestData 324 formatWidth = Integer.valueOf(value); in setFormatWidth()
|
D | MeasureUnitTest.java | 1756 FormatWidth formatWidth = (FormatWidth) row[0]; in testSimplePer() local 1764 ULocale.ENGLISH, formatWidth); in testSimplePer() 1881 FormatWidth formatWidth = (FormatWidth) test[2]; in testDisplayNames() local 1884 MeasureFormat mf = MeasureFormat.getInstance(locale, formatWidth); in testDisplayNames() 1886 … assertEquals(String.format("Unit Display Name for %s, %s, %s", unit, locale, formatWidth), in testDisplayNames()
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 106 int32_t formatWidth; variable
|
D | numberformattesttuple.cpp | 310 FIELD_INIT(formatWidth, &gIntOps),
|
D | numfmtdatadriventest.cpp | 114 fmt.setFormatWidth(tuple.formatWidth); in adjustDecimalFormat()
|
/external/icu/icu4c/source/test/testdata/ |
D | numberformattestspecification.txt | 531 padCharacter formatWidth output breaks 682 set formatWidth 8
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
D | numberformattestspecification.txt | 531 padCharacter formatWidth output breaks 682 set formatWidth 8
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
D | numberformattestspecification.txt | 531 padCharacter formatWidth output breaks 682 set formatWidth 8
|