Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionData.java59 for (ValuesDelta valuesDelta : getValuesDeltas()) { in getVisibleValuesDeltas()
61 if (valuesDelta.isVisible() && !valuesDelta.isDelete()) { in getVisibleValuesDeltas()
62 valuesDeltas.add(valuesDelta); in getVisibleValuesDeltas()
71 for (ValuesDelta valuesDelta : getValuesDeltas()) { in getNonEmptyValuesDeltas()
72 if (!isEmpty(valuesDelta)) { in getNonEmptyValuesDeltas()
73 valuesDeltas.add(valuesDelta); in getNonEmptyValuesDeltas()
81 for (ValuesDelta valuesDelta : getValuesDeltas()) { in getSuperPrimaryValuesDelta()
82 if (valuesDelta.isSuperPrimary()) return valuesDelta; in getSuperPrimaryValuesDelta()
89 for (ValuesDelta valuesDelta : getValuesDeltas()) { in getValuesDeltaById()
90 if (valuesDelta.getId().equals(id)) return valuesDelta; in getValuesDeltaById()
[all …]
DEditorUiUtils.java230 public static Long getPhotoFileId(ValuesDelta valuesDelta) { in getPhotoFileId() argument
231 if (valuesDelta == null) return null; in getPhotoFileId()
232 if (valuesDelta.getAfter() == null || valuesDelta.getAfter().get(Photo.PHOTO) == null) { in getPhotoFileId()
233 return valuesDelta.getAsLong(Photo.PHOTO_FILE_ID); in getPhotoFileId()
255 public static Bitmap getPhotoBitmap(ValuesDelta valuesDelta) { in getPhotoBitmap() argument
256 if (valuesDelta == null) return null; in getPhotoBitmap()
257 final byte[] bytes = valuesDelta.getAsByteArray(Photo.PHOTO); in getPhotoBitmap()
DPhotoEditorView.java124 public void setPhoto(ValuesDelta valuesDelta) { in setPhoto() argument
126 final Long photoFileId = EditorUiUtils.getPhotoFileId(valuesDelta); in setPhoto()
136 final Bitmap bitmap = EditorUiUtils.getPhotoBitmap(valuesDelta); in setPhoto()
DKindSectionView.java63 public StructuredNameEditorListener(ValuesDelta valuesDelta, long rawContactId, in StructuredNameEditorListener() argument
65 mValuesDelta = valuesDelta; in StructuredNameEditorListener()
410 ValuesDelta valuesDelta, Editor.EditorListener editorListener) { in addNonNameEditorView() argument
419 editor.setValues(dataKind, valuesDelta, rawContactDelta, !dataKind.editable, in addNonNameEditorView()
DRawContactEditorView.java98 public void onNameFieldChanged(long rawContactId, ValuesDelta valuesDelta); in onNameFieldChanged() argument
407 final ValuesDelta valuesDelta = mCurrentRawContactDelta in setPrimaryPhoto() local
409 if (valuesDelta == null) { in setPrimaryPhoto()
413 valuesDelta.setFromTemplate(false); in setPrimaryPhoto()
415 valuesDelta.setSuperPrimary(true); in setPrimaryPhoto()
DContactEditorFragment.java1570 long rawContactId, ValuesDelta valuesDelta) { in acquireAggregationSuggestions() argument
1583 mAggregationSuggestionEngine.onNameChange(valuesDelta); in acquireAggregationSuggestions()
1744 public void onNameFieldChanged(long rawContactId, ValuesDelta valuesDelta) { in onNameFieldChanged() argument
1749 acquireAggregationSuggestions(activity, rawContactId, valuesDelta); in onNameFieldChanged()