Searched refs:displayNameSource (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 190 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource, in constructTopLevelEntry() argument 194 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource, in constructTopLevelEntry() 200 public static RecipientEntry constructTopLevelEntry(String displayName, int displayNameSource, in constructTopLevelEntry() argument 204 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource, in constructTopLevelEntry() 212 int displayNameSource, String destination, int destinationType, in constructSecondLevelEntry() argument 215 return new RecipientEntry(ENTRY_TYPE_PERSON, pickDisplayName(displayNameSource, in constructSecondLevelEntry() 245 private static String pickDisplayName(int displayNameSource, String displayName, in pickDisplayName() argument 247 return (displayNameSource > DisplayNameSources.PHONE) ? displayName : destination; in pickDisplayName()
|
D | BaseRecipientAdapter.java | 148 public final int displayNameSource; field in BaseRecipientAdapter.TemporaryEntry 160 int displayNameSource, in TemporaryEntry() argument 170 this.displayNameSource = displayNameSource; in TemporaryEntry() 183 this.displayNameSource = cursor.getInt(Queries.Query.DISPLAY_NAME_SOURCE); in TemporaryEntry() 816 entry.displayNameSource, in putOneEntry() 825 entry.displayNameSource, in putOneEntry() 833 entry.displayNameSource, in putOneEntry()
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapterTest.java | 85 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()
|