Home
last modified time | relevance | path

Searched refs:fieldList (Results 1 – 14 of 14) 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 …]
DGoogleAccountType.java99 kind.fieldList = Lists.newArrayList(); in addDataKindPhone()
100 kind.fieldList.add(new EditField(Phone.NUMBER, R.string.phoneLabelsGroup, FLAGS_PHONE)); in addDataKindPhone()
117 kind.fieldList = Lists.newArrayList(); in addDataKindEmail()
118 kind.fieldList.add(new EditField(Email.DATA, R.string.emailLabelsGroup, FLAGS_EMAIL)); in addDataKindEmail()
151 kind.fieldList = Lists.newArrayList(); in addDataKindRelation()
152 kind.fieldList.add(new EditField(Relation.DATA, R.string.relationLabelsGroup, in addDataKindRelation()
177 kind.fieldList = Lists.newArrayList(); in addDataKindEvent()
178 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.java110 if (kind.fieldList.size() != 1) throw new IllegalStateException("kind must have 1 field"); in setValues()
119 final EditField editField = getKind().fieldList.get(0); in rebuildDateView()
136 final EditField editField = getKind().fieldList.get(0); in isEmpty()
161 final String column = getKind().fieldList.get(0).column; in onLabelRebuilt()
192 final String column = getKind().fieldList.get(0).column; in createDatePickerDialog()
261 final String column = getKind().fieldList.get(0).column; in clearAllFields()
DKindSectionView.java216 final int fieldCount = mKind.fieldList.size(); in isEmptyNoop()
218 final String column = mKind.fieldList.get(i).column; in isEmptyNoop()
DTextFieldsEditorView.java199 int fieldCount = kind.fieldList.size(); in setValues()
202 final EditField field = kind.fieldList.get(index); in setValues()
DRawContactEditorView.java330 if (kind.fieldList == null) continue; in setState()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java494 if (kind.fieldList == null) return true; in isEmpty()
496 for (EditField field : kind.fieldList) { in isEmpty()
512 if (kind.fieldList == null) return false; in areEqual()
514 for (EditField field : kind.fieldList) { in areEqual()
613 if (kind.fieldList != null) { in parseStructuredNameExtra()
614 for (EditField field : kind.fieldList) { in parseStructuredNameExtra()
670 if (kind.fieldList != null) { in parseStructuredPostalExtra()
671 for (EditField field : kind.fieldList) { in parseStructuredPostalExtra()
1055 for (EditField editField : newDataKind.fieldList) { in migrateStructuredName()
1155 final String firstColumn = newDataKind.fieldList.get(0).column; in migratePostal()
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java111 phoneKind.fieldList = Lists.newArrayList(); in MockContactsSource()
112 phoneKind.fieldList.add(new EditField(Phone.NUMBER, -1, -1)); in MockContactsSource()
113 phoneKind.fieldList.add(new EditField(Phone.LABEL, -1, -1)); in MockContactsSource()
120 emailKind.fieldList = Lists.newArrayList(); in MockContactsSource()
121 emailKind.fieldList.add(new EditField(Email.DATA, -1, -1)); in MockContactsSource()
127 imKind.fieldList = Lists.newArrayList(); in MockContactsSource()
128 imKind.fieldList.add(new EditField(Im.DATA, -1, -1)); in MockContactsSource()
134 orgKind.fieldList = Lists.newArrayList(); in MockContactsSource()
135 orgKind.fieldList.add(new EditField(Organization.COMPANY, -1, -1)); in MockContactsSource()
136 orgKind.fieldList.add(new EditField(Organization.TITLE, -1, -1)); in MockContactsSource()
/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()