Lines Matching defs:dataList
73 final List<DataItem> dataList = new ArrayList<>(values.length);
77 dataList.add(data);
79 Collapser.collapseList(dataList, getContext());
80 return dataList;
103 final List<DataItem> dataList = createDataItemsAndCollapse(kind, mValues1, mValues2);
105 assertEquals(1, dataList.size());
106 assertEquals(true, dataList.get(0).isSuperPrimary());
107 assertEquals(true, dataList.get(0).isPrimary());
108 assertEquals(9, (int) dataList.get(0).getTimesUsed());
109 assertEquals(999L, (long) dataList.get(0).getLastTimeUsed());
110 assertEquals(1, dataList.get(0).getKindTypeColumn(kind));
131 final List<DataItem> dataList =
134 assertEquals(2, dataList.size());
135 assertEquals(email1, ((EmailDataItem) dataList.get(0)).getAddress());
136 assertEquals(email2, ((EmailDataItem) dataList.get(1)).getAddress());
138 ((EmailDataItem) dataList.get(0)).getKindTypeColumn(kind));
168 final List<DataItem> dataList =
171 assertEquals(3, dataList.size());
172 assertEquals(customLabel1, ((EventDataItem) dataList.get(0)).getLabel());
173 assertEquals(customLabel2, ((EventDataItem) dataList.get(1)).getLabel());
174 assertEquals(date2, ((EventDataItem) dataList.get(2)).getStartDate());
204 final List<DataItem> dataList =
207 assertEquals(3, dataList.size());
208 assertEquals(address1, ((ImDataItem) dataList.get(0)).getData());
209 assertEquals(address1, ((ImDataItem) dataList.get(1)).getData());
210 assertEquals(address2, ((ImDataItem) dataList.get(2)).getData());
212 assertEquals(customProtocol1, ((ImDataItem) dataList.get(0)).getCustomProtocol());
213 assertEquals(customProtocol2, ((ImDataItem) dataList.get(1)).getCustomProtocol());
214 assertEquals(Im.PROTOCOL_AIM, (int) ((ImDataItem) dataList.get(2)).getProtocol());
231 final List<DataItem> dataList =
234 assertEquals(2, dataList.size());
235 assertEquals(nickname1, ((NicknameDataItem) dataList.get(0)).getName());
236 assertEquals(nickname2, ((NicknameDataItem) dataList.get(1)).getName());
253 final List<DataItem> dataList =
256 assertEquals(2, dataList.size());
257 assertEquals(note1, ((NoteDataItem) dataList.get(0)).getNote());
258 assertEquals(note2, ((NoteDataItem) dataList.get(1)).getNote());
285 final List<DataItem> dataList =
288 assertEquals(3, dataList.size());
289 assertEquals(company1, ((OrganizationDataItem) dataList.get(0)).getCompany());
290 assertEquals(company1, ((OrganizationDataItem) dataList.get(1)).getCompany());
291 assertEquals(company2, ((OrganizationDataItem) dataList.get(2)).getCompany());
293 assertEquals(title1, ((OrganizationDataItem) dataList.get(0)).getTitle());
294 assertEquals(title2, ((OrganizationDataItem) dataList.get(1)).getTitle());
316 final List<DataItem> dataList =
318 assertEquals(2, dataList.size());
319 assertEquals(phone1, ((PhoneDataItem) dataList.get(0)).getNumber());
320 assertEquals(phone2, ((PhoneDataItem) dataList.get(1)).getNumber());
322 ((PhoneDataItem) dataList.get(0)).getKindTypeColumn(kind));
352 final List<DataItem> dataList =
355 assertEquals(3, dataList.size());
356 assertEquals(name1, ((RelationDataItem) dataList.get(0)).getName());
357 assertEquals(name2, ((RelationDataItem) dataList.get(2)).getName());
359 assertEquals(customRelation1, ((RelationDataItem) dataList.get(0)).getLabel());
360 assertEquals(customRelation2, ((RelationDataItem) dataList.get(1)).getLabel());
381 final List<DataItem> dataList =
384 assertEquals(2, dataList.size());
385 assertEquals(sip1, ((SipAddressDataItem) dataList.get(0)).getSipAddress());
386 dataList.get(1)).getSipAddress());
404 final List<DataItem> dataList =
407 assertEquals(2, dataList.size());
408 assertEquals(displayName1, ((StructuredNameDataItem) dataList.get(0)).getDisplayName());
409 assertEquals(displayName2, ((StructuredNameDataItem) dataList.get(1)).getDisplayName());
427 final List<DataItem> dataList =
430 assertEquals(2, dataList.size());
432 ((StructuredPostalDataItem) dataList.get(0)).getFormattedAddress());
434 ((StructuredPostalDataItem) dataList.get(1)).getFormattedAddress());
451 final List<DataItem> dataList =
454 assertEquals(2, dataList.size());
455 assertEquals(url1, ((WebsiteDataItem) dataList.get(0)).getUrl());
456 assertEquals(url2, ((WebsiteDataItem) dataList.get(1)).getUrl());