Searched refs:formatWidth (Results 1 - 15 of 15) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DMeasureFormat.java124 private final transient FormatWidth formatWidth; field in class:MeasureFormat
206 * Create a format from the locale, formatWidth, and format.
209 * @param formatWidth hints how long formatted strings should be.
212 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { argument
213 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale));
217 * Create a format from the {@link java.util.Locale} and formatWidth.
220 * @param formatWidth hints how long formatted strings should be.
223 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { argument
224 return getInstance(ULocale.forLocale(locale), formatWidth);
228 * Create a format from the locale, formatWidth, an
235 getInstance(ULocale locale, FormatWidth formatWidth, NumberFormat format) argument
273 getInstance(Locale locale, FormatWidth formatWidth, NumberFormat format) argument
677 MeasureFormat( ULocale locale, MeasureFormatData data, FormatWidth formatWidth, ImmutableNumberFormat format, PluralRules rules, NumericFormatters formatters, ImmutableNumberFormat currencyFormat, ImmutableNumberFormat integerFormat) argument
1358 private FormatWidth formatWidth; field in class:MeasureFormat.MeasureProxy
[all...]
H A DDecimalFormat.java1883 if (formatWidth > 0) {
1884 int len = formatWidth - result.length();
1972 if (formatWidth > 0 &&
1979 if (formatWidth > 0 && (padPosition == PAD_BEFORE_SUFFIX ||
2407 if (formatWidth > 0 && padPosition == PAD_BEFORE_PREFIX) {
2431 if (formatWidth > 0 && padPosition == PAD_AFTER_PREFIX) {
2744 if (formatWidth > 0 && padPosition == PAD_BEFORE_SUFFIX) {
2772 if (formatWidth > 0 && padPosition == PAD_AFTER_SUFFIX) {
3526 return formatWidth;
3547 formatWidth
5767 private int formatWidth = 0; field in class:DecimalFormat
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DMeasureFormat.java124 private final transient FormatWidth formatWidth; field in class:MeasureFormat
216 * Create a format from the locale, formatWidth, and format.
219 * @param formatWidth hints how long formatted strings should be.
223 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { argument
224 return getInstance(locale, formatWidth, NumberFormat.getInstance(locale));
228 * Create a format from the {@link java.util.Locale} and formatWidth.
231 * @param formatWidth hints how long formatted strings should be.
235 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { argument
236 return getInstance(ULocale.forLocale(locale), formatWidth);
240 * Create a format from the locale, formatWidth, an
248 getInstance(ULocale locale, FormatWidth formatWidth, NumberFormat format) argument
287 getInstance(Locale locale, FormatWidth formatWidth, NumberFormat format) argument
705 MeasureFormat( ULocale locale, MeasureFormatData data, FormatWidth formatWidth, ImmutableNumberFormat format, PluralRules rules, NumericFormatters formatters, ImmutableNumberFormat currencyFormat, ImmutableNumberFormat integerFormat) argument
1386 private FormatWidth formatWidth; field in class:MeasureFormat.MeasureProxy
[all...]
H A DDecimalFormat.java1895 if (formatWidth > 0) {
1896 int len = formatWidth - result.length();
1986 if (formatWidth > 0 &&
1993 if (formatWidth > 0 && (padPosition == PAD_BEFORE_SUFFIX ||
2421 if (formatWidth > 0 && padPosition == PAD_BEFORE_PREFIX) {
2445 if (formatWidth > 0 && padPosition == PAD_AFTER_PREFIX) {
2758 if (formatWidth > 0 && padPosition == PAD_BEFORE_SUFFIX) {
2786 if (formatWidth > 0 && padPosition == PAD_AFTER_SUFFIX) {
3559 return formatWidth;
3581 formatWidth
5864 private int formatWidth = 0; field in class:DecimalFormat
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dnumberformattesttuple.h105 int32_t formatWidth; member in class:NumberFormatTestTuple
H A Dnumberformattesttuple.cpp313 FIELD_INIT(formatWidth, &gIntOps),
H A Dnumfmtst.cpp159 fmt.setFormatWidth(tuple.formatWidth);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTestData.java97 public Integer formatWidth = null; field in class:NumberFormatTestData
201 "formatWidth",
322 formatWidth = Integer.valueOf(value);
H A DMeasureUnitTest.java1477 FormatWidth formatWidth = (FormatWidth) row[0];
1485 ULocale.ENGLISH, formatWidth);
1600 FormatWidth formatWidth = (FormatWidth) test[2];
1603 MeasureFormat mf = MeasureFormat.getInstance(locale, formatWidth);
1605 assertEquals(String.format("Unit Display Name for %s, %s, %s", unit, locale, formatWidth),
H A DNumberFormatTest.java212 if (tuple.formatWidth != null) {
213 fmt.setFormatWidth(tuple.formatWidth);
392 if (tuple.formatWidth != null) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTestData.java96 public Integer formatWidth = null; field in class:NumberFormatTestData
200 "formatWidth",
321 formatWidth = Integer.valueOf(value);
H A DMeasureUnitTest.java1476 FormatWidth formatWidth = (FormatWidth) row[0];
1484 ULocale.ENGLISH, formatWidth);
1599 FormatWidth formatWidth = (FormatWidth) test[2];
1602 MeasureFormat mf = MeasureFormat.getInstance(locale, formatWidth);
1604 assertEquals(String.format("Unit Display Name for %s, %s, %s", unit, locale, formatWidth),
H A DNumberFormatTest.java211 if (tuple.formatWidth != null) {
212 fmt.setFormatWidth(tuple.formatWidth);
391 if (tuple.formatWidth != null) {
/external/icu/icu4c/source/i18n/
H A Ddecimfmt.cpp148 int32_t formatWidth; member in struct:AffixesForCurrency
952 int32_t formatWidth = fImpl->getOldFormatWidth(); local
955 if (formatWidth > 0 && (
972 if (formatWidth > 0 && (fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadBeforeSuffix || fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadAfterSuffix)) {
1367 int32_t formatWidth = fImpl->getOldFormatWidth(); local
1369 if (formatWidth > 0 && fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadBeforePrefix) {
1398 if (formatWidth > 0 && fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadAfterPrefix) {
1707 if (formatWidth > 0 && fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadBeforeSuffix) {
1738 if (formatWidth > 0 && fImpl->fAffixes.fPadPosition == DigitAffixesAndPadding::kPadAfterSuffix) {
2536 int32_t formatWidth local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 392 milliseconds