Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialPrefix.java138 final ArrayList<String> indexTokens = parseToIndexTokens(context, index); in generateNamePrefixes() local
140 if (indexTokens.size() > 0) { in generateNamePrefixes()
148 for (int i = indexTokens.size() - 1; i >= 0; i--) { in generateNamePrefixes()
149 fullNameToken.insert(0, indexTokens.get(i)); in generateNamePrefixes()
161 fullNames.add(indexTokens.get(indexTokens.size() - 1)); in generateNamePrefixes()
165 for (int i = indexTokens.size() - 2; i >= 0; i--) { in generateNamePrefixes()
166 if ((i >= indexTokens.size() - LAST_TOKENS_FOR_INITIALS) in generateNamePrefixes()
168 initial = indexTokens.get(i).substring(0, 1); in generateNamePrefixes()
179 fullNames.add(indexTokens.get(i) + currentFullName); in generateNamePrefixes()