/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 513 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/ |
D | PhoneNumberUtils.java | 1142 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/ |
D | NumberPicker.java | 1698 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/ |
D | VCardUtils.java | 94 public static String formatNumber(String source, int defaultFormattingType) { in formatNumber() method in VCardUtils.PhoneNumberUtilsPort 96 PhoneNumberUtils.formatNumber(text, defaultFormattingType); in formatNumber()
|
D | VCardBuilder.java | 887 formatted = PhoneNumberUtilsPort.formatNumber( in appendPhones()
|
D | VCardEntry.java | 1796 formattedNumber = PhoneNumberUtilsPort.formatNumber( in addPhone()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfoAsyncQuery.java | 276 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
|
/frameworks/base/api/ |
D | 14.txt | 18904 method public static java.lang.String formatNumber(java.lang.String); 18905 method public static void formatNumber(android.text.Editable, int);
|
D | 15.txt | 19045 method public static java.lang.String formatNumber(java.lang.String); 19046 method public static void formatNumber(android.text.Editable, int);
|
D | current.txt | 20038 method public static java.lang.String formatNumber(java.lang.String); 20039 method public static void formatNumber(android.text.Editable, int);
|
D | 16.txt | 20038 method public static java.lang.String formatNumber(java.lang.String); 20039 method public static void formatNumber(android.text.Editable, int);
|