/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPhoneNumberUtils.java | 11 public static java.lang.String formatNumber(java.lang.String source) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PhoneNumberUtilTest.java | 15 assertThat(PhoneNumberUtils.formatNumber("12345678901"), equalTo("12345678901-formatted"));
|
/external/chromium_org/third_party/icu/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/icu4c/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>";
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneNumberUtilsTest.java | 513 assertEquals("(650) 291-0000", PhoneNumberUtils.formatNumber("650 2910000", "US")); 514 assertEquals("223-4567", PhoneNumberUtils.formatNumber("2234567", "US")); 516 PhoneNumberUtils.formatNumber("011861088880000", "US")); 517 assertEquals("010 8888 0000", PhoneNumberUtils.formatNumber("01088880000", "CN")); 518 // formatNumber doesn't format alpha numbers, but keep them as they are. 519 assertEquals("800-GOOG-114", PhoneNumberUtils.formatNumber("800-GOOG-114", "US")); 525 assertEquals("*650 2910000", PhoneNumberUtils.formatNumber("*650 2910000", "US")); 526 assertEquals("#650 2910000", PhoneNumberUtils.formatNumber("#650 2910000", "US")); 527 assertEquals("*#650 2910000", PhoneNumberUtils.formatNumber("*#650 2910000", "US")); 528 assertEquals("#*650 2910000", PhoneNumberUtils.formatNumber("#*650 2910000", "US")) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSPrimitiveValue.cpp | 880 static String formatNumber(double number, const char* suffix, unsigned suffixLength) 895 ALWAYS_INLINE static String formatNumber(double number, const char (&characters)[characterCount]) 897 return formatNumber(number, characters, characterCount - 1); 917 text = formatNumber(m_value.num, ""); 920 text = formatNumber(m_value.num, "%"); 923 text = formatNumber(m_value.num, "em"); 926 text = formatNumber(m_value.num, "ex"); 929 text = formatNumber(m_value.num, "rem"); 932 text = formatNumber(m_value.num, "ch"); 935 text = formatNumber(m_value.num, "px") [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
PhoneDataItem.java | 61 final String formattedPhoneNumber = PhoneNumberUtils.formatNumber(phoneNumber,
|
/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/icu4c/i18n/ |
msgfmt.cpp | 607 int32_t formatNumber = 0; 610 formatNumber < count && U_SUCCESS(status) && 612 setCustomArgStartFormat(partIndex, newFormats[formatNumber], status); 613 ++formatNumber; 616 for (; formatNumber < count; ++formatNumber) { 617 delete newFormats[formatNumber]; 641 int32_t formatNumber = 0; 643 formatNumber < count && U_SUCCESS(status) && (partIndex = nextTopLevelArgStart(partIndex)) >= 0;) { 645 if (newFormats[formatNumber] != NULL) [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneNumberUtilsTest.java | 224 // Test formatNumber(String). Only numbers begin with +1 or +81 can be formatted. 225 assertEquals("+1-888-888-888", PhoneNumberUtils.formatNumber("+1888888888")); 226 // Test formatNumber(Editable, int) 228 PhoneNumberUtils.formatNumber(editNumber, PhoneNumberUtils.FORMAT_UNKNOWN); 231 PhoneNumberUtils.formatNumber(editNumber, PhoneNumberUtils.FORMAT_UNKNOWN); 234 PhoneNumberUtils.formatNumber(editNumber, PhoneNumberUtils.FORMAT_UNKNOWN);
|
/packages/services/Telephony/src/com/android/phone/ |
CallGatewayManager.java | 191 return PhoneNumberUtils.formatNumber(uri.getSchemeSpecificPart());
|
/external/chromium_org/chrome/browser/resources/ |
about_memory.js | 13 function formatNumber(str) {
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
msgfmt.h | 474 * @param formatNumber index of the subformat. 477 virtual void adoptFormat(int32_t formatNumber, Format* formatToAdopt); 484 * @param formatNumber index of the subformat. 488 virtual void setFormat(int32_t formatNumber, const Format& format); [all...] |
/external/icu4c/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...] |
/external/chromium_org/third_party/icu/source/i18n/ |
msgfmt.cpp | 602 int32_t formatNumber = 0; 666 makeFormat(formatNumber, segments, parseError,ec); 670 formatNumber++; [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
DialerPhoneNumberListAdapter.java | 166 mFormattedQueryString = PhoneNumberUtils.formatNumber(
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberUtils.java | [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
CommandRecognizerEngine.java | 872 private static String formatNumber(String formats, String number) { [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfoHelper.java | 257 return PhoneNumberUtils.formatNumber(number, normalizedNumber, countryIso);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfoAsyncQuery.java | 273 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number,
|
/packages/apps/InCallUI/src/com/android/incallui/ |
CallerInfoAsyncQuery.java | 271 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number,
|
/frameworks/base/core/java/android/widget/ |
NumberPicker.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactReadOnlyEditorView.java | 208 final String formattedNumber = PhoneNumberUtils.formatNumber(
|