/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 202 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypes() 203 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypes() 204 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testValidTypes() 210 RawContactModifier.insertChild(state, kindPhone, typeHome); in testValidTypes() 211 RawContactModifier.insertChild(state, kindPhone, typeWork); in testValidTypes() 214 validTypes = RawContactModifier.getValidTypes(state, kindPhone, null, true, null, true); in testValidTypes() 220 RawContactModifier.insertChild(state, kindPhone, typeHome); in testValidTypes() 223 validTypes = RawContactModifier.getValidTypes(state, kindPhone, null, true, null, true); in testValidTypes() 229 RawContactModifier.insertChild(state, kindPhone, typeHome); in testValidTypes() 230 RawContactModifier.insertChild(state, kindPhone, typeHome); in testValidTypes() [all …]
|
D | RawContactDeltaListTests.java | 581 RawContactModifier.ensureKindExists(bobContact, source, Phone.CONTENT_ITEM_TYPE); in testMergeAfterEnsureAndTrim() 592 RawContactModifier.trimEmpty(bobContact, source); in testMergeAfterEnsureAndTrim()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 77 public class RawContactModifier { class 78 private static final String TAG = RawContactModifier.class.getSimpleName(); 98 if (RawContactModifier.hasEditTypes(kind)) { in hasValidTypes() 436 if (RawContactModifier.isEmpty(entry, kind) && !isGooglePhoto) { in trimEmpty() 558 if (hasOrg && RawContactModifier.canInsert(state, kindOrg)) { in parseExtras() 559 final ValuesDelta child = RawContactModifier.insertChild(state, kindOrg); in parseExtras() 575 if (hasNotes && RawContactModifier.canInsert(state, kindNotes)) { in parseExtras() 576 final ValuesDelta child = RawContactModifier.insertChild(state, kindNotes); in parseExtras() 594 RawContactModifier.ensureKindExists(state, accountType, StructuredName.CONTENT_ITEM_TYPE); in parseStructuredNameExtra() 907 final boolean canInsert = RawContactModifier.canInsert(state, kind); in parseExtras() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | LabeledEditorView.java | 50 import com.android.contacts.model.RawContactModifier; 420 final boolean hasTypes = RawContactModifier.hasEditTypes(kind); in setValues() 426 mType = RawContactModifier.getCurrentType(entry, kind); in setValues() 460 RawContactModifier.getValidTypes(mState, mKind, null, true, null, true); in createCustomDialog() 602 addAll(RawContactModifier.getValidTypes(mState, mKind, mType, true, null, false)); in EditTypeAdapter()
|
D | ContactEditorFragment.java | 80 import com.android.contacts.model.RawContactModifier; 975 return RawContactModifier.hasChanges(mState, accountTypes, excludedMimeTypes); in hasPendingRawContactChanges() 1167 RawContactModifier.parseExtras(mContext, accountType, result, mIntentExtras); in createNewRawContactDelta() 1169 RawContactModifier.migrateStateForNewContact( in createNewRawContactDelta() 1175 RawContactModifier.ensureKindExists(result, accountType, StructuredName.CONTENT_ITEM_TYPE); in createNewRawContactDelta() 1176 RawContactModifier.ensureKindExists(result, accountType, Phone.CONTENT_ITEM_TYPE); in createNewRawContactDelta() 1177 RawContactModifier.ensureKindExists(result, accountType, Email.CONTENT_ITEM_TYPE); in createNewRawContactDelta() 1178 RawContactModifier.ensureKindExists(result, accountType, Organization.CONTENT_ITEM_TYPE); in createNewRawContactDelta() 1179 RawContactModifier.ensureKindExists(result, accountType, Event.CONTENT_ITEM_TYPE); in createNewRawContactDelta() 1180 RawContactModifier.ensureKindExists(result, accountType, in createNewRawContactDelta()
|
D | RawContactEditorView.java | 59 import com.android.contacts.model.RawContactModifier; 493 RawContactModifier.ensureKindExists( in setState() 497 RawContactModifier.ensureKindExists( in setState() 582 RawContactModifier.parseExtras(getContext(), type, mCurrentRawContactDelta, mIntentExtras); in applyIntentExtras() 653 RawContactModifier.ensureKindExists( in addReadOnlyRawContactEditorViews()
|
D | KindSectionView.java | 35 import com.android.contacts.model.RawContactModifier; 544 || !RawContactModifier.canInsert(rawContactDelta, dataKind) in updateEmptyNonNameEditors() 555 final ValuesDelta values = RawContactModifier.insertChild(rawContactDelta, dataKind); in updateEmptyNonNameEditors()
|
D | GroupMembershipView.java | 44 import com.android.contacts.model.RawContactModifier; 437 ValuesDelta entry = RawContactModifier.insertChild(mState, mKind); in onItemClick()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataItem.java | 39 import com.android.contacts.model.RawContactModifier; 198 RawContactModifier.getTypePrecedence(thisKind, getKindTypeColumn(thisKind)) in collapseWith() 200 RawContactModifier.getTypePrecedence(thatKind, that.getKindTypeColumn(thatKind))) { in collapseWith()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | InvisibleContactUtil.java | 15 import com.android.contacts.model.RawContactModifier; 101 final ValuesDelta entry = RawContactModifier.insertChild(rawContactEntityDelta, in markAddToDefaultGroup()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | PhotoSelectionHandler.java | 44 import com.android.contacts.model.RawContactModifier; 227 final ValuesDelta child = RawContactModifier.ensureKindExists( in getDeltaForAttachingPhotoToContact()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 50 import com.android.contacts.model.RawContactModifier; 331 RawContactModifier.ensureKindExists(raw, account, Photo.CONTENT_ITEM_TYPE); in saveToContact()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | TypePrecedence.java | 26 import com.android.contacts.model.RawContactModifier;
|
D | ContactSaveService.java | 65 import com.android.contacts.model.RawContactModifier; 502 RawContactModifier.trimEmpty(state, accountTypes); in saveContact()
|
/packages/apps/Contacts/ |
D | proguard.flags | 80 -keep class com.android.contacts.model.RawContactModifier { *; }
|