Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java287 final DataKind dataKind = mKindSectionData.getDataKind(); in setState() local
288 if (dataKind != null) { in setState()
290 dataKind.mimeType)); in setState()
292 mIcon.setContentDescription(dataKind.titleRes == -1 || dataKind.titleRes == 0 in setState()
293 ? "" : getResources().getString(dataKind.titleRes)); in setState()
396 private void addGroupEditorView(RawContactDelta rawContactDelta, DataKind dataKind) { in addGroupEditorView() argument
399 view.setKind(dataKind); in addGroupEditorView()
409 private View addNonNameEditorView(RawContactDelta rawContactDelta, DataKind dataKind, in addNonNameEditorView() argument
413 EditorUiUtils.getLayoutResourceId(dataKind.mimeType), mEditors, false); in addNonNameEditorView()
419 editor.setValues(dataKind, valuesDelta, rawContactDelta, !dataKind.editable, in addNonNameEditorView()
[all …]
DRawContactEditorView.java598 final DataKind dataKind = dataKinds.get(i); in parseRawContactDelta() local
600 if (dataKind == null || !dataKind.editable) { in parseRawContactDelta()
603 (dataKind == null ? " dropped null data kind" in parseRawContactDelta()
604 : " dropped uneditable mimetype: " + dataKind.mimeType)); in parseRawContactDelta()
608 final String mimeType = dataKind.mimeType; in parseRawContactDelta()
614 Log.v(TAG, "parse: " + i + " " + dataKind.mimeType + " dropped pseudo type"); in parseRawContactDelta()
623 Log.v(TAG, "parse: " + i + " " + dataKind.mimeType + " dropped custom field"); in parseRawContactDelta()
629 new KindSectionData(accountType, dataKind, mCurrentRawContactDelta); in parseRawContactDelta()
634 Log.v(TAG, "parse: " + i + " " + dataKind.mimeType + " " + in parseRawContactDelta()
DKindSectionData.java39 public KindSectionData(AccountType accountType, DataKind dataKind, in KindSectionData() argument
42 mDataKind = dataKind; in KindSectionData()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DExternalAccountType.java179 final DataKind dataKind = getKindForMimetype(GroupMembership.CONTENT_ITEM_TYPE); in ExternalAccountType() local
180 mGroupMembershipEditable = dataKind != null && dataKind.editable; in ExternalAccountType()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1240 final DataKind dataKind = AccountTypeManager.getInstance(this) in generateDataModelFromContact() local
1242 if (dataKind == null) continue; in generateDataModelFromContact()
1244 dataItem.setDataKind(dataKind); in generateDataModelFromContact()
1247 dataKind)); in generateDataModelFromContact()