Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java122 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()
233 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() argument
234 return getInstance(ULocale.forLocale(locale), formatWidth); in getInstance()
246 …public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth, NumberFormat form… in getInstance() argument
254 if (formatWidth == FormatWidth.NUMERIC) { in getInstance()
268 formatWidth, in getInstance()
272 … new ImmutableNumberFormat(NumberFormat.getInstance(locale, formatWidth.getCurrencyStyle())), in getInstance()
285 …public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth, NumberFormat forma… in getInstance() argument
[all …]
DDecimalFormat.java1907 if (formatWidth > 0) {
1908 int len = formatWidth - result.length();
1998 if (formatWidth > 0 &&
2005 if (formatWidth > 0 && (padPosition == PAD_BEFORE_SUFFIX ||
2431 if (formatWidth > 0 && padPosition == PAD_BEFORE_PREFIX) { in subparse()
2455 if (formatWidth > 0 && padPosition == PAD_AFTER_PREFIX) { in subparse()
2769 if (formatWidth > 0 && padPosition == PAD_BEFORE_SUFFIX) { in subparse()
2797 if (formatWidth > 0 && padPosition == PAD_AFTER_SUFFIX) { in subparse()
3530 return formatWidth;
3552 formatWidth = width;
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java122 private final transient FormatWidth formatWidth; field in MeasureFormat
210 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance() argument
211 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale)); in getInstance()
221 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance() argument
222 return getInstance(ULocale.forLocale(locale), formatWidth); in getInstance()
233 …public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth, NumberFormat form… in getInstance() argument
241 if (formatWidth == FormatWidth.NUMERIC) { in getInstance()
255 formatWidth, in getInstance()
259 … new ImmutableNumberFormat(NumberFormat.getInstance(locale, formatWidth.getCurrencyStyle())), in getInstance()
271 …public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth, NumberFormat forma… in getInstance() argument
[all …]
DDecimalFormat.java1895 if (formatWidth > 0) {
1896 int len = formatWidth - result.length();
1984 if (formatWidth > 0 &&
1991 if (formatWidth > 0 && (padPosition == PAD_BEFORE_SUFFIX ||
2417 if (formatWidth > 0 && padPosition == PAD_BEFORE_PREFIX) { in subparse()
2441 if (formatWidth > 0 && padPosition == PAD_AFTER_PREFIX) { in subparse()
2755 if (formatWidth > 0 && padPosition == PAD_BEFORE_SUFFIX) { in subparse()
2783 if (formatWidth > 0 && padPosition == PAD_AFTER_SUFFIX) { in subparse()
3497 return formatWidth;
3518 formatWidth = width;
[all …]
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp146 int32_t formatWidth; member
938 int32_t formatWidth = fImpl->getOldFormatWidth(); in parse() local
941 if (formatWidth > 0 && ( in parse()
958 …if (formatWidth > 0 && (fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadBeforeSuffix |… in parse()
1353 int32_t formatWidth = fImpl->getOldFormatWidth(); in subparse() local
1355 … if (formatWidth > 0 && fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadBeforePrefix) { in subparse()
1384 … if (formatWidth > 0 && fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadAfterPrefix) { in subparse()
1693 … if (formatWidth > 0 && fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadBeforeSuffix) { in subparse()
1724 … if (formatWidth > 0 && fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadAfterSuffix) { in subparse()
2522 int32_t formatWidth = (width > 0) ? width : 0; in setFormatWidth() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTestTuple.java94 public Integer formatWidth = null; field in NumberFormatTestTuple
319 formatWidth = Integer.valueOf(value); in setFormatWidth()
DMeasureUnitTest.java1074 FormatWidth formatWidth = (FormatWidth) row[0]; in testSimplePer() local
1082 ULocale.ENGLISH, formatWidth); in testSimplePer()
DNumberFormatTest.java204 if (tuple.formatWidth != null) {
205 fmt.setFormatWidth(tuple.formatWidth);
384 if (tuple.formatWidth != null) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTestTuple.java95 public Integer formatWidth = null; field in NumberFormatTestTuple
320 formatWidth = Integer.valueOf(value); in setFormatWidth()
DMeasureUnitTest.java1078 FormatWidth formatWidth = (FormatWidth) row[0]; in testSimplePer() local
1086 ULocale.ENGLISH, formatWidth); in testSimplePer()
DNumberFormatTest.java208 if (tuple.formatWidth != null) {
209 fmt.setFormatWidth(tuple.formatWidth);
388 if (tuple.formatWidth != null) {
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.h103 int32_t formatWidth; variable
Dnumberformattesttuple.cpp311 FIELD_INIT(formatWidth, &gIntOps),
Dnumfmtst.cpp156 fmt.setFormatWidth(tuple.formatWidth); in adjustDecimalFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/
Dnumberformattestspecification.txt394 padCharacter formatWidth output breaks
522 set formatWidth 7
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberformattestspecification.txt394 padCharacter formatWidth output breaks
522 set formatWidth 7
/external/icu/icu4c/source/test/testdata/
Dnumberformattestspecification.txt394 padCharacter formatWidth output breaks
522 set formatWidth 7
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...