HomeSort by relevance Sort by last modified time
    Searched refs:NumberFormat (Results 101 - 125 of 364) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
AsYouTypeFormatter.java 19 import com.google.i18n.phonenumbers.Phonemetadata.NumberFormat;
44 // The pattern from numberFormat that is currently used to create formattingTemplate.
79 // A pattern that is used to determine if a numberFormat under availableFormats is eligible to be
80 // used by the AYTF. It is eligible when the format element under numberFormat contains groups of
92 // formatter. The first element of the leadingDigitsPattern of each numberFormat contains a
116 private List<NumberFormat> possibleFormats = new ArrayList<NumberFormat>();
151 Iterator<NumberFormat> it = possibleFormats.iterator();
153 NumberFormat numberFormat = it.next()
    [all...]
  /external/icu/icu4c/source/i18n/
winnmfmt.cpp 141 : NumberFormat(), fCurrency(currency), fFormatInfo(NULL), fFractionDigitsSet(FALSE)
166 : NumberFormat(other), fFormatInfo((FormatInfo*)uprv_malloc(sizeof(FormatInfo)))
189 NumberFormat::operator=(other);
230 NumberFormat *nf = fCurrency? NumberFormat::createCurrencyInstance(fLocale, status) : NumberFormat::createInstance(fLocale, status);
238 NumberFormat::setMaximumFractionDigits(newValue);
244 NumberFormat::setMinimumFractionDigits(newValue);
  /external/icu/icu4c/source/test/intltest/
quantityformattertest.cpp 116 LocalPointer<NumberFormat> numfmt(
117 NumberFormat::createInstance(Locale::getEnglish(), status));
numrgts.cpp 28 class MyNumberFormatTest : public NumberFormat
39 return NumberFormat::format(number, toAppendTo, posIter, status);
48 return NumberFormat::format(obj, toAppendTo, pos, status);
77 NumberFormat::parse(text, result, status);
245 * NumberFormat.equals comparing with null should always return false.
253 logln("NumberFormat.equals passed");
262 * NumberFormat.equals comparing two obj equal even the setGroupingUsed
398 * NumberFormat.getCurrencyInstance is wrong.
413 NumberFormat *nfcommon = NumberFormat::createCurrencyInstance(Locale::getUS(), status)
    [all...]
tsnmfmt.cpp 37 * NumberFormat.
42 if (exec) logln((UnicodeString)"TestSuite NumberFormat");
49 fFormat = NumberFormat::createInstance(fStatus);
85 fFormat = NumberFormat::createInstance(locale, fStatus);
91 fFormat = NumberFormat::createCurrencyInstance(locale, fStatus);
97 fFormat = NumberFormat::createPercentInstance(locale, fStatus);
104 fFormat = NumberFormat::createScientificInstance(locale, fStatus);
402 const Locale* locales = NumberFormat::getAvailableLocales(count);
424 const Locale* allLocales = NumberFormat::getAvailableLocales(count);
winnmtst.cpp 230 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log)
296 NumberFormat *wnf = NumberFormat::createInstance(ulocale, status);
297 NumberFormat *wcf = NumberFormat::createCurrencyInstance(ulocale, status);
pptest.cpp 181 NumberFormat *nf = NumberFormat::createInstance(status);
182 if (failure(status, "NumberFormat::createInstance", TRUE)){
189 errln("NumberFormat::createInstance returned unexpected class type");
201 FieldPosition pos(NumberFormat::INTEGER_FIELD);
numfmtst.cpp 595 NumberFormat *test = NumberFormat::createInstance("root", status);
634 class StubNumberFormat :public NumberFormat{
644 return NumberFormat::format(number, appendTo, pos);
669 errln("NumberFormat::format(int64, UnicodString&, FieldPosition&) should delegate to (int32, ,)");
695 UnicodeString s; (*(NumberFormat*)&fmt).format((int32_t)0, s);
831 UnicodeString s; (*(NumberFormat*)&fmt).format(val[v], s);
879 (*(NumberFormat*)&fmt).format(lval[v], s);
914 DecimalFormat* fmt = (DecimalFormat*)NumberFormat::createCurrencyInstance("en_US", status);
    [all...]
  /external/junit/src/main/java/org/junit/internal/
TextListener.java 4 import java.text.NumberFormat;
99 return NumberFormat.getInstance().format((double) runTime / 1000);
  /external/v8/src/
i18n.h 52 class NumberFormat {
66 // Release memory we allocated for the NumberFormat once the JS object that
75 NumberFormat();
  /external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
Vector3DFormat.java 21 import java.text.NumberFormat;
76 private final NumberFormat format;
91 public Vector3DFormat(final NumberFormat format) {
115 final String separator, final NumberFormat format) {
127 * <p>This is the same set as the {@link NumberFormat} set.</p>
131 return NumberFormat.getAvailableLocales();
162 public NumberFormat getFormat() {
  /external/icu/icu4c/source/i18n/unicode/
smpdtfmt.h     [all...]
  /frameworks/base/core/java/android/text/format/
Formatter.java 25 import android.icu.text.NumberFormat;
127 private static NumberFormat getNumberFormatter(Locale locale, int fractionDigits) {
128 final NumberFormat numberFormatter = NumberFormat.getInstance(locale);
133 // We do this only for DecimalFormat, since in the general NumberFormat case, calling
150 private static String formatMeasureShort(Locale locale, NumberFormat numberFormatter,
163 final NumberFormat numberFormatter = getNumberFormatter(locale, input.fractionDigits);
178 final NumberFormat numberFormatter = getNumberFormatter(locale, rounded.fractionDigits);
268 // Note we calculate the rounded long by ourselves, but still let NumberFormat compute
269 // the rounded value. NumberFormat.format(0.1) might not return "0.1" due to floatin
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
NumberFormatTestData.java 21 import android.icu.text.NumberFormat;
26 * A representation of a single NumberFormat specification test from a data driven test file.
170 formatStyleMap.put("decimal", NumberFormat.NUMBERSTYLE);
171 formatStyleMap.put("currency", NumberFormat.CURRENCYSTYLE);
172 formatStyleMap.put("percent", NumberFormat.PERCENTSTYLE);
173 formatStyleMap.put("scientific", NumberFormat.SCIENTIFICSTYLE);
174 formatStyleMap.put("currencyIso", NumberFormat.ISOCURRENCYSTYLE);
175 formatStyleMap.put("currencyPlural", NumberFormat.PLURALCURRENCYSTYLE);
176 formatStyleMap.put("currencyAccounting", NumberFormat.ACCOUNTINGCURRENCYSTYLE);
177 formatStyleMap.put("cashCurrency", NumberFormat.CASHCURRENCYSTYLE)
    [all...]
RbnfLenientScannerTest.java 12 import java.text.NumberFormat;
205 NumberFormat decFmt = NumberFormat.getInstance(Locale.US);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
NumberFormatTestData.java 20 import com.ibm.icu.text.NumberFormat;
25 * A representation of a single NumberFormat specification test from a data driven test file.
169 formatStyleMap.put("decimal", NumberFormat.NUMBERSTYLE);
170 formatStyleMap.put("currency", NumberFormat.CURRENCYSTYLE);
171 formatStyleMap.put("percent", NumberFormat.PERCENTSTYLE);
172 formatStyleMap.put("scientific", NumberFormat.SCIENTIFICSTYLE);
173 formatStyleMap.put("currencyIso", NumberFormat.ISOCURRENCYSTYLE);
174 formatStyleMap.put("currencyPlural", NumberFormat.PLURALCURRENCYSTYLE);
175 formatStyleMap.put("currencyAccounting", NumberFormat.ACCOUNTINGCURRENCYSTYLE);
176 formatStyleMap.put("cashCurrency", NumberFormat.CASHCURRENCYSTYLE)
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
DecimalFormatBenchmark.java 5 import java.text.NumberFormat;
17 NumberFormat.getCurrencyInstance(Locale.US);
19 NumberFormat.getInstance(Locale.FRANCE);
  /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
BarColumn.java 16 import java.text.NumberFormat;
40 private final NumberFormat integerFormat;
CounterColumn.java 16 import java.text.NumberFormat;
98 private final NumberFormat integerFormat;
  /external/junit/src/main/java/junit/textui/
ResultPrinter.java 4 import java.text.NumberFormat;
99 return NumberFormat.getInstance().format((double) runTime / 1000);
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
TestJob.java 33 import java.text.NumberFormat;
84 .setSubText(NumberFormat.getPercentInstance().format(completed))
  /packages/apps/Launcher3/src/com/android/launcher3/discovery/
AppDiscoveryItemView.java 30 import java.text.NumberFormat;
88 String reviewCountFormatted = NumberFormat.getInstance().format(info.reviewCount);
  /packages/apps/Settings/src/com/android/settings/display/
DensityPreference.java 32 import java.text.NumberFormat;
45 .unicodeWrap(NumberFormat.getInstance().format(getCurrentSwDp()));
  /packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
StorageSettingsTest.java 28 import android.icu.text.NumberFormat;
93 final String percentage = NumberFormat.getPercentInstance().format(1);
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SuperCollapsedBlock.java 31 import java.text.NumberFormat;
85 final String strCount = NumberFormat.getIntegerInstance().format(mCount);

Completed in 921 milliseconds

1 2 3 45 6 7 8 91011>>