Home
last modified time | relevance | path

Searched refs:delimiterIndex (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberHelper.java87 int delimiterIndex = number.indexOf('@'); in getUsernameFromUriNumber() local
88 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
89 delimiterIndex = number.indexOf("%40"); in getUsernameFromUriNumber()
91 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
96 return number.substring(0, delimiterIndex); in getUsernameFromUriNumber()
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
DPhoneNumberHelper.java328 int delimiterIndex = number.indexOf('@'); in getUsernameFromUriNumber() local
329 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
330 delimiterIndex = number.indexOf("%40"); in getUsernameFromUriNumber()
332 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
339 return number.substring(0, delimiterIndex); in getUsernameFromUriNumber()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DReadableArchive.java120 int delimiterIndex; in ReadableArchive() local
130 delimiterIndex = entryPath.lastIndexOf('/', entry.isDirectory() in ReadableArchive()
132 parentPath = entryPath.substring(0, delimiterIndex) + "/"; in ReadableArchive()