Home
last modified time | relevance | path

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

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java190 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()
DBaseRecipientAdapter.java148 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/
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()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java341 CharSequence carrierName, int displayNameSource, int iconTint, String number, in SubscriptionInfo() argument
348 this(id, iccId, simSlotIndex, displayName, carrierName, displayNameSource, iconTint, number, in SubscriptionInfo()
1469 public Builder setDisplayNameSource(@SimDisplayNameSource int displayNameSource) { in setDisplayNameSource() argument
1470 mDisplayNameSource = displayNameSource; in setDisplayNameSource()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionInfoInternal.java2038 public Builder setDisplayNameSource(@SimDisplayNameSource int displayNameSource) { in setDisplayNameSource() argument
2039 mDisplayNameSource = displayNameSource; in setDisplayNameSource()
DSubscriptionDatabaseManager.java1126 public void setDisplayNameSource(int subId, @SimDisplayNameSource int displayNameSource) { in setDisplayNameSource() argument
1127 writeDatabaseAndCacheHelper(subId, SimInfo.COLUMN_NAME_SOURCE, displayNameSource, in setDisplayNameSource()