HomeSort by relevance Sort by last modified time
    Searched refs:formatNumber (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPhoneNumberUtils.java 11 public static java.lang.String formatNumber(java.lang.String source) {
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
PhoneNumberUtilTest.java 15 assertThat(PhoneNumberUtils.formatNumber("12345678901"), equalTo("12345678901-formatted"));
  /external/icu/icu4c/source/test/perf/perldriver/
Format.pm 55 sub formatNumber {
103 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
121 formatNumber($sigdig, 100, $a, $delta) . '%';
Output.pm 62 print HTML formatNumber(2, $mult, $mean);
75 print HTML formatNumber(2, $mult, $error);
84 #print HTML formatNumber(2, 1, $value);
305 print HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getError)."</td>";
  /external/icu/icu4j/perf-tests/perldriver/
Format.pm 55 sub formatNumber {
103 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
121 formatNumber($sigdig, 100, $a, $delta) . '%';
Output.pm 62 print HTML formatNumber(2, $mult, $mean);
75 print HTML formatNumber(2, $mult, $error);
84 #print HTML formatNumber(2, 1, $value);
305 print HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getError)."</td>";
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
PhoneNumberUtilsTest.java 502 assertEquals("(650) 291-0000", PhoneNumberUtils.formatNumber("650 2910000", "US"));
503 assertEquals("223-4567", PhoneNumberUtils.formatNumber("2234567", "US"));
505 PhoneNumberUtils.formatNumber("011861088880000", "US"));
506 assertEquals("010 8888 0000", PhoneNumberUtils.formatNumber("01088880000", "CN"));
507 // formatNumber doesn't format alpha numbers, but keep them as they are.
508 assertEquals("800-GOOG-114", PhoneNumberUtils.formatNumber("800-GOOG-114", "US"));
514 assertEquals("*650 2910000", PhoneNumberUtils.formatNumber("*650 2910000", "US"));
515 assertEquals("#650 2910000", PhoneNumberUtils.formatNumber("#650 2910000", "US"));
516 assertEquals("*#650 2910000", PhoneNumberUtils.formatNumber("*#650 2910000", "US"));
517 assertEquals("#*650 2910000", PhoneNumberUtils.formatNumber("#*650 2910000", "US"))
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
PhoneNumberUtilsCompat.java 73 public static String formatNumber(
76 return PhoneNumberUtils.formatNumber(phoneNumber, phoneNumberE164, defaultCountryIso);
79 return PhoneNumberUtils.formatNumber(phoneNumber);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
PhoneDataItem.java 61 final String formattedPhoneNumber = PhoneNumberUtilsCompat.formatNumber(phoneNumber,
  /packages/services/Telecomm/src/com/android/server/telecom/settings/
BlockedNumbersUtil.java 48 String formattedNumber = PhoneNumberUtils.formatNumber(number, getLocaleDefaultToUS());
BlockedNumbersAdapter.java 44 String formattedNumber = PhoneNumberUtils.formatNumber(rawNumber,
  /packages/apps/Tag/src/com/android/apps/tag/record/
UriRecord.java 87 return context.getString(R.string.action_call, PhoneNumberUtils.formatNumber(ssp));
89 return context.getString(R.string.action_text, PhoneNumberUtils.formatNumber(ssp));
  /external/icu/icu4j/perf-tests/
converterperf.pl 402 sub formatNumber {
449 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
467 formatNumber($sigdig, 100, $a, $delta) . ' %';
dateformatperf.pl 388 sub formatNumber {
435 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
453 formatNumber($sigdig, 100, $a, $delta) . ' %';
decimalformatperf.pl 383 sub formatNumber {
430 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
448 formatNumber($sigdig, 100, $a, $delta) . ' %';
normperf.pl 438 sub formatNumber {
485 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
503 formatNumber($sigdig, 100, $a, $delta) . ' %';
ucharacterperf.pl 385 sub formatNumber {
432 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
450 formatNumber($sigdig, 100, $a, $delta) . ' %';
unicodesetperf.pl 375 sub formatNumber {
422 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
440 formatNumber($sigdig, 100, $a, $delta) . ' %';
  /prebuilts/go/darwin-x86/test/bench/shootout/
chameneosredux.c 112 char* formatNumber(int n, char* outbuf)
247 formatNumber(cr->sameCount, numstr);
285 printf( "%s\n\n", formatNumber(total, str) );
  /prebuilts/go/linux-x86/test/bench/shootout/
chameneosredux.c 112 char* formatNumber(int n, char* outbuf)
247 formatNumber(cr->sameCount, numstr);
285 printf( "%s\n\n", formatNumber(total, str) );
  /external/icu/icu4c/source/i18n/
msgfmt.cpp 620 int32_t formatNumber = 0;
623 formatNumber < count && U_SUCCESS(status) &&
625 setCustomArgStartFormat(partIndex, newFormats[formatNumber], status);
626 ++formatNumber;
629 for (; formatNumber < count; ++formatNumber) {
630 delete newFormats[formatNumber];
654 int32_t formatNumber = 0;
656 formatNumber < count && U_SUCCESS(status) && (partIndex = nextTopLevelArgStart(partIndex)) >= 0;) {
658 if (newFormats[formatNumber] != NULL)
    [all...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
PhoneNumberUtilsTest.java 227 // Test formatNumber(String). Only numbers begin with +1 or +81 can be formatted.
228 assertEquals("+1-888-888-888", PhoneNumberUtils.formatNumber("+1888888888"));
229 // Test formatNumber(Editable, int)
231 PhoneNumberUtils.formatNumber(editNumber, PhoneNumberUtils.FORMAT_UNKNOWN);
234 PhoneNumberUtils.formatNumber(editNumber, PhoneNumberUtils.FORMAT_UNKNOWN);
237 PhoneNumberUtils.formatNumber(editNumber, PhoneNumberUtils.FORMAT_UNKNOWN);
  /packages/apps/Dialer/src/com/android/dialer/filterednumber/
BlockedNumbersAdapter.java 69 PhoneNumberUtils.formatNumber(number, countryIso),
  /packages/services/Telephony/src/com/android/phone/
CallGatewayManager.java 189 return PhoneNumberUtils.formatNumber(uri.getSchemeSpecificPart());
  /external/icu/icu4c/source/i18n/unicode/
msgfmt.h 538 * @param formatNumber index of the subformat.
541 virtual void adoptFormat(int32_t formatNumber, Format* formatToAdopt);
548 * @param formatNumber index of the subformat.
552 virtual void setFormat(int32_t formatNumber, const Format& format);
    [all...]

Completed in 1560 milliseconds

1 2 3 4