Home
last modified time | relevance | path

Searched refs:formatNumber (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java513 assertEquals("(650) 291-0000", PhoneNumberUtils.formatNumber("650 2910000", "US")); in testFormatNumber()
514 assertEquals("223-4567", PhoneNumberUtils.formatNumber("2234567", "US")); in testFormatNumber()
516 PhoneNumberUtils.formatNumber("011861088880000", "US")); in testFormatNumber()
517 assertEquals("010 8888 0000", PhoneNumberUtils.formatNumber("01088880000", "CN")); in testFormatNumber()
519 assertEquals("800-GOOG-114", PhoneNumberUtils.formatNumber("800-GOOG-114", "US")); in testFormatNumber()
525 assertEquals("*650 2910000", PhoneNumberUtils.formatNumber("*650 2910000", "US")); in testFormatNumber_LeadingStarAndHash()
526 assertEquals("#650 2910000", PhoneNumberUtils.formatNumber("#650 2910000", "US")); in testFormatNumber_LeadingStarAndHash()
527 assertEquals("*#650 2910000", PhoneNumberUtils.formatNumber("*#650 2910000", "US")); in testFormatNumber_LeadingStarAndHash()
528 assertEquals("#*650 2910000", PhoneNumberUtils.formatNumber("#*650 2910000", "US")); in testFormatNumber_LeadingStarAndHash()
529 assertEquals("#650*2910000", PhoneNumberUtils.formatNumber("#650*2910000", "US")); in testFormatNumber_LeadingStarAndHash()
[all …]
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1142 public static String formatNumber(String source) { in formatNumber() method in PhoneNumberUtils
1144 formatNumber(text, getFormatTypeForLocale(Locale.getDefault())); in formatNumber()
1159 public static String formatNumber(String source, int defaultFormattingType) { in formatNumber() method in PhoneNumberUtils
1161 formatNumber(text, defaultFormattingType); in formatNumber()
1186 public static void formatNumber(Editable text, int defaultFormattingType) { in formatNumber() method in PhoneNumberUtils
1411 public static String formatNumber(String phoneNumber, String defaultCountryIso) { in formatNumber() method in PhoneNumberUtils
1447 public static String formatNumber( in formatNumber() method in PhoneNumberUtils
1472 String result = formatNumber(phoneNumber, defaultCountryIso); in formatNumber()
/frameworks/base/core/java/android/widget/
DNumberPicker.java1698 scrollSelectorValue = formatNumber(selectorIndex); in ensureCachedScrollSelectorValue()
1704 private String formatNumber(int value) { in formatNumber() method in NumberPicker
1734 String text = (mDisplayedValues == null) ? formatNumber(mValue) in updateInputTextView()
2551 return (mDisplayedValues == null) ? formatNumber(value) in getVirtualDecrementButtonText()
2563 return (mDisplayedValues == null) ? formatNumber(value) in getVirtualIncrementButtonText()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java94 public static String formatNumber(String source, int defaultFormattingType) { in formatNumber() method in VCardUtils.PhoneNumberUtilsPort
96 PhoneNumberUtils.formatNumber(text, defaultFormattingType); in formatNumber()
DVCardBuilder.java887 formatted = PhoneNumberUtilsPort.formatNumber( in appendPhones()
DVCardEntry.java1796 formattedNumber = PhoneNumberUtilsPort.formatNumber( in addPhone()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java276 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
/frameworks/base/api/
D14.txt18904 method public static java.lang.String formatNumber(java.lang.String);
18905 method public static void formatNumber(android.text.Editable, int);
D15.txt19045 method public static java.lang.String formatNumber(java.lang.String);
19046 method public static void formatNumber(android.text.Editable, int);
Dcurrent.txt20038 method public static java.lang.String formatNumber(java.lang.String);
20039 method public static void formatNumber(android.text.Editable, int);
D16.txt20038 method public static java.lang.String formatNumber(java.lang.String);
20039 method public static void formatNumber(android.text.Editable, int);