Home
last modified time | relevance | path

Searched refs:StreamItemEntry (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/detail/
DStreamItemAdapterTest.java19 import com.android.contacts.util.StreamItemEntry;
85 private ArrayList<StreamItemEntry> createStreamItemList(int count) { in createStreamItemList()
86 ArrayList<StreamItemEntry> list = Lists.newArrayList(); in createStreamItemList()
120 private void assertStreamItemViewHasTag(StreamItemEntry streamItem) { in assertStreamItemViewHasTag()
123 assertTrue("should be a StreamItemEntry", tag instanceof StreamItemEntry); in assertStreamItemViewHasTag()
124 StreamItemEntry streamItemTag = (StreamItemEntry) tag; in assertStreamItemViewHasTag()
DContactDetailDisplayUtilsTest.java20 import com.android.contacts.util.StreamItemEntry;
54 StreamItemEntry streamItem = getTestBuilder().setComment("1 comment").build(getContext()); in testAddStreamItemText_IncludesComments()
60 StreamItemEntry streamItem = getTestBuilder().setComment("1 <b>comment</b>") in testAddStreamItemText_IncludesHtmlComments()
67 StreamItemEntry streamItem = getTestBuilder().setComment(null).build(getContext()); in testAddStreamItemText_NoComments()
110 private View addStreamItemText(StreamItemEntry streamItem) { in addStreamItemText()
/packages/apps/Contacts/src/com/android/contacts/util/
DStreamItemEntry.java36 public class StreamItemEntry implements Comparable<StreamItemEntry> { class
60 public static StreamItemEntry createForTest(long id, String text, String comments, in createForTest()
63 return new StreamItemEntry(id, text, comments, timestamp, accountType, accountName, dataSet, in createForTest()
67 private StreamItemEntry(long id, String text, String comments, long timestamp, in StreamItemEntry() method in StreamItemEntry
83 public StreamItemEntry(Cursor cursor) { in StreamItemEntry() method in StreamItemEntry
104 public int compareTo(StreamItemEntry other) { in compareTo()
DContactBadgeUtil.java41 public static CharSequence getSocialDate(StreamItemEntry streamItem, Context context) { in getSocialDate()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DStreamItemEntryBuilder.java19 import com.android.contacts.util.StreamItemEntry;
65 public StreamItemEntry build(Context context) { in build()
66 StreamItemEntry ret = StreamItemEntry.createForTest(mId, mText, mComment, mTimestamp, in build()
/packages/apps/Contacts/src/com/android/contacts/detail/
DStreamItemAdapter.java22 import com.android.contacts.util.StreamItemEntry;
47 private List<StreamItemEntry> mStreamItems;
101 final StreamItemEntry streamItem = (StreamItemEntry) getItem(position); in getView()
146 public void setStreamItems(List<StreamItemEntry> streamItems) { in setStreamItems()
DContactDetailUpdatesFragment.java25 import com.android.contacts.util.StreamItemEntry;
60 StreamItemEntry streamItemEntry = (StreamItemEntry) view.getTag();
93 private AccountType getAccountTypeForStreamItemEntry(StreamItemEntry streamItemEntry) { in getAccountTypeForStreamItemEntry()
DContactDetailDisplayUtils.java27 import com.android.contacts.util.StreamItemEntry;
73 public final StreamItemEntry streamItem;
76 public StreamPhotoTag(StreamItemEntry streamItem, StreamItemPhotoEntry streamItemPhoto) { in StreamPhotoTag()
237 StreamItemEntry firstEntry = contactData.getStreamItems().get(0); in setSocialSnippet()
260 View convertView, StreamItemEntry streamItem, View.OnClickListener photoClickListener) { in createStreamItemView()
337 final StreamItemEntry streamItem, final StreamItemPhotoEntry streamItemPhoto, in loadPhoto()
360 static View addStreamItemText(Context context, StreamItemEntry streamItem, View rootView) { in addStreamItemText()
/packages/apps/Contacts/src/com/android/contacts/
DContactLoader.java25 import com.android.contacts.util.StreamItemEntry;
137 private ArrayList<StreamItemEntry> mStreamItems;
408 public ArrayList<StreamItemEntry> getStreamItems() { in getStreamItems()
1141 LongSparseArray<StreamItemEntry> streamItemsById = in loadStreamItems()
1142 new LongSparseArray<StreamItemEntry>(); in loadStreamItems()
1143 ArrayList<StreamItemEntry> streamItems = new ArrayList<StreamItemEntry>(); in loadStreamItems()
1146 StreamItemEntry streamItem = new StreamItemEntry(cursor); in loadStreamItems()
1156 for (StreamItemEntry streamItem : streamItems) { in loadStreamItems()
1170 for (StreamItemEntry entry : streamItems) { in loadStreamItems()
1205 StreamItemEntry streamItem = streamItemsById.get(streamItemId); in loadStreamItems()
/packages/apps/Contacts/src/com/android/contacts/socialwidget/
DSocialWidgetProvider.java27 import com.android.contacts.util.StreamItemEntry;
175 List<StreamItemEntry> streamItems, PendingIntent defaultIntent) { in setDisplayNameAndSnippet()
206 StreamItemEntry streamItem = streamItems.get(0); in setDisplayNameAndSnippet()