/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
RawContactModifierTests.java | 46 import com.android.contacts.common.model.RawContactModifier; 61 * Tests for {@link RawContactModifier} to verify that {@link AccountType} 203 * {@link RawContactModifier#getValidTypes(RawContactDelta, DataKind, EditType)} 209 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); 210 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); 211 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); 217 RawContactModifier.insertChild(state, kindPhone, typeHome); 218 RawContactModifier.insertChild(state, kindPhone, typeWork); 221 validTypes = RawContactModifier.getValidTypes(state, kindPhone, null); 227 RawContactModifier.insertChild(state, kindPhone, typeHome) [all...] |
RawContactDeltaListTests.java | 42 import com.android.contacts.common.model.RawContactModifier; 575 RawContactModifier.ensureKindExists(bobContact, source, Phone.CONTENT_ITEM_TYPE); 586 RawContactModifier.trimEmpty(bobContact, source);
|
/packages/apps/Contacts/src/com/android/contacts/ |
TypePrecedence.java | 26 import com.android.contacts.common.model.RawContactModifier; 32 * @deprecated use {@link RawContactModifier#getTypePrecedence} instead, since this
|
ContactSaveService.java | 54 import com.android.contacts.common.model.RawContactModifier; 346 RawContactModifier.trimEmpty(state, accountTypes); [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
KindSectionView.java | 31 import com.android.contacts.common.model.RawContactModifier; 235 if (!hasEmptyEditor() && RawContactModifier.canInsert(mState, mKind)) { 362 values = RawContactModifier.insertChild(mState, mKind);
|
BaseRawContactEditorView.java | 33 import com.android.contacts.common.model.RawContactModifier; 44 * {@link RawContactModifier} to ensure that {@link AccountType} are enforced.
|
LabeledEditorView.java | 51 import com.android.contacts.common.model.RawContactModifier; 361 final boolean hasTypes = RawContactModifier.hasEditTypes(kind); 365 mType = RawContactModifier.getCurrentType(entry, kind); 400 RawContactModifier.getValidTypes(mState, mKind, null); 536 addAll(RawContactModifier.getValidTypes(mState, mKind, mType));
|
RawContactEditorView.java | 48 import com.android.contacts.common.model.RawContactModifier; 62 * {@link RawContactModifier} to ensure that {@link AccountType} are enforced. 217 RawContactModifier.ensureKindExists(state, type, StructuredName.CONTENT_ITEM_TYPE); 218 RawContactModifier.ensureKindExists(state, type, Organization.CONTENT_ITEM_TYPE); 254 RawContactModifier.ensureKindExists(state, type, Photo.CONTENT_ITEM_TYPE); 393 ValuesDelta entry = RawContactModifier.insertChild(mState, mGroupMembershipKind);
|
RawContactReadOnlyEditorView.java | 42 import com.android.contacts.common.model.RawContactModifier; 124 RawContactModifier.ensureKindExists(state, type, StructuredName.CONTENT_ITEM_TYPE); 171 RawContactModifier.ensureKindExists(state, type, Photo.CONTENT_ITEM_TYPE);
|
ContactEditorFragment.java | 86 import com.android.contacts.common.model.RawContactModifier; 613 RawContactModifier.parseExtras(mContext, type, state, extras); 737 RawContactModifier.parseExtras(mContext, newAccountType, insert, mIntentExtras); 739 RawContactModifier.migrateStateForNewContact(mContext, oldState, insert, 745 RawContactModifier.ensureKindExists(insert, newAccountType, Phone.CONTENT_ITEM_TYPE); 746 RawContactModifier.ensureKindExists(insert, newAccountType, Email.CONTENT_ITEM_TYPE); 747 RawContactModifier.ensureKindExists(insert, newAccountType, Organization.CONTENT_ITEM_TYPE); 748 RawContactModifier.ensureKindExists(insert, newAccountType, Event.CONTENT_ITEM_TYPE); 749 RawContactModifier.ensureKindExists(insert, newAccountType, [all...] |
GroupMembershipView.java | 45 import com.android.contacts.common.model.RawContactModifier; 372 ValuesDelta entry = RawContactModifier.insertChild(mState, mKind);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
AttachPhotoActivity.java | 40 import com.android.contacts.common.model.RawContactModifier; 244 RawContactModifier.ensureKindExists(raw, account, Photo.CONTENT_ITEM_TYPE);
|
ConfirmAddDetailActivity.java | 72 import com.android.contacts.common.model.RawContactModifier; 614 RawContactModifier.parseExtras(this, mEditableAccountType, mRawContactDelta, 653 final ValuesDelta newName = RawContactModifier.ensureKindExists(entityDelta, [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
RawContactModifier.java | 79 public class RawContactModifier { 80 private static final String TAG = RawContactModifier.class.getSimpleName(); 100 if (RawContactModifier.hasEditTypes(kind)) { 450 if (RawContactModifier.isEmpty(entry, kind) && !isGooglePhoto) { 570 if (hasOrg && RawContactModifier.canInsert(state, kindOrg)) { 571 final ValuesDelta child = RawContactModifier.insertChild(state, kindOrg); 587 if (hasNotes && RawContactModifier.canInsert(state, kindNotes)) { 588 final ValuesDelta child = RawContactModifier.insertChild(state, kindNotes); 606 RawContactModifier.ensureKindExists(state, accountType, StructuredName.CONTENT_ITEM_TYPE); [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
PhotoSelectionHandler.java | 40 import com.android.contacts.common.model.RawContactModifier; 221 final ValuesDelta child = RawContactModifier.ensureKindExists(
|
ContactDetailFragment.java | 100 import com.android.contacts.common.model.RawContactModifier; [all...] |