/external/icu/icu4c/source/test/intltest/ |
plurfmts.cpp | 66 NumberFormat *numFmt = NumberFormat::createInstance(status[0]); 68 dataerrln("ERROR: Could not create NumberFormat instance with default locale "); 226 NumberFormat *numFmt = NumberFormat::createInstance(status); 229 dataerrln("ERROR: Could not create NumberFormat instance with default locale "); 269 numFmt = NumberFormat::createInstance(Locale::getEnglish(), status); 271 dataerrln("ERROR: Could not create NumberFormat instance with English locale "); 689 NumberFormat *numFmt, 694 UBool overwrite, // overwrite the numberFormat.format resul [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RbnfTest.java | 23 import com.ibm.icu.text.NumberFormat; 249 NumberFormat decFormat = NumberFormat.getInstance(Locale.US); 251 com.ibm.icu.text.NumberFormat formatter = formatters[j]; [all...] |
RelativeDateTimeFormatterTest.java | 18 import com.ibm.icu.text.NumberFormat; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 19 import android.icu.text.NumberFormat; [all...] |
/external/icu/icu4c/source/i18n/ |
smpdtfmt.cpp | 251 static void fixNumberFormatForDates(NumberFormat &nf) { 262 NumberFormat *nfToAdopt) { 273 NumberFormat *nf = NumberFormat::createInstance(loc, status); 303 const NumberFormat *SimpleDateFormat::getNumberFormatByIndex( 314 const NumberFormat *key; 315 NumberFormat *value; 336 // NumberFormat objects. On memory allocation error returns NULL. 338 NumberFormat *get(const NumberFormat *nf) [all...] |
decimfmt.cpp | 601 NumberFormat(source) { 624 NumberFormat::operator=(rhs); 653 // NumberFormat::operator== guarantees this cast is safe 657 NumberFormat::operator==(that) && [all...] |
nfsubs.cpp | 407 : pos(_pos), ruleSet(NULL), numberFormat(NULL) 458 this->numberFormat = tempNumberFormat; 470 this->numberFormat = NULL; 482 delete numberFormat; 483 numberFormat = NULL; 500 if (numberFormat != NULL) { 501 numberFormat->setDecimalFormatSymbols(newSymbols); 526 && (numberFormat == NULL 527 ? (rhs.numberFormat == NULL) 528 : (*numberFormat == *rhs.numberFormat)) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ZoneMeta.java | 24 import android.icu.text.NumberFormat; 658 NumberFormat numberFormat = null; 675 numberFormat = NumberFormat.getInstance(); 676 numberFormat.setParseIntegerOnly(true); 681 Number n = numberFormat.parse(id, pos); 695 n = numberFormat.parse(id, pos); 708 n = numberFormat.parse(id, pos);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ZoneMeta.java | 23 import com.ibm.icu.text.NumberFormat; 657 NumberFormat numberFormat = null; 674 numberFormat = NumberFormat.getInstance(); 675 numberFormat.setParseIntegerOnly(true); 680 Number n = numberFormat.parse(id, pos); 694 n = numberFormat.parse(id, pos); 707 n = numberFormat.parse(id, pos);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
SafeConstructor.java | 19 import java.text.NumberFormat; 278 private final NumberFormat nf = NumberFormat.getInstance(); 289 * parseable by NumberFormat when these `Double` values are
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
BarPlotExampleActivity.java | 21 import java.text.NumberFormat; 254 plot.setDomainValueFormat(new NumberFormat() {
|
XYRegionExampleActivity.java | 33 import java.text.NumberFormat;
225 plot.setRangeValueFormat(new NumberFormat() {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
Utils.java | 31 import java.text.NumberFormat; 134 return NumberFormat.getPercentInstance().format(percentage);
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
EmmcPerformanceTest.java | 35 import java.text.NumberFormat; 310 Double metricValue = NumberFormat.getNumberInstance(Locale.US)
|
MicroBenchTest.java | 36 import java.text.NumberFormat; 193 Double metricValue = NumberFormat.getNumberInstance(Locale.US)
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
SimpleDateFormat.java | [all...] |
DateFormat.java | 137 * @see NumberFormat 161 protected NumberFormat numberFormat; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
SimpleDateFormat.java | [all...] |
DateFormat.java | 136 * @see NumberFormat 163 protected NumberFormat numberFormat; [all...] |
/libcore/ojluni/src/main/java/java/text/ |
ChoiceFormat.java | 106 * Format[] testFormats = {fileform, null, NumberFormat.getInstance()}; 167 public class ChoiceFormat extends NumberFormat { 340 * if the object is a NumberFormat, then ((NumberFormat) Y).format(X)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ULocaleTest.java | 39 import android.icu.text.NumberFormat; 40 import android.icu.text.NumberFormat.SimpleNumberFormatFactory; 136 NumberFormat proto; 138 public NFactory(ULocale loc, NumberFormat fmt) { 144 public NumberFormat createFormat(ULocale loc, int formatType) { 145 return (NumberFormat) (locale.equals(loc) ? 153 return NumberFormat.getInstance(req); 163 NFactory f = new NFactory(loc, (NumberFormat) prototype); 164 return NumberFormat.registerFactory(f); 168 return NumberFormat.unregister(key) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ULocaleTest.java | 38 import com.ibm.icu.text.NumberFormat; 39 import com.ibm.icu.text.NumberFormat.SimpleNumberFormatFactory; 135 NumberFormat proto; 137 public NFactory(ULocale loc, NumberFormat fmt) { 143 public NumberFormat createFormat(ULocale loc, int formatType) { 144 return (NumberFormat) (locale.equals(loc) ? 152 return NumberFormat.getInstance(req); 162 NFactory f = new NFactory(loc, (NumberFormat) prototype); 163 return NumberFormat.registerFactory(f); 167 return NumberFormat.unregister(key) [all...] |
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 584 NumberFormat *fmt = NumberFormat::createInstance(loc, status);
|
/external/testng/src/main/java/org/testng/reporters/ |
EmailableReporter.java | 24 import java.text.NumberFormat; 353 NumberFormat formatter = new DecimalFormat("#,##0.0");
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
Camera2SurfaceViewTestCase.java | 57 import java.text.NumberFormat; [all...] |