Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java539 assertEquals("(650) 291-0000", PhoneNumberUtils.formatNumber("650 2910000", "US")); in testFormatNumber()
540 assertEquals("223-4567", PhoneNumberUtils.formatNumber("2234567", "US")); in testFormatNumber()
542 PhoneNumberUtils.formatNumber("011861088880000", "US")); in testFormatNumber()
543 assertEquals("010 8888 0000", PhoneNumberUtils.formatNumber("01088880000", "CN")); in testFormatNumber()
545 assertEquals("800-GOOG-114", PhoneNumberUtils.formatNumber("800-GOOG-114", "US")); in testFormatNumber()
555 assertEquals("+81 90-6657-1180", PhoneNumberUtils.formatNumber("+819066571180", "US")); in testFormatJapanInternational()
565 assertEquals("090-6657-0660", PhoneNumberUtils.formatNumber("09066570660", "JP")); in testFormatJapanNational()
566 assertEquals("090-6657-1180", PhoneNumberUtils.formatNumber("+819066571180", "JP")); in testFormatJapanNational()
569 assertEquals("+1 650-555-1212", PhoneNumberUtils.formatNumber("+16505551212", "JP")); in testFormatJapanNational()
576 assertEquals("*650 2910000", PhoneNumberUtils.formatNumber("*650 2910000", "US")); in testFormatNumber_LeadingStarAndHash()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java181 formattedNumber = PhoneNumberUtils.formatNumber(rawNumber); in getFormattedPhoneNumber()
199 sb.append(PhoneNumberUtils.formatNumber(rawNumber)); in getFormattedPhoneNumbers()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1249 public static String formatNumber(String source) { in formatNumber() method in PhoneNumberUtils
1251 formatNumber(text, getFormatTypeForLocale(Locale.getDefault())); in formatNumber()
1269 public static String formatNumber(String source, int defaultFormattingType) { in formatNumber() method in PhoneNumberUtils
1271 formatNumber(text, defaultFormattingType); in formatNumber()
1302 public static void formatNumber(Editable text, int defaultFormattingType) { in formatNumber() method in PhoneNumberUtils
1578 public static String formatNumber(String phoneNumber, String defaultCountryIso) { in formatNumber() method in PhoneNumberUtils
1634 public static String formatNumber( in formatNumber() method in PhoneNumberUtils
1659 String result = formatNumber(phoneNumber, defaultCountryIso); in formatNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsNumberUtils.java124 private static String formatNumber(Context context, String number, in formatNumber() method in SmsNumberUtils
551 result = formatNumber(phone.getContext(), destAddr, networkMcc, networkType); in filterDestAddr()
/frameworks/base/core/java/android/widget/
DNumberPicker.java2011 scrollSelectorValue = formatNumber(selectorIndex); in ensureCachedScrollSelectorValue()
2017 private String formatNumber(int value) { in formatNumber() method in NumberPicker
2047 String text = (mDisplayedValues == null) ? formatNumber(mValue) in updateInputTextView()
2893 return (mDisplayedValues == null) ? formatNumber(value) in getVirtualDecrementButtonText()
2905 return (mDisplayedValues == null) ? formatNumber(value) in getVirtualIncrementButtonText()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java91 public static String formatNumber(String source, int defaultFormattingType) { in formatNumber() method in VCardUtils.PhoneNumberUtilsPort
93 PhoneNumberUtils.formatNumber(text, defaultFormattingType); in formatNumber()
DVCardBuilder.java852 formatted = PhoneNumberUtilsPort.formatNumber( in appendPhones()
DVCardEntry.java1798 formattedNumber = PhoneNumberUtilsPort.formatNumber( in addPhone()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java343 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28390 method public static deprecated java.lang.String formatNumber(java.lang.String);
28391 method public static deprecated void formatNumber(android.text.Editable, int);
28392 method public static java.lang.String formatNumber(java.lang.String, java.lang.String);
28393 …method public static java.lang.String formatNumber(java.lang.String, java.lang.String, java.lang.S…
/frameworks/base/config/
Dboot-image-profile.txt14056 HSPLandroid/telephony/PhoneNumberUtils;->formatNumber(Landroid/text/Editable;I)V
14057 HSPLandroid/telephony/PhoneNumberUtils;->formatNumber(Ljava/lang/String;Ljava/lang/String;)Ljava/la…
14058 HSPLandroid/telephony/PhoneNumberUtils;->formatNumber(Ljava/lang/String;Ljava/lang/String;Ljava/lan…
Dhiddenapi-greylist-max-o.txt88765 Landroid/widget/NumberPicker;->formatNumber(I)Ljava/lang/String;
/frameworks/base/api/
Dcurrent.txt44515 method @Deprecated public static String formatNumber(String);
44516 method @Deprecated public static void formatNumber(android.text.Editable, int);
44517 method public static String formatNumber(String, String);
44518 method public static String formatNumber(String, String, String);