Home
last modified time | relevance | path

Searched refs:pairEndIndex (Results 1 – 2 of 2) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DAddress.java487 int pairEndIndex; in fromHeader() local
497 pairEndIndex = addressList.indexOf(LIST_DELIMITER_EMAIL, pairStartIndex); in fromHeader()
498 if (pairEndIndex == -1) { in fromHeader()
499 pairEndIndex = length; in fromHeader()
502 if (addressEndIndex == -1 || pairEndIndex <= addressEndIndex) { in fromHeader()
505 address = new Address(addressList.substring(pairStartIndex, pairEndIndex), null); in fromHeader()
508 addressList.substring(addressEndIndex + 1, pairEndIndex)); in fromHeader()
510 addressEndIndex = addressList.indexOf(LIST_DELIMITER_PERSONAL, pairEndIndex + 1); in fromHeader()
513 pairStartIndex = pairEndIndex + 1; in fromHeader()
/packages/services/Telephony/src/com/android/phone/common/mail/
DAddress.java486 int pairEndIndex; in fromHeader() local
496 pairEndIndex = addressList.indexOf(LIST_DELIMITER_EMAIL, pairStartIndex); in fromHeader()
497 if (pairEndIndex == -1) { in fromHeader()
498 pairEndIndex = length; in fromHeader()
501 if (addressEndIndex == -1 || pairEndIndex <= addressEndIndex) { in fromHeader()
504 address = new Address(addressList.substring(pairStartIndex, pairEndIndex), null); in fromHeader()
507 addressList.substring(addressEndIndex + 1, pairEndIndex)); in fromHeader()
509 addressEndIndex = addressList.indexOf(LIST_DELIMITER_PERSONAL, pairEndIndex + 1); in fromHeader()
512 pairStartIndex = pairEndIndex + 1; in fromHeader()