HomeSort by relevance Sort by last modified time
    Searched defs:RawContactModifier (Results 1 - 7 of 7) sorted by null

  /packages/apps/Contacts/tests/src/com/android/contacts/model/
RawContactModifierTests.java 51 * Tests for {@link RawContactModifier} to verify that {@link AccountType}
196 * {@link RawContactModifier#getValidTypes(RawContactDelta, DataKind, EditType)}
202 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME);
203 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK);
204 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER);
210 RawContactModifier.insertChild(state, kindPhone, typeHome);
211 RawContactModifier.insertChild(state, kindPhone, typeWork);
214 validTypes = RawContactModifier.getValidTypes(state, kindPhone, null, true, null, true);
220 RawContactModifier.insertChild(state, kindPhone, typeHome);
223 validTypes = RawContactModifier.getValidTypes(state, kindPhone, null, true, null, true)
    [all...]
RawContactDeltaListTests.java 581 RawContactModifier.ensureKindExists(bobContact, source, Phone.CONTENT_ITEM_TYPE);
592 RawContactModifier.trimEmpty(bobContact, source);
  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactModifier.java 77 public class RawContactModifier {
78 private static final String TAG = RawContactModifier.class.getSimpleName();
98 if (RawContactModifier.hasEditTypes(kind)) {
436 if (RawContactModifier.isEmpty(entry, kind) && !isGooglePhoto) {
558 if (hasOrg && RawContactModifier.canInsert(state, kindOrg)) {
559 final ValuesDelta child = RawContactModifier.insertChild(state, kindOrg);
575 if (hasNotes && RawContactModifier.canInsert(state, kindNotes)) {
576 final ValuesDelta child = RawContactModifier.insertChild(state, kindNotes);
594 RawContactModifier.ensureKindExists(state, accountType, StructuredName.CONTENT_ITEM_TYPE);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorFragment.java 78 import com.android.contacts.model.RawContactModifier;
    [all...]
LabeledEditorView.java 50 import com.android.contacts.model.RawContactModifier;
420 final boolean hasTypes = RawContactModifier.hasEditTypes(kind);
426 mType = RawContactModifier.getCurrentType(entry, kind);
460 RawContactModifier.getValidTypes(mState, mKind, null, true, null, true);
602 addAll(RawContactModifier.getValidTypes(mState, mKind, mType, true, null, false));
RawContactEditorView.java 59 import com.android.contacts.model.RawContactModifier;
493 RawContactModifier.ensureKindExists(
497 RawContactModifier.ensureKindExists(
582 RawContactModifier.parseExtras(getContext(), type, mCurrentRawContactDelta, mIntentExtras);
653 RawContactModifier.ensureKindExists(
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 65 import com.android.contacts.model.RawContactModifier;
502 RawContactModifier.trimEmpty(state, accountTypes);
    [all...]

Completed in 298 milliseconds