Home
last modified time | relevance | path

Searched refs:superPrimary (Results 1 – 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java120 final Integer superPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY); in insert() local
121 if ((primary != null && primary != 0) || (superPrimary != null && superPrimary != 0)) { in insert()
128 if (superPrimary != null) { in insert()
129 if (superPrimary != 0) { in insert()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataItem.java133 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary() local
134 return superPrimary != null && superPrimary != 0; in isSuperPrimary()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoEditorView.java226 public void setSuperPrimary(boolean superPrimary) { in setSuperPrimary() argument
227 mEntry.put(Photo.IS_SUPER_PRIMARY, superPrimary ? 1 : 0); in setSuperPrimary()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java241 boolean superPrimary) { in insertOrganization() argument
248 if (superPrimary) { in insertOrganization()
265 boolean superPrimary) { in insertPhoneNumber() argument
266 return insertPhoneNumber(rawContactId, phoneNumber, primary, superPrimary, Phone.TYPE_HOME); in insertPhoneNumber()
275 boolean superPrimary, int type) { in insertPhoneNumber() argument
284 if (superPrimary) { in insertPhoneNumber()
301 boolean superPrimary) { in insertEmail() argument
302 return insertEmail(rawContactId, email, primary, superPrimary, Email.TYPE_HOME, null); in insertEmail()
311 boolean superPrimary, int type, String label) { in insertEmail() argument
321 if (superPrimary) { in insertEmail()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java1476 boolean superPrimary = c.getInt(RawContactsQuery.IS_SUPER_PRIMARY) != 0; in computeAggregateData()
1485 if (superPrimary || hasHigherPhotoPriority( in computeAggregateData()
1491 foundSuperPrimaryPhoto |= superPrimary; in computeAggregateData()
1639 boolean superPrimary = c.getInt(PhotoIdQuery.IS_SUPER_PRIMARY) != 0; in updatePhotoId()
1646 if (superPrimary || hasHigherPhotoPriority( in updatePhotoId()
1652 if (superPrimary) { in updatePhotoId()