Home
last modified time | relevance | path

Searched refs:typeOverallMax (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DExchangeAccountType.java89 kind.typeOverallMax = 1; in addDataKindStructuredName()
126 kind.typeOverallMax = 1; in addDataKindDisplayName()
168 kind.typeOverallMax = 1; in addDataKindPhoneticName()
185 kind.typeOverallMax = 1; in addDataKindNickname()
222 kind.typeOverallMax = 3; in addDataKindEmail()
275 kind.typeOverallMax = 3; in addDataKindIm()
290 kind.typeOverallMax = 1; in addDataKindOrganization()
305 kind.typeOverallMax = 1; in addDataKindPhoto()
330 kind.typeOverallMax = 1; in addDataKindEvent()
348 kind.typeOverallMax = 1; in addDataKindWebsite()
DBaseAccountType.java166 kind.typeOverallMax = 1; in addDataKindStructuredName()
209 kind.typeOverallMax = 1; in addDataKindDisplayName()
266 kind.typeOverallMax = 1; in addDataKindPhoneticName()
293 kind.typeOverallMax = 1; in addDataKindNickname()
437 kind.typeOverallMax = 1; in addDataKindOrganization()
450 kind.typeOverallMax = 1; in addDataKindPhoto()
459 kind.typeOverallMax = 1; in addDataKindNote()
500 kind.typeOverallMax = 1; in addDataKindSipAddress()
514 kind.typeOverallMax = 1; in addDataKindGroupMembership()
888 kind.typeOverallMax = getAttr(attrs, Attr.MAX_OCCURRENCE, -1); in newDataKind()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/account/
DExchangeAccountType.java89 kind.typeOverallMax = 1; in addDataKindStructuredName()
118 kind.typeOverallMax = 1; in addDataKindPhoneticName()
133 kind.typeOverallMax = 1; in addDataKindNickname()
176 kind.typeOverallMax = 3; in addDataKindEmail()
229 kind.typeOverallMax = 3; in addDataKindIm()
244 kind.typeOverallMax = 1; in addDataKindOrganization()
261 kind.typeOverallMax = 1; in addDataKindPhoto()
285 kind.typeOverallMax = 1; in addDataKindEvent()
303 kind.typeOverallMax = 1; in addDataKindWebsite()
DSimAccountType.java48 phoneKind.typeOverallMax = 1; in SimAccountType()
82 kind.typeOverallMax = 1; in addDataKindStructuredName()
100 kind.typeOverallMax = 1; in addDataKindName()
DBaseAccountType.java157 kind.typeOverallMax = 1; in addDataKindStructuredName()
185 kind.typeOverallMax = 1; in addDataKindName()
219 kind.typeOverallMax = 1; in addDataKindPhoneticName()
236 kind.typeOverallMax = 1; in addDataKindNickname()
367 kind.typeOverallMax = 1; in addDataKindOrganization()
382 kind.typeOverallMax = 1; in addDataKindPhoto()
391 kind.typeOverallMax = 1; in addDataKindNote()
425 kind.typeOverallMax = 1; in addDataKindSipAddress()
434 kind.typeOverallMax = 1; in addDataKindGroupMembership()
779 kind.typeOverallMax = getAttr(attrs, Attr.MAX_OCCURRENCE, -1); in newDataKind()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java92 final boolean validOverall = (kind.typeOverallMax == -1) in canInsert()
93 || (visibleCount < kind.typeOverallMax); in canInsert()
164 validOverall = (kind.typeOverallMax == -1 ? true in getValidTypes()
165 : overallCount < kind.typeOverallMax); in getValidTypes()
716 if ((kind.typeOverallMax != 1) || GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { in parseValues()
732 if (kind.typeOverallMax != -1 && count >= kind.typeOverallMax) { in parseValues()
733 Log.e(TAG, "Mimetype allows at most " + kind.typeOverallMax in parseValues()
1020 final int typeOverallMax = kind.typeOverallMax; in ensureEntryMaxSize() local
1021 if (typeOverallMax >= 0 && (mimeEntries.size() > typeOverallMax)) { in ensureEntryMaxSize()
1022 ArrayList<ValuesDelta> newMimeEntries = new ArrayList<ValuesDelta>(typeOverallMax); in ensureEntryMaxSize()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataKind.java60 public int typeOverallMax; field in DataKind
96 this.typeOverallMax = -1; in DataKind()
119 sb.append(" typeOverallMax=").append(typeOverallMax); in toString()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataKind.java55 public int typeOverallMax; field in DataKind
88 this.typeOverallMax = -1; in DataKind()
123 sb.append(" typeOverallMax=").append(typeOverallMax); in toString()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java88 nameKind.typeOverallMax = 1; in MockContactsSource()
96 phoneKind.typeOverallMax = 5; in MockContactsSource()
112 emailKind.typeOverallMax = -1; in MockContactsSource()
119 imKind.typeOverallMax = 1; in MockContactsSource()
126 orgKind.typeOverallMax = 1; in MockContactsSource()