Searched defs:normalizedName (Results 1 - 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DCommonNicknameCache.java78 String normalizedName = cursor.getString(NicknameLookupPreloadQuery.NAME);
79 int hashCode = normalizedName.hashCode();
90 public String[] getCommonNicknameClusters(String normalizedName) { argument
95 int hashCode = normalizedName.hashCode();
103 if (mNicknameClusterCache.containsKey(normalizedName)) {
104 ref = mNicknameClusterCache.get(normalizedName);
113 clusters = loadNicknameClusters(normalizedName);
116 mNicknameClusterCache.put(normalizedName, ref);
132 protected String[] loadNicknameClusters(String normalizedName) { argument
135 NicknameLookupColumns.NAME + "=?", new String[] { normalizedName },
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameLookupBuilder.java92 * @param normalizedName A normalized first name, see {@link NameNormalizer#normalize}.
94 protected abstract String[] getCommonNicknameClusters(String normalizedName); argument
H A DContactsDatabaseHelper.java955 protected String[] getCommonNicknameClusters(String normalizedName) { argument
956 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName);
3724 int lookupType, String normalizedName) {
3728 stmt.bindString(4, normalizedName);
5591 String normalizedName = NameNormalizer.normalize(name);
5593 DatabaseUtils.bindObjectToProgram(nicknameLookupInsert, 1, normalizedName);
3723 insertNormalizedNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String normalizedName) argument
H A DContactsProvider2.java9371 protected String[] getCommonNicknameClusters(String normalizedName) { argument
9372 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DNameLookupBuilderTest.java56 protected String[] getCommonNicknameClusters(String normalizedName) { argument
57 if (normalizedName.equals("Bill")) {
59 } else if (normalizedName.equals("Al")) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DAbstractContactAggregator.java1009 String normalizedName = c.getString(NameLookupQuery.NORMALIZED_NAME);
1011 candidates.add(normalizedName, type);
1083 protected String[] getCommonNicknameClusters(String normalizedName) { argument
1084 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName);

Completed in 192 milliseconds