Home
last modified time | relevance | path

Searched refs:valuesDelta (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DCompactRawContactsEditorView.java80 public void onNameFieldChanged(long rawContactId, ValuesDelta valuesDelta); in onNameFieldChanged() argument
99 public NameEditorListener(ValuesDelta valuesDelta, long rawContactId, in NameEditorListener() argument
101 mValuesDelta = valuesDelta; in NameEditorListener()
397 for (ValuesDelta valuesDelta : rawContactDelta.getMimeEntries( in addPhotoView()
399 if (valuesDelta != null) { in addPhotoView()
403 mPhoto.setValues(dataKind, valuesDelta, rawContactDelta, in addPhotoView()
423 for (ValuesDelta valuesDelta in addPhotoView()
425 if (valuesDelta != null && valuesDelta.getId() != null in addPhotoView()
426 && valuesDelta.getId().equals(photoId)) { in addPhotoView()
428 mPhoto.setPhoto(valuesDelta); in addPhotoView()
[all …]
DCompactPhotoEditorView.java117 public void setValues(DataKind dataKind, ValuesDelta valuesDelta, in setValues() argument
120 mValuesDelta = valuesDelta; in setValues()
131 setId(viewIdGenerator.getId(rawContactDelta, dataKind, valuesDelta, /* viewIndex =*/ 0)); in setValues()
133 setPhoto(valuesDelta); in setValues()
143 public void setPhoto(ValuesDelta valuesDelta) { in setPhoto() argument
144 if (valuesDelta == null) { in setPhoto()
147 final byte[] bytes = valuesDelta.getAsByteArray(Photo.PHOTO); in setPhoto()
158 if (valuesDelta.getAfter() == null in setPhoto()
159 || valuesDelta.getAfter().get(Photo.PHOTO) == null) { in setPhoto()
164 final Long fileId = valuesDelta.getAsLong(Photo.PHOTO_FILE_ID); in setPhoto()
DStructuredNameEditorView.java214 final ValuesDelta valuesDelta = getValues(); in getDisplayName() local
217 … final Map<String, String> structuredNameMap = valuesToStructuredNameMap(valuesDelta); in getDisplayName()
224 final String displayName = valuesDelta.getDisplayName(); in getDisplayName()
230 return valuesDelta.getDisplayName(); in getDisplayName()
DContactEditorFragment.java331 final ValuesDelta valuesDelta = nameEditorView.getValues(); in unsetSuperPrimaryForAllNameEditors() local
332 if (valuesDelta != null) { in unsetSuperPrimaryForAllNameEditors()
333 valuesDelta.setSuperPrimary(false); in unsetSuperPrimaryForAllNameEditors()
DCompactContactEditorFragment.java376 public void onNameFieldChanged(long rawContactId, ValuesDelta valuesDelta) { in onNameFieldChanged() argument
382 acquireAggregationSuggestions(activity, rawContactId, valuesDelta); in onNameFieldChanged()
DContactEditorBaseFragment.java1510 long rawContactId, ValuesDelta valuesDelta) { in acquireAggregationSuggestions() argument
1528 mAggregationSuggestionEngine.onNameChange(valuesDelta); in acquireAggregationSuggestions()
/packages/apps/Contacts/src/com/android/contacts/activities/
DConfirmAddDetailActivity.java698 for (ValuesDelta valuesDelta : deltas) { in bindEditor()
700 if (!valuesDelta.isVisible()) continue; in bindEditor()
701 if (valuesDelta.isInsert()) { in bindEditor()
702 inflateEditorView(kind, valuesDelta, mRawContactDelta); in bindEditor()
716 …private void inflateEditorView(DataKind dataKind, ValuesDelta valuesDelta, RawContactDelta state) { in inflateEditorView() argument
725 editor.setValues(dataKind, valuesDelta, state, false, new ViewIdGenerator()); in inflateEditorView()