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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DCommonNicknameCache.java79 String normalizedName = cursor.getString(NicknameLookupPreloadQuery.NAME);
80 int hashCode = normalizedName.hashCode();
91 public String[] getCommonNicknameClusters(String normalizedName) { argument
99 int hashCode = normalizedName.hashCode();
107 if (mNicknameClusterCache.containsKey(normalizedName)) {
108 ref = mNicknameClusterCache.get(normalizedName);
117 clusters = loadNicknameClusters(normalizedName);
120 mNicknameClusterCache.put(normalizedName, ref);
136 protected String[] loadNicknameClusters(String normalizedName) { argument
139 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.java926 protected String[] getCommonNicknameClusters(String normalizedName) { argument
927 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName);
2932 int lookupType, String normalizedName) {
2936 stmt.bindString(4, normalizedName);
4361 String normalizedName = NameNormalizer.normalize(name);
4363 nicknameLookupInsert.bindString(1, normalizedName);
2931 insertNormalizedNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, int lookupType, String normalizedName) argument
H A DContactsProvider2.java9474 protected String[] getCommonNicknameClusters(String normalizedName) { argument
9475 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.java1014 String normalizedName = c.getString(NameLookupQuery.NORMALIZED_NAME);
1016 candidates.add(normalizedName, type);
1088 protected String[] getCommonNicknameClusters(String normalizedName) { argument
1089 return mCommonNicknameCache.getCommonNicknameClusters(normalizedName);

Completed in 87 milliseconds