OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RawContactModifier
(Results
1 - 9
of
9
) sorted by null
/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/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/editor/
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
...]
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);
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));
/packages/apps/Contacts/src/com/android/contacts/activities/
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/Contacts/src/com/android/contacts/
ContactSaveService.java
54
import com.android.contacts.common.model.
RawContactModifier
;
346
RawContactModifier
.trimEmpty(state, accountTypes);
[
all
...]
Completed in 631 milliseconds