HomeSort by relevance Sort by last modified time
    Searched refs:KindSectionData (Results 1 - 4 of 4) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/editor/
KindSectionDataList.java 32 * Container for multiple {@link KindSectionData} objects. Provides convenience methods for
33 * interrogating the collection for a certain KindSectionData item (e.g. the first writable, or
36 public class KindSectionDataList extends ArrayList<KindSectionData> {
56 * Returns the primary KindSectionData and ValuesDelta that should be written for this List.
58 public Pair<KindSectionData,ValuesDelta> getEntryToWrite(long id,
66 for (KindSectionData kindSectionData : this) {
67 if (kindSectionData.getAccountType().areContactsWritable()) {
68 final ValuesDelta valuesDelta = kindSectionData.getValuesDeltaById(id);
71 return new Pair<>(kindSectionData, valuesDelta)
    [all...]
KindSectionData.java 33 public final class KindSectionData {
39 public KindSectionData(AccountType accountType, DataKind dataKind,
CompactRawContactsEditorView.java 264 private static final class EditorComparator implements Comparator<KindSectionData> {
273 public int compare(KindSectionData kindSectionData1, KindSectionData kindSectionData2) {
358 private Pair<KindSectionData, ValuesDelta> mPrimaryNameKindSectionData;
491 final List<KindSectionData> kindSectionDataList =
493 for (KindSectionData kindSectionData : kindSectionDataList) {
494 for (ValuesDelta valuesDelta : kindSectionData.getNonEmptyValuesDeltas()) {
529 final List<KindSectionData> kindSectionDataList =
532 final KindSectionData kindSectionData = kindSectionDataList.get(i)
    [all...]
CompactKindSectionView.java 281 * Binds views for the given {@link KindSectionData} list.
317 for (KindSectionData kindSectionData : mKindSectionDataList) {
319 addNameEditorViews(kindSectionData.getAccountType(),
320 primaryValuesDelta, kindSectionData.getRawContactDelta());
322 addGroupEditorView(kindSectionData.getRawContactDelta(),
323 kindSectionData.getDataKind());
333 for (ValuesDelta valuesDelta : kindSectionData.getVisibleValuesDeltas()) {
334 addNonNameEditorView(kindSectionData.getRawContactDelta(),
335 kindSectionData.getDataKind(), valuesDelta, editorListener)
    [all...]

Completed in 206 milliseconds