/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
H A D | GeoUtil.java | 48 public static String getGeocodedLocationFor(Context context, String phoneNumber) { argument 53 phoneNumberUtil.parse(phoneNumber, getCurrentCountryIso(context));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | OnPhoneNumberPickerActionListener.java | 35 void onCallNumberDirectly(String phoneNumber); argument 40 void onCallNumberDirectly(String phoneNumber, boolean isVideoCall); argument
|
H A D | ContactEntry.java | 30 public String phoneNumber; field in class:ContactEntry
|
H A D | ContactTileView.java | 122 mPhoneNumber.setText(entry.phoneNumber); 233 void onCallNumberDirectly(String phoneNumber); argument
|
H A D | ShortcutIntentBuilder.java | 305 byte[] bitmapData, String phoneNumber, int phoneType, String phoneLabel, 313 phoneUri = Uri.fromParts(PhoneAccount.SCHEME_TEL, phoneNumber, null); 317 phoneUri = Uri.fromParts(ContactsUtils.SCHEME_SMSTO, phoneNumber, null); 304 createPhoneNumberShortcutIntent(Uri uri, String displayName, String lookupKey, byte[] bitmapData, String phoneNumber, int phoneType, String phoneLabel, String shortcutAction) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | PhoneNumberHelper.java | 61 * @param phoneNumber the number to be formatted. 63 * phoneNumber doesn't have the country code. 65 * be used if the phoneNumberE164 is null or invalid, or if phoneNumber contains IDD. 69 * TODO: Remove if PhoneNumberUtils.formatNumber(String phoneNumber, String phoneNumberE164, 73 String phoneNumber, String phoneNumberE164, String defaultCountryIso) { 74 int len = phoneNumber.length(); 76 if (!PhoneNumberUtils.isDialable(phoneNumber.charAt(i))) { 77 return phoneNumber; 90 // This makes sure phoneNumber doesn't contain an IDD 91 normalizeNumber(phoneNumber) 72 formatNumber( String phoneNumber, String phoneNumberE164, String defaultCountryIso) argument 117 formatNumber(String phoneNumber, String defaultCountryIso) argument 144 normalizeNumber(String phoneNumber) argument [all...] |
H A D | ContactDisplayUtils.java | 209 public static Spannable getTelephoneTtsSpannable(String message, String phoneNumber) { argument 214 int start = phoneNumber == null ? -1 : message.indexOf(phoneNumber); 216 final int end = start + phoneNumber.length(); 217 final TtsSpan ttsSpan = PhoneNumberUtils.createTtsSpan(phoneNumber); 219 start = message.indexOf(phoneNumber, end);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhoneLookupWithStarPrefix.java | 104 static String normalizeNumberWithStar(String phoneNumber) { argument 105 if (TextUtils.isEmpty(phoneNumber)) { 106 return phoneNumber; 108 if (phoneNumber.startsWith("*")) { 114 phoneNumber.substring(1).replace("+", "")); 116 return PhoneNumberUtils.normalizeNumber(phoneNumber); 126 final String phoneNumber = normalizeNumberWithStar(cursor.getString(numberIndex)); 127 if (phoneNumber.startsWith("*")) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
H A D | PhoneNumberPreference.java | 49 public void setDefaultPhoneNumber(final String phoneNumber, final int subscriptionId) { argument 50 mDefaultPhoneNumber = phoneNumber; 66 final String phoneNumber = bidiFormatter.unicodeWrap 69 setSummary(phoneNumber); 82 final String phoneNumber = bidiFormatter.unicodeWrap 85 getEditText().setText(phoneNumber); 95 final String phoneNumber = phoneUtils.getCanonicalBySystemLocale(value); 100 if (phoneNumber.equals(defaultPhoneNumber)) {
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | CallLogInteractionsLoader.java | 109 private List<ContactInteraction> getCallLogInteractions(String phoneNumber) { argument 112 final String normalizedNumber = PhoneNumberUtils.normalizeNumber(phoneNumber);
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | IntentUtil.java | 148 public static Intent getSendSmsIntent(CharSequence phoneNumber) { argument 149 return new Intent(Intent.ACTION_SENDTO, Uri.parse(SMS_URI_PREFIX + phoneNumber)); 156 public static Intent getNewContactIntent(CharSequence phoneNumber) { argument 159 phoneNumber /* phoneNumber */, 164 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { 166 populateContactIntent(intent, name, phoneNumber, phoneNumberType); 176 public static Intent getAddToExistingContactIntent(CharSequence phoneNumber) { argument 179 phoneNumber /* phoneNumber */, 163 getNewContactIntent( CharSequence name, CharSequence phoneNumber, int phoneNumberType) argument 183 getAddToExistingContactIntent( CharSequence name, CharSequence phoneNumber, int phoneNumberType) argument 190 populateContactIntent( Intent intent, CharSequence name, CharSequence phoneNumber, int phoneNumberType) argument [all...] |
/packages/apps/InCallUI/src/com/android/incallui/service/ |
H A D | PhoneNumberService.java | 29 * @param phoneNumber The phone number to lookup. 33 public void getPhoneNumberInfo(String phoneNumber, NumberLookupListener listener, argument
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | AccessibilityUtil.java | 111 public static String getVocalizedPhoneNumber(final Resources res, final String phoneNumber) { argument 112 if (TextUtils.isEmpty(phoneNumber)) { 116 for (final char c : phoneNumber.toCharArray()) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | RespondViaSmsManager.java | 137 private void showMessageSentToast(final String phoneNumber, final Context context) { argument 144 final String confirmationMsg = String.format(formatString, phoneNumber); 166 private void rejectCallWithMessage(Context context, String phoneNumber, String textMessage, argument 174 final Uri uri = Uri.fromParts(Constants.SCHEME_SMSTO, phoneNumber, null); 182 args.arg1 = phoneNumber;
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
H A D | SmartDialNameMatcher.java | 119 * @param phoneNumber - Raw phone number 126 public SmartDialMatchPosition matchesNumber(String phoneNumber, String query, boolean useNanp) { argument 128 constructEmptyMask(builder, phoneNumber.length()); 132 SmartDialMatchPosition matchPos = matchesNumberWithOffset(phoneNumber, query, 0); 135 SmartDialPrefix.parsePhoneNumber(phoneNumber); 141 matchPos = matchesNumberWithOffset(phoneNumber, query, 145 matchPos = matchesNumberWithOffset(phoneNumber, query, 160 * @param phoneNumber - Raw phone number 164 public SmartDialMatchPosition matchesNumber(String phoneNumber) { argument 165 return matchesNumber(phoneNumber, mQuer 177 matchesNumber(String phoneNumber, String query) argument 191 matchesNumberWithOffset(String phoneNumber, String query, int offset) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapCallLogComposer.java | 173 String phoneNumber, boolean vcardVer21) { 186 if (!TextUtils.isEmpty(phoneNumber)) { 188 builder.appendTelLine(phonetype, label, phoneNumber, false); 172 composeVCardForPhoneOwnNumber(int phonetype, String phoneName, String phoneNumber, boolean vcardVer21) argument
|
H A D | BluetoothPbapVcardManager.java | 290 public final ArrayList<String> getContactNamesByNumber(final String phoneNumber) { argument 298 if (TextUtils.isEmpty(phoneNumber)) { 303 Uri.encode(phoneNumber)); 317 Log.v(TAG, "got name " + nameIdStr + " by number " + phoneNumber);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactTileListFragment.java | 57 void onCallNumberDirectly(String phoneNumber); argument 235 public void onCallNumberDirectly(String phoneNumber) { 237 mListener.onCallNumberDirectly(phoneNumber);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | CallerInfo.java | 53 * Also, it is implied that phoneNumber is more often populated than 55 * names are not known to the device), so phoneNumber should serve as 70 * phoneNumber field. 72 * What we're really doing here is treating phoneNumber as an essential 77 public String phoneNumber; field in class:CallerInfo 190 info.phoneNumber = cursor.getString(columnIndex); 329 phoneNumber = null; 340 * READ_PHONE_STATE permission otherwise the phoneNumber will be 352 phoneNumber = null; 358 // Leave phoneNumber untouche [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
H A D | ContactsUtils.java | 358 * @param phoneNumber must not be null. 361 public static void initiateCall(Context context, CharSequence phoneNumber) { argument 363 Uri.fromParts("tel", phoneNumber.toString(), null)); 370 * @param phoneNumber must not be null. 373 public static void initiateSms(Context context, CharSequence phoneNumber) { argument 375 Uri.fromParts("sms", phoneNumber.toString(), null));
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ContactSelectionActivity.java | 492 public void onCallNumberDirectly(String phoneNumber) { argument 497 public void onCallNumberDirectly(String phoneNumber, boolean isVideoCall) { argument
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | AggregationSuggestionEngine.java | 75 public String phoneNumber; field in class:AggregationSuggestionEngine.Suggestion 84 + " phone: " + phoneNumber + " email: " + emailAddress + " nickname: " 409 && (superprimary != 0 || suggestion.phoneNumber == null)) { 410 suggestion.phoneNumber = data;
|
/packages/apps/Dialer/src/com/android/dialer/interactions/ |
H A D | PhoneNumberInteraction.java | 82 String phoneNumber; field in class:PhoneNumberInteraction.PhoneItem 95 this.phoneNumber = in.readString(); 106 dest.writeString(phoneNumber); 126 return MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, phoneNumber, 127 Phone.CONTENT_ITEM_TYPE, phoneItem.phoneNumber); 132 return phoneNumber; 243 PhoneNumberInteraction.performAction(activity, phoneItem.phoneNumber, 311 private void performAction(String phoneNumber) { argument 312 PhoneNumberInteraction.performAction(mContext, phoneNumber, mInteractionType, mCallOrigin); 316 Context context, String phoneNumber, in 315 performAction( Context context, String phoneNumber, int interactionType, String callOrigin) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | SpeedDialFragment.java | 123 public void onCallNumberDirectly(String phoneNumber) { argument 125 mPhoneNumberPickerActionListener.onCallNumberDirectly(phoneNumber);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
H A D | ParticipantData.java | 200 private static ParticipantData getFromRawPhone(final String phoneNumber) { argument 201 Assert.isTrue(phoneNumber != null); 206 pd.mSendDestination = TextUtil.replaceUnicodeDigits(phoneNumber); 226 * @param phoneNumber The raw phone number 229 public static ParticipantData getFromRawPhoneBySystemLocale(final String phoneNumber) { argument 230 final ParticipantData pd = getFromRawPhone(phoneNumber); 248 * @param phoneNumber The raw phone number 252 final String phoneNumber, final int subId) { 253 final ParticipantData pd = getFromRawPhone(phoneNumber); 360 final String phoneNumber 251 getFromRawPhoneBySimLocale( final String phoneNumber, final int subId) argument [all...] |