Home
last modified time | relevance | path

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

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java144 private static String pickDisplayName(int displayNameSource, String displayName, in pickDisplayName() argument
146 return (displayNameSource > DisplayNameSources.PHONE) ? displayName : destination; in pickDisplayName()
161 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource, in constructTopLevelEntry() argument
165 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource, in constructTopLevelEntry()
170 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource, in constructTopLevelEntry() argument
174 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource, in constructTopLevelEntry()
181 int displayNameSource, String destination, int destinationType, in constructSecondLevelEntry() argument
184 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource, in constructSecondLevelEntry()
DBaseRecipientAdapter.java136 public final int displayNameSource; field in BaseRecipientAdapter.TemporaryEntry
148 int displayNameSource, in TemporaryEntry() argument
158 this.displayNameSource = displayNameSource; in TemporaryEntry()
171 this.displayNameSource = cursor.getInt(Queries.Query.DISPLAY_NAME_SOURCE); in TemporaryEntry()
734 entry.displayNameSource, in putOneEntry()
743 entry.displayNameSource, in putOneEntry()
751 entry.displayNameSource, in putOneEntry()
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java85 int displayNameSource in addRow() argument
88 contactId, dataId, photoUri, displayNameSource}); in addRow()
100 int displayNameSource in assertRow() argument
110 assertEquals(displayNameSource, c.getInt(7)); in assertRow()