Home
last modified time | relevance | path

Searched refs:fieldList (Results 1 – 16 of 16) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DExchangeAccountType.java89 kind.fieldList = Lists.newArrayList(); in addDataKindStructuredName()
90 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, in addDataKindStructuredName()
92 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, in addDataKindStructuredName()
94 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, in addDataKindStructuredName()
96 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, in addDataKindStructuredName()
98 kind.fieldList.add(new EditField(StructuredName.SUFFIX, in addDataKindStructuredName()
101 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in addDataKindStructuredName()
103 kind.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME, in addDataKindStructuredName()
118 kind.fieldList = Lists.newArrayList(); in addDataKindDisplayName()
119 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, in addDataKindDisplayName()
[all …]
DBaseAccountType.java156 kind.fieldList = Lists.newArrayList(); in addDataKindStructuredName()
157 kind.fieldList.add(new EditField(StructuredName.DISPLAY_NAME, in addDataKindStructuredName()
159 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, in addDataKindStructuredName()
161 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family, in addDataKindStructuredName()
163 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle, in addDataKindStructuredName()
165 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, in addDataKindStructuredName()
167 kind.fieldList.add(new EditField(StructuredName.SUFFIX, R.string.name_suffix, in addDataKindStructuredName()
169 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in addDataKindStructuredName()
171 kind.fieldList.add(new EditField(StructuredName.PHONETIC_MIDDLE_NAME, in addDataKindStructuredName()
173 kind.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME, in addDataKindStructuredName()
[all …]
DSamsungAccountType.java100 kind.fieldList = Lists.newArrayList(); in addDataKindStructuredPostal()
102 kind.fieldList.add(new EditField(StructuredPostal.COUNTRY, in addDataKindStructuredPostal()
104 kind.fieldList.add(new EditField(StructuredPostal.POSTCODE, in addDataKindStructuredPostal()
106 kind.fieldList.add(new EditField(StructuredPostal.REGION, in addDataKindStructuredPostal()
108 kind.fieldList.add(new EditField(StructuredPostal.CITY, in addDataKindStructuredPostal()
110 kind.fieldList.add(new EditField(StructuredPostal.STREET, in addDataKindStructuredPostal()
113 kind.fieldList.add(new EditField(StructuredPostal.STREET, in addDataKindStructuredPostal()
115 kind.fieldList.add(new EditField(StructuredPostal.CITY, in addDataKindStructuredPostal()
117 kind.fieldList.add(new EditField(StructuredPostal.REGION, in addDataKindStructuredPostal()
119 kind.fieldList.add(new EditField(StructuredPostal.POSTCODE, in addDataKindStructuredPostal()
[all …]
DGoogleAccountType.java100 kind.fieldList = Lists.newArrayList(); in addDataKindPhone()
101 kind.fieldList.add(new EditField(Phone.NUMBER, R.string.phoneLabelsGroup, FLAGS_PHONE)); in addDataKindPhone()
118 kind.fieldList = Lists.newArrayList(); in addDataKindEmail()
119 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL)); in addDataKindEmail()
152 kind.fieldList = Lists.newArrayList(); in addDataKindRelation()
153 kind.fieldList.add(new EditField(Relation.DATA, R.string.relationLabelsGroup, in addDataKindRelation()
178 kind.fieldList = Lists.newArrayList(); in addDataKindEvent()
179 kind.fieldList.add(new EditField(Event.DATA, R.string.eventLabelsGroup, FLAGS_EVENT)); in addDataKindEvent()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DExchangeSource.java73 kind.fieldList = Lists.newArrayList(); in inflateStructuredName()
74 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, in inflateStructuredName()
77 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, in inflateStructuredName()
79 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, in inflateStructuredName()
81 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, in inflateStructuredName()
83 kind.fieldList.add(new EditField(StructuredName.SUFFIX, in inflateStructuredName()
85 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in inflateStructuredName()
87 kind.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME, in inflateStructuredName()
90 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, in inflateStructuredName()
92 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, in inflateStructuredName()
[all …]
DFallbackSource.java116 kind.fieldList = Lists.newArrayList(); in inflateStructuredName()
117 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix, in inflateStructuredName()
120 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family, in inflateStructuredName()
122 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle, in inflateStructuredName()
124 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, in inflateStructuredName()
126 kind.fieldList.add(new EditField(StructuredName.SUFFIX, R.string.name_suffix, in inflateStructuredName()
128 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME, in inflateStructuredName()
130 kind.fieldList.add(new EditField(StructuredName.PHONETIC_MIDDLE_NAME, in inflateStructuredName()
132 kind.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME, in inflateStructuredName()
135 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given, in inflateStructuredName()
[all …]
DGoogleSource.java99 kind.fieldList = Lists.newArrayList(); in inflatePhone()
100 kind.fieldList.add(new EditField(Phone.NUMBER, R.string.phoneLabelsGroup, FLAGS_PHONE)); in inflatePhone()
119 kind.fieldList = Lists.newArrayList(); in inflateEmail()
120 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL)); in inflateEmail()
DContactsSource.java220 public List<EditField> fieldList; field in ContactsSource.DataKind
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java112 if (kind.fieldList.size() != 1) throw new IllegalStateException("kind must have 1 field"); in setValues()
122 final EditField editField = getKind().fieldList.get(0); in rebuildDateView()
139 final EditField editField = getKind().fieldList.get(0); in isEmpty()
164 final String column = getKind().fieldList.get(0).column; in onLabelRebuilt()
195 final String column = getKind().fieldList.get(0).column; in createDatePickerDialog()
264 final String column = getKind().fieldList.get(0).column; in clearAllFields()
DKindSectionData.java104 if (mDataKind.fieldList != null) { in isEmpty()
105 for (EditField editField : mDataKind.fieldList) { in isEmpty()
DTextFieldsEditorView.java210 int fieldCount = kind.fieldList == null ? 0 : kind.fieldList.size(); in setValues()
213 final EditField field = kind.fieldList.get(index); in setValues()
DKindSectionView.java213 final int fieldCount = mKind.fieldList.size(); in isEmptyNoop()
215 final String column = mKind.fieldList.get(i).column; in isEmptyNoop()
DRawContactEditorView.java300 if (kind.fieldList == null) continue; in setState()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java484 if (kind.fieldList == null) return true; in isEmpty()
486 for (EditField field : kind.fieldList) { in isEmpty()
502 if (kind.fieldList == null) return false; in areEqual()
504 for (EditField field : kind.fieldList) { in areEqual()
603 if (kind.fieldList != null) { in parseStructuredNameExtra()
604 for (EditField field : kind.fieldList) { in parseStructuredNameExtra()
663 if (kind.fieldList != null) { in parseStructuredPostalExtra()
664 for (EditField field : kind.fieldList) { in parseStructuredPostalExtra()
1048 for (EditField editField : newDataKind.fieldList) { in migrateStructuredName()
1148 final String firstColumn = newDataKind.fieldList.get(0).column; in migratePostal()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataKind.java63 public List<EditField> fieldList; field in DataKind
121 sb.append(" fieldList=").append(toString(fieldList)); in toString()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java112 phoneKind.fieldList = Lists.newArrayList(); in MockContactsSource()
113 phoneKind.fieldList.add(new EditField(Phone.NUMBER, -1, -1)); in MockContactsSource()
114 phoneKind.fieldList.add(new EditField(Phone.LABEL, -1, -1)); in MockContactsSource()
121 emailKind.fieldList = Lists.newArrayList(); in MockContactsSource()
122 emailKind.fieldList.add(new EditField(Email.DATA, -1, -1)); in MockContactsSource()
128 imKind.fieldList = Lists.newArrayList(); in MockContactsSource()
129 imKind.fieldList.add(new EditField(Im.DATA, -1, -1)); in MockContactsSource()
135 orgKind.fieldList = Lists.newArrayList(); in MockContactsSource()
136 orgKind.fieldList.add(new EditField(Organization.COMPANY, -1, -1)); in MockContactsSource()
137 orgKind.fieldList.add(new EditField(Organization.TITLE, -1, -1)); in MockContactsSource()