Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java94 final boolean validOverall = (kind.typeOverallMax == -1) in canInsert()
95 || (visibleCount < kind.typeOverallMax); in canInsert()
186 final boolean validOverall = (kind.typeOverallMax == -1 ? true in getValidTypes()
187 : overallCount < kind.typeOverallMax); in getValidTypes()
725 if ((kind.typeOverallMax != 1) || GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { in parseValues()
741 if (kind.typeOverallMax != -1 && count >= kind.typeOverallMax) { in parseValues()
742 Log.e(TAG, "Mimetype allows at most " + kind.typeOverallMax in parseValues()
1029 final int typeOverallMax = kind.typeOverallMax; in ensureEntryMaxSize() local
1030 if (typeOverallMax >= 0 && (mimeEntries.size() > typeOverallMax)) { in ensureEntryMaxSize()
1031 ArrayList<ValuesDelta> newMimeEntries = new ArrayList<ValuesDelta>(typeOverallMax); in ensureEntryMaxSize()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DExchangeAccountType.java87 kind.typeOverallMax = 1; in addDataKindStructuredName()
116 kind.typeOverallMax = 1; in addDataKindDisplayName()
149 kind.typeOverallMax = 1; in addDataKindPhoneticName()
164 kind.typeOverallMax = 1; in addDataKindNickname()
207 kind.typeOverallMax = 3; in addDataKindEmail()
260 kind.typeOverallMax = 3; in addDataKindIm()
275 kind.typeOverallMax = 1; in addDataKindOrganization()
290 kind.typeOverallMax = 1; in addDataKindPhoto()
314 kind.typeOverallMax = 1; in addDataKindEvent()
332 kind.typeOverallMax = 1; in addDataKindWebsite()
DBaseAccountType.java154 kind.typeOverallMax = 1; in addDataKindStructuredName()
184 kind.typeOverallMax = 1; in addDataKindDisplayName()
225 kind.typeOverallMax = 1; in addDataKindPhoneticName()
243 kind.typeOverallMax = 1; in addDataKindNickname()
374 kind.typeOverallMax = 1; in addDataKindOrganization()
387 kind.typeOverallMax = 1; in addDataKindPhoto()
396 kind.typeOverallMax = 1; in addDataKindNote()
425 kind.typeOverallMax = 1; in addDataKindSipAddress()
439 kind.typeOverallMax = 1; in addDataKindGroupMembership()
776 kind.typeOverallMax = getAttr(attrs, Attr.MAX_OCCURRENCE, -1); in newDataKind()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/experimental/LoaderApp/src/com/android/loaderapp/model/
DExchangeSource.java71 kind.typeOverallMax = 1; in inflateStructuredName()
160 kind.typeOverallMax = 3; in inflateEmail()
216 kind.typeOverallMax = 3; in inflateIm()
272 kind.typeOverallMax = 1; in inflatePhoto()
DContactsSource.java217 public int typeOverallMax; field in ContactsSource.DataKind
234 this.typeOverallMax = -1; in DataKind()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java95 nameKind.typeOverallMax = 1; in MockContactsSource()
103 phoneKind.typeOverallMax = 5; in MockContactsSource()
119 emailKind.typeOverallMax = -1; in MockContactsSource()
126 imKind.typeOverallMax = 1; in MockContactsSource()
133 orgKind.typeOverallMax = 1; in MockContactsSource()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java230 if (!mReadOnly && (mKind.typeOverallMax != 1)) { in updateAddFooterVisible()
348 if (mKind.typeOverallMax == 1) { in addItem()
DRawContactEditorView.java469 if ((kind.typeOverallMax == 1) && sectionView.getEditorCount() != 0) { in getSectionViewsWithoutFields()