Home
last modified time | relevance | path

Searched refs:typeColumn (Results 1 – 20 of 20) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForCommonDataKind.java37 ContactAggregator aggregator, String mimetype, String typeColumn, String labelColumn) { in DataRowHandlerForCommonDataKind() argument
39 mTypeColumn = typeColumn; in DataRowHandlerForCommonDataKind()
DLegacyApiSupport.java1473 private void copyCommonFields(ContentValues values, String mimeType, String typeColumn, in copyCommonFields() argument
1476 ContactsDatabaseHelper.copyLongValue(mValues, typeColumn, values, in copyCommonFields()
/packages/apps/Contacts/src/com/android/contacts/model/
DGoogleAccountType.java80 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
103 kind.typeColumn = Email.TYPE; in addDataKindEmail()
123 kind.typeColumn = Relation.TYPE; in addDataKindRelation()
158 kind.typeColumn = Event.TYPE; in addDataKindEvent()
DEntityModifier.java241 final Long rawValue = entry.getAsLong(kind.typeColumn); in getCurrentType()
251 if (kind.typeColumn == null) return null; in getCurrentType()
252 final Integer rawValue = entry.getAsInteger(kind.typeColumn); in getCurrentType()
262 if (kind.typeColumn == null) return null; in getCurrentType()
263 final int index = cursor.getColumnIndex(kind.typeColumn); in getCurrentType()
303 if (kind.typeColumn == null) return null; in getBestValidType()
371 if (kind.typeColumn != null && type != null) { in insertChild()
373 after.put(kind.typeColumn, type.rawValue); in insertChild()
782 if (kind.typeColumn == null || kind.typeList == null || kind.typeList.size() == 0) { in adjustType()
786 Integer typeInteger = entry.getAsInteger(kind.typeColumn); in adjustType()
[all …]
DDataKind.java57 public String typeColumn; field in DataKind
124 sb.append(" typeColumn=").append(typeColumn); in toString()
DExchangeAccountType.java170 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
214 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
310 kind.typeColumn = Event.TYPE; in addDataKindEvent()
DBaseAccountType.java262 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
298 kind.typeColumn = Email.TYPE; in addDataKindEmail()
318 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
348 kind.typeColumn = Im.PROTOCOL; in addDataKindIm()
786 AttributeSet attrs, boolean isPseudo, String mimeType, String typeColumn, in newDataKind() argument
797 kind.typeColumn = typeColumn; in newDataKind()
810 if (kind.typeColumn != null) { in newDataKind()
/packages/apps/Phone/src/com/android/phone/
DBluetoothAtPhonebook.java73 public int typeColumn; field in BluetoothAtPhonebook.PhonebookResult
349 pbr.typeColumn = -1; in queryPhonebook()
357 pbr.typeColumn = pbr.cursor.getColumnIndex(Phone.TYPE); in queryPhonebook()
447 if (pbr.typeColumn != -1) { in processCpbrCommand()
448 type = pbr.cursor.getInt(pbr.typeColumn); in processCpbrCommand()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java79 if (kind.typeColumn != null) { in DataAction()
80 if (entryValues.containsKey(kind.typeColumn)) { in DataAction()
81 final int typeValue = entryValues.getAsInteger(kind.typeColumn); in DataAction()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DExchangeSource.java128 kind.typeColumn = Phone.TYPE; in inflatePhone()
176 kind.typeColumn = StructuredPostal.TYPE; in inflateStructuredPostal()
224 kind.typeColumn = Im.PROTOCOL; in inflateIm()
250 kind.typeColumn = Organization.TYPE; in inflateOrganization()
DGoogleSource.java87 kind.typeColumn = Phone.TYPE; in inflatePhone()
111 kind.typeColumn = Email.TYPE; in inflateEmail()
DFallbackSource.java190 kind.typeColumn = Phone.TYPE; in inflatePhone()
233 kind.typeColumn = Email.TYPE; in inflateEmail()
261 kind.typeColumn = StructuredPostal.TYPE; in inflateStructuredPostal()
324 kind.typeColumn = Im.PROTOCOL; in inflateIm()
354 kind.typeColumn = Organization.TYPE; in inflateOrganization()
DContactsSource.java211 public String typeColumn; field in ContactsSource.DataKind
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceContact.java136 final int typeColumn = cursor.getColumnIndexOrThrow(Phone.TYPE); in getVoiceContacts() local
155 int typeAtCursor = cursor.getInt(typeColumn); in getVoiceContacts()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java411 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
476 mEntry.put(mKind.typeColumn, mType.rawValue); in onTypeSelectionChange()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java267 final int typeColumn = insertHelper.getColumnIndex( in addDefaultBookmarks() local
303 insertHelper.bind(typeColumn, in addDefaultBookmarks()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactFragment.java561 if (kind.typeColumn != null && values.containsKey(kind.typeColumn)) { in fromValues()
562 entry.type = values.getAsInteger(kind.typeColumn); in fromValues()
/packages/apps/Contacts/tests/src/com/android/contacts/
DEntityModifierTests.java102 phoneKind.typeColumn = Phone.TYPE; in MockContactsSource()
472 before.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimEmptyAfterUpdate()
585 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateRemain()
591 second.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateRemain()
656 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateUpdate()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java951 private void assertPersonIdConstraint(Uri uri, String typeColumn, int defaultType) { in assertPersonIdConstraint() argument
953 values.put(typeColumn, defaultType); in assertPersonIdConstraint()
963 String typeColumn, int defaultType, int otherType, String labelColumn) { in assertTypeAndLabelConstraints() argument
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java1273 if (kind.typeColumn != null && values.containsKey(kind.typeColumn)) { in fromValues()
1274 entry.type = values.getAsInteger(kind.typeColumn); in fromValues()